{"id":18223941,"url":"https://github.com/iguptashubham/chatrag-api","last_synced_at":"2026-04-29T23:05:32.635Z","repository":{"id":260955295,"uuid":"882815178","full_name":"iguptashubham/ChatRAG-API","owner":"iguptashubham","description":"Welcome to the Custom Trained Gemini Flash (CTGF) project! This project aims to create a sophisticated conversational AI application that integrates the Gemini Flash large language model using FastAPI and Streamlit.","archived":false,"fork":false,"pushed_at":"2024-11-03T20:44:19.000Z","size":16106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T14:56:28.584Z","etag":null,"topics":["fastapi","gemini-api","llm","python","rag","streamlit"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/in/shubhai/","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/iguptashubham.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}},"created_at":"2024-11-03T20:36:59.000Z","updated_at":"2024-11-03T20:46:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f33e25f-aa11-4953-8e8f-4a11c69dffb4","html_url":"https://github.com/iguptashubham/ChatRAG-API","commit_stats":null,"previous_names":["iguptashubham/chatrag-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iguptashubham/ChatRAG-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguptashubham%2FChatRAG-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguptashubham%2FChatRAG-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguptashubham%2FChatRAG-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguptashubham%2FChatRAG-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iguptashubham","download_url":"https://codeload.github.com/iguptashubham/ChatRAG-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguptashubham%2FChatRAG-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280066024,"owners_count":26265934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"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":["fastapi","gemini-api","llm","python","rag","streamlit"],"created_at":"2024-11-04T01:05:29.283Z","updated_at":"2025-10-20T09:25:41.128Z","avatar_url":"https://github.com/iguptashubham.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatRAG API\r\nWelcome to the Custom Trained Gemini Flash (CTGF) project! This project aims to create a sophisticated conversational AI application that integrates the Gemini Flash large language model using FastAPI and Streamlit.\r\n\r\n# Workflow\r\n![ChatRAG-API](https://raw.githubusercontent.com/iguptashubham/ChatRAG-API/refs/heads/main/workflow/chatrag-workflow.png)\r\n\r\n## Project Overview\r\n\r\nCustom Trained Gemini Flash (CTGF) helps in Chat with your custom data, providing a seamless, interactive user experience for querying and retrieving data, leveraging advanced AI capabilities for contextual and engaging conversations.\r\n\r\n## Key Components\r\n\r\n### FastAPI Backend\r\n- **Endpoints**: Handles file uploads, data retrieval, and conversational queries.\r\n- **Data Management**: Manages data storage and vector databases using FAISS.\r\n- **Asynchronous Processing**: Efficiently manages asynchronous tasks to provide real-time responses.\r\n\r\n### Streamlit Frontend\r\n- **User Interface**: A dynamic and user-friendly interface for uploading files, initiating chat sessions, and viewing conversation history.\r\n- **Real-time Interactivity**: Enables users to interact with the AI in real-time, providing instant feedback and response.\r\n\r\n### Gemini Flash Model Integration\r\n- **Conversational AI**: Utilizes the advanced capabilities of the Gemini Flash model to generate context-aware, relevant responses.\r\n- **RAG Chain**: Implements a Retrieval-Augmented Generation (RAG) chain to enhance the AI's ability to retrieve accurate information and generate meaningful responses based on user queries.\r\n\r\n## Features\r\n- **File Upload**: Users can upload PDF files, which are processed and stored using FastAPI.\r\n- **Query Handling**: FastAPI endpoints manage user queries, retrieve relevant data from the vector store, and provide responses using the Gemini Flash model.\r\n- **Chat History Management**: Stores and retrieves chat history, allowing users to view past interactions.\r\n- **Seamless Integration**: Ensures smooth communication between the backend and frontend, providing a cohesive user experience.\r\n\r\n## Installation\r\n\r\nTo install the necessary dependencies, run:\r\n\r\n```bash\r\npip install -r requirements.txt\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figuptashubham%2Fchatrag-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figuptashubham%2Fchatrag-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figuptashubham%2Fchatrag-api/lists"}