Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

simplechatbot

The code creates a simple chatbot that interacts with an API. It loads the API key and model from an .env file, sends user messages to the API, and prints the AI's response. The conversation is color-coded using colorama, and the user can exit by typing "Exit". It checks for short inputs and prompts the user to provide at least 10 characters.

About

The code creates a simple chatbot that interacts with an API. It loads the API key and model from an .env file, sends user messages to the API, and prints the AI's response. The conversation is color-coded using colorama, and the user can exit by typing "Exit". It checks for short inputs and prompts the user to provide at least 10 characters.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages