Find answers from the community

Home
Members
yadibolt
y
yadibolt
Offline, last seen 15 hours ago
Joined January 8, 2025
@kapa.ai Hi I'm generating structured predicted output, and the output throws an error: dumps_kwargs keyword arguments are no longer supported.
31 comments
k
y
L
@kapa.ai
Hey! I'm currently working on a chat app. App is based on websockets (fastapi lib).
I have a problem with paralelism. Once I call one instance the second one is waiting for the first one to be done.
I've looked around but I don't seem to find a solution. Tried to implement
Plain Text
chat_engine.astream_chat
instead of the sync one -
Plain Text
chat_engine.stream_chat
,
but that does not seem to work for me either (I straight up could not get astream_chat to work). I wonder if this is why it waits for the first instance to be done or not.
Anybody has any idea? (As a model wrapper I use Ollama - it is not single threaded, tried it in cmd)
109 comments
y
L
k