Shaunwei / RealChar

🎙️🤖Create, Customize and Talk to your AI Character/Companion in Realtime (All in One Codebase!). Have a natural seamless conversation with AI everywhere (mobile, web and terminal) using LLM OpenAI GPT3.5/4, Anthropic Claude2, Chroma Vector DB, Whisper Speech2Text, ElevenLabs Text2Speech🎙️🤖
https://RealChar.ai/
MIT License
5.96k stars 729 forks source link

what is meaning about 'llm.achat_utterances' at websocket_routes.py #444

Open lingxiyang opened 1 year ago

lingxiyang commented 1 year ago

asyncio.create_task( llm.achat_utterances( history=build_history(conversation_history), user_input=msg_data, callback=AsyncCallbackTextHandler( on_new_token, []), audioCallback=AsyncCallbackAudioHandler( text_to_speech, websocket, tts_event, character.voice_id))) continue

Shaunwei commented 1 year ago

it's an experiment