{"id":17789503,"url":"https://github.com/benderscript/vidbot","last_synced_at":"2026-02-17T04:31:38.179Z","repository":{"id":204424270,"uuid":"709528757","full_name":"BenderScript/VidBot","owner":"BenderScript","description":"This program will create a Video RAG Chatbot from a video you upload or a youtube URL. ","archived":false,"fork":false,"pushed_at":"2024-12-05T08:01:36.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T22:44:04.170Z","etag":null,"topics":["chatbot","mp3","openai","transcribe","transcription","video"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenderScript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-24T21:35:27.000Z","updated_at":"2024-12-08T06:13:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"95ce4dac-36c5-4e68-b26f-3e2fe4d2e42b","html_url":"https://github.com/BenderScript/VidBot","commit_stats":null,"previous_names":["benderscript/vidbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BenderScript/VidBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenderScript%2FVidBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenderScript%2FVidBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenderScript%2FVidBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenderScript%2FVidBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenderScript","download_url":"https://codeload.github.com/BenderScript/VidBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenderScript%2FVidBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29533702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chatbot","mp3","openai","transcribe","transcription","video"],"created_at":"2024-10-27T10:32:42.881Z","updated_at":"2026-02-17T04:31:38.161Z","avatar_url":"https://github.com/BenderScript.png","language":"Python","readme":"# VidBot\n\n**VidBot is a chatbot that lets you ask questions about any video you want. Whether it's a movie, a lecture, or a tutorial, VidBot can help you find the information you need. You can use VidBot with videos stored on your computer or with YouTube links.**\n\nIt uses the latest OpenAI GPT-4 for transcriptions and chat completions. \n\n## Application Flow\n\nThe app works as follows:\n\n- Temp directory is created to store temporary files such as audio and transcriptions\n- The user sends a video to the bot or points to a YouTube URL.\n- The app extracts the audio from the video.\n- The app sends the audio to OpenAI and waits for transcription.\n- The app collates one or more transcriptions from OpenAI into a single transcription.\n- The app sends the transcription to chatGPT 4 for correction.\n- The app splits and inserts the correct transcription into a vectorDB for RAG.\n- Finally, a RAG chatbot is created.\n\n## Goals\n\nThe goal of this app was to use two different OpenAI services, **trancription and completions**, for the creation of a video chatbot.\n\n## Installation\n\n**To install the app, you need to have Python 3 and pip installed on your system.** Then, install the dependencies with:\n\n```bash\npip3 install -r requirements.txt\n```\n\n## Configuration\n\nYou should create a `.env` file in the root directory of the app with the following variables:\n\n```bash\nOPENAI_API_KEY=\u003cyour open ai key\u003e\nOPENAI_API_TEMPERATURE=0.6\nOPENAI_API_MODEL_NAME=gpt-4\n```\n\n## Running\n\nThe app is built on top of Streamlit, but I provide a bootstrap file so you can run it simply with:\n\n```bash\npython3 bootstrap.py\n```\n\nExample URL: [Introducing GPT-4](https://youtu.be/--khbXchTeE?si=O2DtXx8fcb0H4bta)\n\nYou can stop the application by pressing `stop` on the sidebar\n\n## Lessons leaned\n\n1. Langchain is poorly documented, lots of trial and error all around, specially to make custom prompts work\n2. If the transcription prompt is in question format or similar, GPT-4 will answer and therefore transcription will be overwritten by that answer. LOL\n3. AzureAI documentation and examples are fantastic\n4. Figuring a way to stop streamlit from within for mult-page app. I ended up using a sidebar page to stop the app.\n\n## License\n\nSee repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenderscript%2Fvidbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenderscript%2Fvidbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenderscript%2Fvidbot/lists"}