Langchain Chat Completions
LangChain-compatible chat completions endpoint.
LangChain’s ChatOpenAI sends OpenAI-format requests. This translates to native format, calls core logic, and translates back.
Request
This endpoint expects an object.
model
messages
temperature
top_p
n
stream
stop
max_tokens
max_completion_tokens
presence_penalty
frequency_penalty
logit_bias
user
tools
tool_choice
response_format
OpenAI response format.
seed
stream_options
Response
Successful Response