ai-bot-pro / achatbot

An open source chat bot architecture for voice/vision (and multimodal) assistants, local and remote to run; if u run achatbot by yourself, u can learn more, star and fork to contribute~
BSD 3-Clause "New" or "Revised" License
15 stars 2 forks source link

Feat: add DailyStoryTellingBot #85

Closed weedge closed 2 weeks ago

weedge commented 2 weeks ago

feat:

cat config/bots/daily_storytelling_bot.json

{
  "chat_bot_name": "DailyStoryTellingBot",
  "room_name": "chat-room",
  "room_url": "",
  "token": "",
  "room_manager": {
    "tag": "daily_room",
    "args": {
      "privacy": "public"
    }
  },
  "services": {
    "pipeline": "achatbot",
    "vad": "silero",
    "asr": "sense_voice",
    "llm": "together",
    "gen_img": "together",
    "tts": "edge"
  },
  "config": {
    "vad": {
      "tag": "silero_vad_analyzer",
      "args": { "stop_secs": 0.7 }
    },
    "asr": {
      "tag": "sense_voice_asr",
      "args": {
        "language": "zn",
        "model_name_or_path": "./models/FunAudioLLM/SenseVoiceSmall"
      }
    },
    "llm": {
      "tag": "openai_llm_processor",
      "base_url": "https://api.together.xyz/v1",
      "model": "Qwen/Qwen2.5-72B-Instruct-Turbo",
      "language": "zh-CN",
      "messages": []
    },
    "img_gen": {
      "tag": "TogetherImageGenProcessor",
      "args": {
        "gen_rate_s": 10,
        "model": "black-forest-labs/FLUX.1-schnell-Free"
      }
    },
    "tts": {
      "tag": "tts_edge",
      "args": {
        "voice_name": "zh-CN-YunjianNeural",
        "language": "zh-CN",
        "gender": "Male"
      }
    }
  },
  "config_list": []
}
python -m src.cmd.bots.main -f config/bots/daily_storytelling_bot.json