API Reference
API Reference for LangDB
LangDB project ID
ID of the model to use. This can be either a specific model ID or a virtual model identifier.
gpt-4oSampling temperature.
0.8OK
OK
Creates an embedding vector representing the input text or token arrays.
ID of the model to use for generating embeddings.
text-embedding-ada-002The text to embed.
Array of text strings to embed.
The format to return the embeddings in.
floatPossible values: The number of dimensions the resulting embeddings should have.
1536Successful response with embeddings
Successful response with embeddings
LangDB project ID
10100A list of threads with pagination info
A list of threads with pagination info
The ID of the thread to retrieve messages from
LangDB project ID
A list of messages for the given thread
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
The total cost and token usage for the specified thread
LangDB project ID
Start time in microseconds.
1693062345678End time in microseconds.
1693082345678Successful response
Successful response
LangDB project ID
16930623456781693082345678["provider"]Successful response
Successful response
LangDB project ID
1693062345678OK
OK
Was this helpful?