Skip to content

This code is a Python script that uses the OpenAI API to create an AI assistant that can engage in a conversation with a human user. The code initializes the OpenAI API key, sets up a prompt to start the conversation, and defines a function to generate the AI's response using the OpenAI Completion API.

Notifications You must be signed in to change notification settings

lincymiller/Basic-Python-Openai-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Basic-Python-Openai-Chatbot

💜

About

This code is a Python script that uses the OpenAI API to create an AI assistant that can engage in a conversation with a human user. The code initializes the OpenAI API key, sets up a prompt to start the conversation, and defines a function to generate the AI's response using the OpenAI Completion API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published