Closed Sarthak-07 closed 8 months ago
Are you talking to it in Images? And did you debug the message_history to check?
Are you talking to it in Images? And did you debug the message_history to check?
no its not in images, and i tried to debug it but it doesnt save the history anywhere (this is console debug screenshot)
I think you miss understand message history is for sending back to the LLM like a conversation. The history is saved inside of message history per user, it does not output to any file. But that's pretty easy to do.
Here is an example of how the history works I get two facts about cats dogs and lizards without needing to reprompt it.
ohh, i thought maybe as like context in VertexAI i can same some promts in it
Not to worry, You should be able to easily output it to a file if you want however.
It is not saving the history in
message_history = {}
(i havent disabled it in .env it is more than 0)