A knowledge bank system powered by OpenAI using Google Drive files shared via Google Picker with semantic search capabilities.
- Supabase integration for data storage
- Google Drive file picker integration
- Semantic search using OpenAI embeddings
- Support for various file types (documents, spreadsheets, images)
- Clone the repository
- Create a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt pip install -r requirements-dev.txt
- Create a
.env
file with the following variables:OPENAI_API_KEY=your_openai_api_key SUPABASE_URL=your_supabase_url SUPABASE_KEY=your_supabase_key
- Install pre-commit hooks:
pre-commit install
- Run the application:
python3 main.py
- Run tests:
python3 -m pytest
- Run linting:
python3 -m ruff check .
- Run type checks:
python3 -m mypy .
MIT