Codex Sage is an AI assistant that lets users upload PDFs and interact with their content through natural language. Built using OpenAI, Streamlit, and FAISS, it enables contextual Q&A on eBooks, syllabi, internal documents, and more.
- 📥 Upload PDF documents
- 📚 Index content and generate embeddings
- 🤖 Ask questions and get GPT-powered answers
- 🧠 Maintains memory for natural conversations
- 🖥️ Streamlit interface for quick deployment
- Frontend: Streamlit
- Backend: Python
- AI Engine: OpenAI GPT-4
- Embeddings:
text-embedding-3-large - Vector Search: FAISS
- Storage: SQLite or Local Disk
git clone https://github.com/yourusername/codex-sage.git
cd codex-sage
pip install -r requirements.txt
cp .env.example .env # Add your OpenAI key
python run.py© 2025 Hidden Leaf Networks LLC. All rights reserved.