API Reference
API Reference for LangDB
Was this helpful?
API Reference for LangDB
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
LangDB project ID
ID of the model to use. This can be either a specific model ID or a virtual model identifier.
gpt-4o
Sampling temperature.
0.8
OK
The ID of the thread to retrieve messages from
LangDB project ID
A list of messages for the given thread
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
Possible values: The number of dimensions the resulting embeddings should have.
1536
Successful response with embeddings