Skip to content
项目

disler/personal-ai-starter-pack

在 GitHub 查看

关于

Fast STT, LLM, and TTS for personal AI assistants using OpenAI, Groq, AssemblyAI and ElevenLabs.

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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.

reliable-ai-agents.png own-your-ai

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.txt
    
  • Set up environment variables:

    cp .env.sample .env
    # Edit .env file and add your API keys
    

    I recommend starting with the OpenAI assistant since you only need to set up the OpenAI API key..

  • Run the main script:

    python main.py
    
  • Run the structured output script:

    python structured_outputs_example.py
    
  • Press Enter to start recording, and Enter again to stop recording.

  • Adjust the maximum duration of the recording in constants.py: DURATION

  • Update 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

Resources

探索相关项目

加载中…