OpenAIEmbeddingModelConnector class
Constructors
- OpenAIEmbeddingModelConnector({required String apiKey})
Properties
Methods
-
embedText(
OpenAIModel model, String text, {Map< String, dynamic> ? extraOptions}) → Future<List< double> > -
embedTexts(
OpenAIModel model, List< String> texts, {Map<String, dynamic> ? extraOptions}) → Future<List< List< >double> > -
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