This project implements a chatbot capable of interacting with PDF documents using OpenRouter AI API for language processing.
- Dark/Light mode support
- Modern and responsive UI
- Voice input support
git clone https://github.com/noaft/Notebook_LLM.git
cd Notebook_LLMEnsure you have Python installed, then run:
pip install -r requirements.txtCreate a .env file in the project root and add your OpenRouter API key:
API_KEY=<your_openrouter_api_key>To start the FastAPI server, use:
python -m uvicorn main:app --reloadThis will launch the chatbot API locally.
Once the server is running, you can:
- Upload PDF files for analysis.
- Interact with the chatbot via API endpoints.
Ensure that requirements.txt is installed, containing necessary packages such as FastAPI and OpenAI API clients.
- The API key should be kept secure and not shared.
- The chatbot utilizes OpenRouter AI to process user queries.
- Ensure your environment supports FastAPI and
uvicornfor local execution.
This project is licensed under MIT License.
