Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 10 months ago
0
Follow
Hello,
Hello,
Inactive
0
Follow
At a glance
J
Jeff
10 months ago
Β·
Hello, I'm exploring chat engine usage, what are the distinct roles of memory and chat_history? Are they intended for different purposes? Thank you!
L
J
6 comments
Share
Open in Discord
L
Logan M
10 months ago
memory is chat history
The difference here is chat history is a list of chat message objects
Those go into a memory module, which ensures that only X number of messages up to a token limit are retrieved
.chat(message, chat_history=chat_history)
will override the current memory
J
Jeff
10 months ago
ok so from what I understand, memory is better to be used and will have better results ? this will also impact the condense question ?
L
Logan M
10 months ago
I mean, they are essentially the same / highly coupled
L
Logan M
10 months ago
But yes, it impacts condense question -- it uses the most recent conversation history to rewrite a query
L
Logan M
10 months ago
This is useful for follow-ups like "Tell me more" and stuff like that
J
Jeff
10 months ago
thank you, is more clear now
Add a reply
Sign up and join the conversation on Discord
Join on Discord