Skip to main content

Module encode

Module encode 

Source
Expand description

Results of /v1/encode, /v1/score and /v1/extract.

Structs§

Classification
A label with a confidence.
DetectedObject
A detected object with its bounding box.
EncodeResult
One encoded item.
Entity
A span or region the model recognised.
ExtractItemError
A per-item extraction failure.
ExtractResult
One extracted item. Which fields are populated depends on the model.
Relation
A directed relation between two entities.
ScoreEntry
One scored candidate.
ScoreResult
The result of scoring one query against a candidate set.
ScoreUsage
Units consumed by a score call.
SparseVector
A sparse embedding: term ids paired with their weights.

Enums§

Multivector
A token-level embedding matrix, in the precision the model produced.