disler/personal-ai-starter-pack
حول
Fast STT, LLM, and TTS for personal AI assistants using OpenAI, Groq, AssemblyAI and ElevenLabs.
الذكاء الاصطناعي وتعلّم الآلةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلFast Personal AI Assistant & Structured Output
A quick start personal AI assistant framework using OpenAI, Groq, AssemblyAI and ElevenLabs.
And a breakdown of the reliability of AI agents with the new structured output.

Setup
Create and activate virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`Install dependencies:
pip install -r requirements.txtSet up environment variables:
cp .env.sample .env # Edit .env file and add your API keysI recommend starting with the OpenAI assistant since you only need to set up the OpenAI API key..Run the main script:
python main.pyRun the structured output script:
python structured_outputs_example.pyPress
Enterto start recording, andEnteragain to stop recording.Adjust the maximum duration of the recording in
constants.py: DURATIONUpdate configuration variables in
constants.py- Tweak naming.
- Update the prompt to your liking.
- Update the assistant type to the one you want to use.
Watch the walk through video
- Coding RELIABLE AI Agents: Legit Structured Outputs Use Cases (Strawberry Agent?)
- CONTROL your Personal AI Assistant with GPT-4o mini & ElevenLabs
Resources
- https://openai.com/index/introducing-structured-outputs-in-the-api/
- https://www.assemblyai.com/
- https://console.groq.com/docs/speech-text
- https://console.groq.com/docs/libraries
- https://platform.openai.com/docs/guides/speech-to-text
- https://platform.openai.com/docs/guides/text-to-speech
- https://platform.openai.com/docs/api-reference/audio#audio/createTranscription-prompt
- https://openai.com/api/pricing/
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…