LangChain Integration
Chat completions (LangChain - OpenAI format)
Creates a chat completion using OpenAI-compatible format via LangChain.
post/langchain/v1/chat/completions
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "gpt-4"
}Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.