Closed uniquejava closed 3 months ago
Hi @uniquejava, the model it self does not keep track of the previous messages. The developer is the one that needs to take care. You can go to the spring ai docs to see how it is done :)
Hi @uniquejava, the model it self does not keep track of the previous messages. The developer is the one that needs to take care. You can go to the spring ai docs to see how it is done :)
Thank you for your reply. Yes, I found ChatClient
and ChatMemory
, and I think that's what I need.
Hello Pablo,
Thank you for letting us use watsonx.ai API with ease via Spring AI. I integrated it successfully in our project. However, it cannot chat with us continuously within current context.
For example, if I select model "meta-llama/llama-3-70b-instruct`, asked a first question, it answered, and then I ask "What did I just ask you?", it just stopped. It lost the context.
Do I miss something. What additional components do we need?
My configuration: