Result - Go SDK

Result type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

A single rerank result

Fields

FieldTypeRequiredDescriptionExample
Documentoperations.DocumentResponse✔️The document object echoing the original input (text and/or image)
Indexint64✔️Index of the document in the original input list0
RelevanceScorefloat64✔️Relevance score of the document to the query0.98