You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a chatbot that answers in real-time or streams responses like ChatGPT. However, I'm having trouble getting the answer stream to work correctly. I'm using embeddings, and my only issue is with the streaming of the responses. At the moment, I tried using it on the console, but it only gives the complete answer instead of streaming it.
Console:
console:
Enter your prompt: hi
Hello! It's nice to meet you. Is there something I can help you with or would you like to chat?
@MaximeThoonsen any thought of replacing the ollama client code with some external libraries? there are a few ollama php clients I could find that support streamed response
I want to create a chatbot that answers in real-time or streams responses like ChatGPT. However, I'm having trouble getting the answer stream to work correctly. I'm using embeddings, and my only issue is with the streaming of the responses. At the moment, I tried using it on the console, but it only gives the complete answer instead of streaming it.
Console:
console:
Enter your prompt: hi
Hello! It's nice to meet you. Is there something I can help you with or would you like to chat?
Code:
The text was updated successfully, but these errors were encountered: