uezo / aiavatarkit

🥰 Building AI-based conversational avatars lightning fast ⚡️💬
Apache License 2.0
162 stars 10 forks source link

Support start chatting on wake #8

Closed uezo closed 1 year ago

uezo commented 1 year ago

To use wakeword as the request, make on_wakeword like below:

async def on_wakeword(text):
    logger.info(f"Wakeword: {text}")
    await app.start_chat(request_on_start=text, skip_start_voice=True)