LlmapiEmbeddingRequest
LlmapiEmbeddingRequest =
object
Defined in: src/client/types.gen.ts:1948
Properties
conversation_id?
optionalconversation_id:string
Defined in: src/client/types.gen.ts:1953
ConversationID groups requests belonging to the same conversation for observability. Pass-through only — not forwarded to the LLM provider.
dimensions?
optionaldimensions:number
Defined in: src/client/types.gen.ts:1957
Dimensions is the number of dimensions the resulting output embeddings should have (optional)
encoding_format?
optionalencoding_format:string
Defined in: src/client/types.gen.ts:1961
EncodingFormat is the format to return the embeddings in (optional: “float” or “base64”)
input
input:
unknown
Defined in: src/client/types.gen.ts:1965
Input text or tokens to embed (can be string, []string, []int, or [][]int)
model
model:
string
Defined in: src/client/types.gen.ts:1969
Model identifier in ‘provider/model’ format