Embeddings class abstract

Interface for embedding models.

Implementers

Constructors

Embeddings()
Interface for embedding models.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

embedDocuments(List<Document> documents) Future<List<List<double>>>
Embed search docs.
embedQuery(String query) Future<List<double>>
Embed query text.
listModels() Future<List<ModelInfo>>
Returns a list of available embedding models from this provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited