Skip to content

kishandata23/DSA-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini DSA ChatBot

A Streamlit-based chatbot powered by Google Gemini, specialized in Data Structures and Algorithms (DSA).
Ask questions, get explanations, and receive Python code examples for DSA topics.


Features

  • Conversational interface with chat bubbles (user on right, Gemini on left)
  • Scrollable chat history
  • Enter key to send messages
  • DSA-focused prompt for better answers

Setup Instructions

  1. Clone the repository

    git clone <your-repo-url>
    cd DSA-Agent
  2. Install dependencies

    pip install -r requirements.txt
  3. Set up your API key

    • Open the .env file.

    • Replace the value of GEMINI_API_KEY with your own Google Gemini API key:

      GEMINI_API_KEY=your_google_gemini_api_key_here
      
  4. Run the application

    streamlit run app.py
  5. Interact with the chatbot in your browser!


Example Screenshots

Below are some example screenshots of the chatbot in action:

Chat Example 1 Chat Example 2


Notes

  • The os module is part of Python's standard library and does not need to be installed.
  • Make sure your API key has access to the Gemini API.
  • For best results, use Python 3.8 or newer.
  • Entire project is generated by Github-copilot

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages