March 14, 2023, 2:27 p.m. | James Briggs

James Briggs www.youtube.com

With the advent of OpenAI's Chat-GPT API endpoint (ChatCompletion), LangChain quickly added support for the new endpoint. Unlike previous LLM endpoints, the chat endpoint takes multiple inputs and so has its own unique set of objects and methods.

OpenAI's `ChatCompletion` endpoint consumes three types of input:

- System message — this acts as an initial prompt to "setup" the behavior of the chat completion.
- Human messages — these are human prompts (both current and past) that are fed into …

api behavior chat endpoints gpt human langchain llm messages multiple objects openai prompt responses set setup support types

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne