Replies: 2 comments 1 reply
-
You should just use .streamingChatLanguageModel instead of .chatLanguageModel |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @rgrin08, you need to define the return type of your AI Service method as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use a service with memory and streaming.
Code without streaming:
This code does not work if the type of the model is StreamingChatLanguageModel.
How can I do in this case?
Beta Was this translation helpful? Give feedback.
All reactions