EmbeddingClientOptions

org.llm4s.llmconnect.EmbeddingClientOptions
See theEmbeddingClientOptions companion object
@Stable
final case class EmbeddingClientOptions

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's network settings do not apply to it.

Attributes

Companion
object
Source
EmbeddingClientOptions.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Sends the provider's HTTP requests through httpClient, which the caller keeps owning and closes.

Sends the provider's HTTP requests through httpClient, which the caller keeps owning and closes.

Attributes

Source
EmbeddingClientOptions.scala

Sets the HTTP client to send requests through; None lets the provider build its own.

Sets the HTTP client to send requests through; None lets the provider build its own.

Attributes

Source
EmbeddingClientOptions.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product