Skip to content

This Python application creates a chatbot interface using Streamlit, allowing users to interact with an AI model powered by the google.generativeai library. The chatbot responds to various commands and queries, providing conversational responses based on the input.

Notifications You must be signed in to change notification settings

whitehatboy005/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Chatbot

This Python application creates a chatbot interface using Streamlit, allowing users to interact with an AI model powered by the google.generativeai library. The chatbot responds to various commands and queries, providing conversational responses based on the input.

Features

  • Chat Input: Users can enter messages or commands in the chat interface.
  • Bot Responses: Based on the input, the chatbot responds with predefined messages or generates content using the AI model.
  • Session Management: Maintains a history of conversations within the session using Streamlit's session state.
  • Personalization: Displays a personalized greeting and identifies itself as an AI assistant.
  • Dynamic Content Generation: Uses the AI model to generate text content for user queries beyond predefined responses.

Model Output

Screenshot 2024-07-11 173855

API KEY OBTAIN

To get GEMINI_API_KEY in this link https://aistudio.google.com/app/apikey

Installation

Clone the Repository

git clone https://github.com/whitehatboy005/AI-Chatbot

Move the file

cd AI-Chatbot

Install Dependencies

pip install -r requirements.txt

Config Your API Key

notepad config.env

Run the Program

streamlit run Ai.py

Example Demonstration link

https://harish-gpt.streamlit.app

About

This Python application creates a chatbot interface using Streamlit, allowing users to interact with an AI model powered by the google.generativeai library. The chatbot responds to various commands and queries, providing conversational responses based on the input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages