Skip to content

Random-Projects9/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jorden Chatbot

Jorden is a warm, empathetic, and fun chatbot built with Streamlit and Google's Gemini API. It acts as a supportive friend, referencing past conversations and responding in a casual, kind tone with a touch of humor.

Features

  • Friendly, conversational AI powered by Gemini (Google Generative AI)
  • Remembers chat history and references past conversations
  • Typing effect for responses
  • Easy-to-use web interface with Streamlit
  • Chat history persistence and clear chat option

Setup

1. Clone the repository

git clone <your-repo-url>
cd chatbot

2. Install dependencies

It's recommended to use a virtual environment.

pip install -r requirements.txt

3. Set up your API key

Create a .env file in the project root with your Google API key:

GOOGLE_API_KEY=your-google-api-key-here

4. Run the app

streamlit run chatbot.py

The app will be available at http://localhost:8501 (or the port you specify).

Files

  • chatbot.py — Main Streamlit app
  • chat_history.json — Stores chat history
  • .env — Environment variables (API key)
  • requirements.txt — Python dependencies

Customization

  • Edit the system prompt in chatbot.py to change the chatbot's personality.
  • Chat history is stored in chat_history.json and can be cleared with the "Clear Chat" button.

Built with ❤️ using Streamlit and Gemini.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages