Sycophant.EmbeddingPipeline
(sycophant v0.4.2)
Copy Markdown
Orchestrates the embedding request lifecycle.
Follows the same pattern as Sycophant.Pipeline but for embedding
models: resolves the model, validates parameters, resolves credentials,
encodes via the embedding wire protocol adapter, transports, and decodes
the response.
Summary
Functions
Executes a full embedding request pipeline: resolves model, validates params, encodes, transports, and decodes.
Functions
@spec call( Sycophant.EmbeddingRequest.t(), keyword() ) :: {:ok, Sycophant.EmbeddingResponse.t()} | {:error, Splode.Error.t()}
Executes a full embedding request pipeline: resolves model, validates params, encodes, transports, and decodes.