Module openai_chat::chat_completion
source · Expand description
mainly use model text-gpt-3.5-turbo and gpt-3.5-turbo-0301 api: POST https://api.openai.com/v1/chat/completions
Structs
Functions
- Use model
text-gpt-3.5-turbo
to generate a chat completion.