Crate chatgpt_functions
source ·Expand description
A library to interact with OpenAI API to use GPT-3.5 and GPT-4 for chatbots.
It takes care of the context and the state of the conversation, and provides a way to define functions that can be called from the chatbot.
Usage
The main module to use for the chatbot is chat_gpt
.
It provides a ChatGPT
struct that can be used to interact with the GPT API.