API Reference
Last updated
Was this helpful?
Last updated
Was this helpful?
LangDB project ID
Start time in microseconds.
1693062345678
End time in microseconds.
1693082345678
Successful response
LangDB project ID
1693062345678
1693082345678
["provider"]
Successful response
The ID of the thread for which to retrieve cost information
LangDB project ID
The total cost and token usage for the specified thread
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
Available options: The number of dimensions the resulting embeddings should have.
1536
Successful response with embeddings
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.
Represents a chat completion response returned by model, based on the provided input.
OK