Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neo-vortex/aiassistant
A dotnet project that interacts with an Ollama instate and use voice to text and text to voice technics to emulate a real assistant
https://github.com/neo-vortex/aiassistant
Last synced: 14 days ago
JSON representation
A dotnet project that interacts with an Ollama instate and use voice to text and text to voice technics to emulate a real assistant
- Host: GitHub
- URL: https://github.com/neo-vortex/aiassistant
- Owner: Neo-vortex
- Created: 2023-11-15T10:12:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-15T10:23:37.000Z (about 1 year ago)
- Last Synced: 2023-11-15T11:32:21.554Z (about 1 year ago)
- Language: C#
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AIAssistant Simulator
Welcome to the AIAssistant Simulator, a versatile and customizable AI-powered assistant written in .NET 7. This assistant utilizes various technologies for speech-to-text, text-to-speech, and AI computations. Below are the key components and instructions to set up and run the AIAssistant Simulator.
## Technologies Used:
1. **Pico2wave for TTS:**
- Install with: `sudo apt-get install libttspico-utils`2. **Leopard for Voice-to-Text:**
- Requires an API key for verification. The user can use the provided API key for fair usage limits.
- Set the API key using the `leopard_access_key` environment variable.3. **Ollama for AI Calculations:**
- Install with: `curl https://ollama.ai/install.sh | sh`
- GitHub Project: [Ollama GitHub](https://github.com/jmorganca/ollama)
- Set the Ollama URL using the `ollama_url` environment variable.
- Run `ollama pull llama2` to pull the Ollama models.## Setup Instructions:
1. **Install Dependencies:**
- Install Pico2wave: `sudo apt-get install libttspico-utils`
- Install Ollama: `curl https://ollama.ai/install.sh | sh`2. **Configure Environment Variables:**
- Set the audio input device using the `audio_device_index` environment variable.
- Set the Leopard API key using the `leopard_access_key` environment variable.
- Set the Ollama URL using the `ollama_url` environment variable.3. **Build and Run:**
- Build the project using .NET 7: `dotnet build`
- Run the AIAssistant Simulator: `dotnet run`## Example Usage:
1. **Voice Input:**
- Configure the input device using the `audio_device_index` environment variable.2. **Leopard API Key:**
- Use the provided API key for Leopard by setting the `leopard_access_key` environment variable.3. **Ollama AI Calculation:**
- Set the Ollama URL using the `ollama_url` environment variable.
- Pull Ollama models with `ollama pull llama2`.4. **Run the Assistant:**
- Execute the AIAssistant Simulator with `dotnet run`.## Important Notes:
- This AIAssistant Simulator allows users to interact using voice commands, converting speech to text.
- The Ollama AI service is used for complex computations, and the results are spoken using Pico2wave.Feel free to explore and enhance the AIAssistant Simulator according to your needs. If you encounter any issues or have suggestions, please refer to the [GitHub Issues](#) section.
Happy coding!