Chatbot with custom RAG pipeline and custom vector store. Designed to be as lightweight as possible.
- Clone the repository:
git clone https://github.com/AlessioToniolo/ai_assistant.git
cd ai_assistant
- Create and activate a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install Python dependencies:
pip install -r requirements.txt
- Set up environment variables:
cp .env.sample .env
Then edit .env
with your configuration:
ANTHROPIC_API_KEY="your-api-key-here"
OPENAI_API_KEY="your-api-key-here"
- Start the backend server:
cd backend
python server.py
- Start the frontend:
cd frontend
python -m http.server 8080