Class OpenAiEmbeddingClient
java.lang.Object
ch.tocco.nice2.optional.aiassistant.impl.function.manual.OpenAiEmbeddingClient
- All Implemented Interfaces:
EmbeddingClient
EmbeddingClient backed by an OpenAI-compatible /embeddings endpoint, configured
via ManualParameterProvider. The model and dimension must match what the
docs-retrieval-service indexed the manual with.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenAiEmbeddingClient
-
-
Method Details
-
embed
- Specified by:
embedin interfaceEmbeddingClient- Returns:
- the embedding vector for
text
-