Python中使用Websocket推送bytes数据有个需求 在直播的时候 如果有人提问 通过LLM回答这个问题并将答案转为音频流返回考虑直接用Websocket来完成
在fastapi框架下 使用websocket
from fast
2023-11-24