Question on how to work with ChatSession and KernelMemory together #792
Unanswered
nicholusi2021
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think it's possible but requires some new features. Do you mean that you want the chat session do the RAG search every loop of chat? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to integrate IKernelMemory memory into a ChatSession object?
I have created and IKernelMemory object, loaded some pdf files and ask some questions via AskAsync, and that works great.
I have created a ChatSession object, and ask some questions via ChatAsync, and that works great.
I can use these two objects independently, but I haven't figured out how to combine them. What I would like to do is have a conversation using a ChatSession so that the ChatHistory is used for future answers in the session, but also use KernelMemory to load some PDF files for ChatSession to utilize when it creates the answer. Is this possible? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions