{"id":26857100,"url":"https://github.com/nav3005/ocr-chatbot","last_synced_at":"2025-03-31T00:31:20.234Z","repository":{"id":283212237,"uuid":"951042766","full_name":"Nav3005/OCR-ChatBot","owner":"Nav3005","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-19T05:01:10.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T05:27:09.608Z","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/Nav3005.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}},"created_at":"2025-03-19T04:36:51.000Z","updated_at":"2025-03-19T05:01:14.000Z","dependencies_parsed_at":"2025-03-19T05:37:15.200Z","dependency_job_id":null,"html_url":"https://github.com/Nav3005/OCR-ChatBot","commit_stats":null,"previous_names":["nav3005/ocr-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nav3005%2FOCR-ChatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nav3005%2FOCR-ChatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nav3005%2FOCR-ChatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nav3005%2FOCR-ChatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nav3005","download_url":"https://codeload.github.com/Nav3005/OCR-ChatBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399816,"owners_count":20770907,"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","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":"2025-03-31T00:31:19.231Z","updated_at":"2025-03-31T00:31:20.173Z","avatar_url":"https://github.com/Nav3005.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCR Chatbot\n\nThis project is a **OCR Chatbot** built using **Streamlit** and **Google's Gemini API**. It allows users to interact with the chatbot using both text and images.\n\n## Features\n\n- **Text and Image-Based Queries**: Supports both textual and image-based questions.\n- **Google Gemini API Integration**: Uses `gemini-2.0-flash` for generating responses.\n- **Streamlit UI**: Provides an interactive web interface.\n- **Environment Variables Support**: Loads API keys securely from `.env`.\n\n## Prerequisites\n\nEnsure you have the following installed:\n\n```bash\npip install streamlit google-generativeai python-dotenv pillow\n```\n\nAdditionally, set up your **Google API Key** in a `.env` file:\n\n```env\nGoogle_API_KEY=your_api_key_here\n```\n\n## Usage\n\nRun the chatbot with:\n\n```bash\nstreamlit run ocr.py\n```\n\n## How It Works\n\n1. Loads the **Google API key** from the `.env` file.\n2. Initializes **Gemini-2.0-flash** model for text and image processing.\n3. Provides a Streamlit UI for user interaction.\n\n## Customization\n\n- Modify the **model selection** (`gemini-2.0-flash`).\n- Adjust **UI elements** in `streamlit` for better usability.\n- Extend functionality for **image analysis and response generation**.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n### 🚀 Feel free to contribute and enhance the chatbot!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnav3005%2Focr-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnav3005%2Focr-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnav3005%2Focr-chatbot/lists"}