Skip to main content
Section ID: DOC-API-MODEL-schema-q8ublbqo12#overview

SparseValues

Optional sparse component for hybrid search

Type-reference view: API Schema 6vhb5mpe0m. Request and response views describe this type; they do not declare an endpoint.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-q8ublbqo12#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-q8ublbqo12#fields

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

Section ID: DOC-API-MODEL-schema-q8ublbqo12#request

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-q8ublbqo12#request-field-indicesindicesArray of string (int64)OptionalPositions of the nonzero components in the sparse vector.
Section ID: DOC-API-MODEL-schema-q8ublbqo12#request-field-valuesvaluesArray of number (double) or string (NaN, Infinity, -Infinity)OptionalNumeric components of the sparse vector.

In responses​

Section ID: DOC-API-MODEL-schema-q8ublbqo12#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-q8ublbqo12#field-indicesSection ID: DOC-API-MODEL-schema-q8ublbqo12#response-field-indicesindicesArray of string (int64)OptionalPositions of the nonzero components in the sparse vector.
Section ID: DOC-API-MODEL-schema-q8ublbqo12#field-valuesSection ID: DOC-API-MODEL-schema-q8ublbqo12#response-field-valuesvaluesArray of number (double) or string (NaN, Infinity, -Infinity)OptionalNumeric components of the sparse vector.

Where used​

Section ID: DOC-API-MODEL-schema-q8ublbqo12#where-used

ReferenceRelationship
VectorAPI JSON uses JSON field names (camelCase).
Models containing this value
ModelRelationship
VectorNested in model
VectorNested in model

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-q8ublbqo12