fac30sb / discord-chatbot-emma-egbie

0 stars 0 forks source link

6.OpenAI Chat Integration and Response Generation #6

Closed electricblues closed 8 months ago

electricblues commented 9 months ago

As a back-end developer, I want to:

  1. integrate OpenAI into my bot and
  2. send chat prompts to the API to generate responses.

This would involve using the openai.chat.completions.create() method with my OpenAI API key.

I aim to pass conversation history and other necessary parameters to this method to receive context-aware chat completions. This will enable the bot to generate dynamic, intelligent responses based on ongoing conversations, enhancing user interaction and experience.

electricblues commented 9 months ago

This issue can be started in parallel with the discord bot work