A Python chatbot that uses OpenAI's GPT-3.5-turbo model to generate responses to user input. Simply enter your input and the chatbot will respond. Conversation history is stored in a list. Licensed under MIT.
167
stars
72
forks
source link
Duplicate "You are a helpful assistant." system message #4
The message log initially contains a "You are a helpful assistant." system message. https://github.com/kydycode/chatgpt-3.5-turbo/blob/58721516a1a37fd72ad78ca2baf717b3bec9ae5e/main.py#L30-L32
This appears to be a duplicate: https://github.com/kydycode/chatgpt-3.5-turbo/blob/58721516a1a37fd72ad78ca2baf717b3bec9ae5e/main.py#L45