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