org.llm4s.llmconnect.EmbeddingClientOptions
See theEmbeddingClientOptions companion object
@Stable
Construction options for EmbeddingClient.from: what LlmClientOptions is to a chat client.
Build one with EmbeddingClientOptions.apply (or start from EmbeddingClientOptions.default) and change it with the with* setters; the constructor and copy are private, so a new option never breaks callers.
Value parameters
- httpClient
-
the HTTP client the embedding provider sends its requests through instead of building its own;
None(the default) builds one from the config's proxy and TLS settings. The caller owns a supplied client: the provider does not close it, and the config'snetworksettings do not apply to it.
Attributes
- Companion
- object
- Source
- EmbeddingClientOptions.scala
- Graph
-
- Supertypes
Members list
In this article
