{"id":50697401,"url":"https://github.com/ysocrius/pinecone-vector-chat","last_synced_at":"2026-06-09T07:32:49.702Z","repository":{"id":335440000,"uuid":"1145733574","full_name":"ysocrius/pinecone-vector-chat","owner":"ysocrius","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-30T06:34:49.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T22:39:01.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysocrius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-30T06:26:43.000Z","updated_at":"2026-01-30T06:34:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ysocrius/pinecone-vector-chat","commit_stats":null,"previous_names":["ysocrius/pinecone-vector-chat"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ysocrius/pinecone-vector-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysocrius%2Fpinecone-vector-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysocrius%2Fpinecone-vector-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysocrius%2Fpinecone-vector-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysocrius%2Fpinecone-vector-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysocrius","download_url":"https://codeload.github.com/ysocrius/pinecone-vector-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysocrius%2Fpinecone-vector-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34096950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-09T07:32:48.904Z","updated_at":"2026-06-09T07:32:49.693Z","avatar_url":"https://github.com/ysocrius.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinecone Vector Chat - RAG Assistant\n\nA complete implementation of a Retrieval-Augmented Generation (RAG) chatbot using OpenAI, Pinecone, and Flask. This project demonstrates how to build a personal AI assistant that can ingest documents and answer questions with precise source citations.\n\n## 🌟 New Features\n- **Multi-Path Ingestion**: Sync documents from multiple local paths simultaneously.\n- **Clean Source Citations**: RAG responses now cite specific filenames without clutter.\n- **Automated Verification**: Integration with Playwright for end-to-end testing.\n\n## 🎯 Key Capabilities\n✅ **Cloud-based LLM** - GPT-4o-mini integration for intelligent responses  \n✅ **Vector Database** - Pinecone for scalable knowledge retrieval  \n✅ **Web Interface** - Modern, responsive chatbot UI built with Flask \u0026 Bootstrap  \n✅ **RAG Pipeline** - customized context injection with accurate sourcing  \n✅ **Production Ready** - Configured for deployment on Render\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Python 3.8+\n- OpenAI API Key\n- Pinecone API Key\n\n### Installation\n\n1. **Clone the repository**\n```bash\ngit clone https://github.com/ysocrius/pinecone-vector-chat.git\ncd pinecone-vector-chat\n```\n\n2. **Set up virtual environment**\n```bash\npython -m venv venv\n# Windows\nvenv\\Scripts\\activate\n# Mac/Linux\nsource venv/bin/activate\n```\n\n3. **Install dependencies**\n```bash\npip install -r requirements.txt\n```\n\n4. **Configure environment variables**\nCreate a `.env` file with your keys:\n```env\nOPENAI_API_KEY=your_key\nPINECONE_API_KEY=your_key\nPINECONE_ENVIRONMENT=us-east-1\nPINECONE_INDEX_NAME=jarvis-assistant-index\n```\n\n5. **Start the application**\n```bash\npython jarvis_assistant.py\n```\nOpen your browser to `http://127.0.0.1:5000`\n\n## 📚 Document Ingestion\n\nYou have two ways to add knowledge to Jarvis:\n1. **Web Upload**: Use the \"File Upload\" button in the UI to upload PDF or TXT files directly.\n2. **Local Path Sync**: Enter full local paths (comma-separated) in the \"Local Path Ingestion\" field to sync files from anywhere on your machine.\n   - *Example*: `C:\\Documents\\project_specs.pdf, C:\\Notes\\learning.txt`\n\n## 🏗️ Architecture\n\n```\npinecone-vector-chat/\n├── docs/                      # Default folder for document placement\n├── static/                    # Frontend assets (Clean JS/CSS)\n├── templates/                 # Jinja2 HTML templates\n├── jarvis_assistant.py        # Main Flask application \u0026 API\n├── ingest.py                  # Standalone ingestion script\n└── setup_pinecone.py          # Index initialization utility\n```\n\n## 🛠️ Technical Stack\n- **Backend**: Flask\n- **AI/ML**: OpenAI (GPT-4o), LangChain\n- **Database**: Pinecone (Vector Store)\n- **Frontend**: Vanilla JS, Bootstrap 5\n- **Testing**: Playwright MCP\n\n## 🤝 Contributing\nContributions are welcome! Please feel free to submit a Pull Request.\n\n---\n**Built for:** Banao RAG Evaluation Task  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysocrius%2Fpinecone-vector-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysocrius%2Fpinecone-vector-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysocrius%2Fpinecone-vector-chat/lists"}