GenAI-Chatbot

Chat with the Document

Tech Stack Used

python google.generativeai streamlit

  • PyPDF2
  • langchain
  • Streamlit
  • google.generativeai

Local Development

Creae Virtual Environment

pip install virtualenv
python -m venv env

Activate the Virtual Environment

In CMD

.\env\Scripts\activate.bat
  1. Install Dependencies:

    pip install -r requirements.txt
  2. Set up Google API Key:

    • You can get Google Api key from Here
      Get API key -> Generative Language Client -> Create API key in existing project.
    • Obtain a Google API key and set it in the .env file.
    GOOGLE_API_KEY=your_api_key_here
  3. Run the Application:

    streamlit run app.py