{"id":30300270,"url":"https://github.com/azkasahar/ai-voice-assistant","last_synced_at":"2025-08-17T04:12:44.155Z","repository":{"id":308307984,"uuid":"1032341743","full_name":"AzkaSahar/AI-Voice-Assistant","owner":"AzkaSahar","description":"A local llm powered AI voice assistant ","archived":false,"fork":false,"pushed_at":"2025-08-05T07:13:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-05T09:24:11.458Z","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/AzkaSahar.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":"2025-08-05T07:03:53.000Z","updated_at":"2025-08-05T07:13:08.000Z","dependencies_parsed_at":"2025-08-05T09:37:38.429Z","dependency_job_id":null,"html_url":"https://github.com/AzkaSahar/AI-Voice-Assistant","commit_stats":null,"previous_names":["azkasahar/ai-voice-assistant"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AzkaSahar/AI-Voice-Assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Voice-Assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Voice-Assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Voice-Assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Voice-Assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AzkaSahar","download_url":"https://codeload.github.com/AzkaSahar/AI-Voice-Assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Voice-Assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270804599,"owners_count":24648910,"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-08-17T02:00:09.016Z","response_time":129,"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":"2025-08-17T04:12:43.357Z","updated_at":"2025-08-17T04:12:44.141Z","avatar_url":"https://github.com/AzkaSahar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🗣️ AI Voice Assistant with LangChain + Ollama\n\nA simple voice assistant that listens to your speech, converts it to text, queries a local LLM using LangChain, and speaks the response back using TTS.\n\n---\n\n## 🎯 Features\n\n- 🎤 Speech-to-text using `SpeechRecognition` + microphone\n- 🤖 Local LLM querying via `langchain-ollama` (Mistral model)\n- 🧠 Maintains chat history using LangChain memory\n- 🔊 Text-to-speech using `pyttsx3`\n- 🖥️ UI powered by Streamlit\n\n---\n\n## 📦 Installation\n\n### 1. Clone the repo\n\n```bash\ngit clone https://github.com/AzkaSahar/AI-Voice-Assistant.git\ncd AI-Voice-Assistant\n````\n\n### 2. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n\u003e ⚠️ You may need to install `pyaudio` manually:\n\u003e\n\u003e ```bash\n\u003e pip install pipwin\n\u003e pipwin install pyaudio\n\u003e ```\n\n---\n\n## 🚀 Usage\n\n### 1. Start Ollama (if not already running)\n\nMake sure Ollama is installed and the `mistral` model is available:\n\n```bash\nollama run mistral\n```\n\n### 2. Run the Streamlit app\n\n```bash\nstreamlit run ai_voice_Assistant.py\n```\n---\n\n## 🧠 How It Works\n\n* Listens to user voice input\n* Transcribes using `SpeechRecognition`\n* Passes query and history to LangChain-powered Mistral model via `langchain-ollama`\n* Speaks response using `pyttsx3`\n* Maintains a visible chat history\n\n---\n\n## 📝 License\n\nMIT – Free to use, modify, and share.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Fai-voice-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazkasahar%2Fai-voice-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Fai-voice-assistant/lists"}