API Reference
Last updated
Was this helpful?
Last updated
Was this helpful?
Creates an embedding vector representing the input text or token arrays.
ID of the model to use for generating embeddings.
text-embedding-ada-002
The text to embed.
Array of text strings to embed.
The format to return the embeddings in.
float
, base64
The number of dimensions the resulting embeddings should have.
1536
LangDB project ID
ID of the model to use. This can be either a specific model ID or a virtual model identifier.
gpt-4o
A list of messages in the conversation.
Sampling temperature.
0.8
Model Context Protocol servers to use during the request. These enable capabilities like web search.
Router configuration for model selection or customization.
Additional configuration options for the completion request.
LangDB project ID
Start time in microseconds.
1693062345678
End time in microseconds.
1693082345678