Interface ModelInfo

Represents the model configuration including model type, supported parameters, and other model details.

Export

ModelInfo

Hierarchy

  • ModelInfo

Properties

defaultDimension?: number

The default embedding model dimension (applies to dense embedding models only).

Memberof

ModelInfo

maxBatchSize?: number

The maximum batch size (number of sequences) supported by the model.

Memberof

ModelInfo

maxSequenceLength?: number

The maximum tokens per sequence supported by the model.

Memberof

ModelInfo

modality?: string

The modality of the model (e.g. 'text').

Memberof

ModelInfo

model: string

The name of the model.

Memberof

ModelInfo

providerName?: string

The name of the provider of the model.

Memberof

ModelInfo

shortDescription: string

A summary of the model.

Memberof

ModelInfo

supportedDimensions?: number[]

The list of supported dimensions for the model (applies to dense embedding models only).

Memberof

ModelInfo

supportedMetrics?: ModelInfoMetric[]

The distance metrics supported by the model for similarity search.

Memberof

ModelInfo

supportedParameters: ModelInfoSupportedParameter[]

Memberof

ModelInfo

type: string

The type of model (e.g. 'embed' or 'rerank').

Memberof

ModelInfo

vectorType?: string

Whether the embedding model produces 'dense' or 'sparse' embeddings.

Memberof

ModelInfo