Hook to react to an incoming audio chunk from the user’s microphone.
from io import BytesIO import chainlit as cl @cl.on_audio_chunk async def on_audio_chunk(chunk: cl.InputAudioChunk): pass
Was this page helpful?