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§
- chat_
completions - Use model
text-gpt-3.5-turbo
to generate a chat completion. - chat_
completions_ full - Has the ability to support context chat by passing prompt in the form of an array of hashmap that contiain role and content