OpenAI Chat Model
Jump to navigation
Jump to search
An OpenAI Chat Model is an OpenAI LLM model that is an LLM chat model.
- Counter-Example(s):
- See: GPT-4.
References
2023
- https://platform.openai.com/docs/guides/gpt/chat-completions-api
- Chat models take a list of messages as input and return a model-generated message as output. Although the chat format is designed to make multi-turn conversations easy, it’s just as useful for single-turn tasks without any conversation.
An example Chat completions API call looks like the following:
- Chat models take a list of messages as input and return a model-generated message as output. Although the chat format is designed to make multi-turn conversations easy, it’s just as useful for single-turn tasks without any conversation.
response = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Who won the world series in 2020?"}, {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."}, {"role": "user", "content": "Where was it played?"} ] )
2022
- https://platform.openai.com/docs/models/gpt-3-5
- QUOTE: GPT base models can understand and generate natural language or code but are not trained with instruction following. These models are made to be replacements for our original GPT-3 base models and use the legacy Completions AP