Get Context #15797
Unanswered
d3buggerdan
asked this question in
Q&A
Get Context
#15797
Replies: 1 comment 2 replies
-
To print the context retrieved from a # Assuming you have an instance of CondensePlusContextChatEngine named `chat_engine`
message = "Your input message here"
context_str, nodes = chat_engine._retrieve_context(message)
print(context_str) This code snippet will print the context string that is generated based on the input message. The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I print the context retrieved from a chat_engine?
@dosu
Beta Was this translation helpful? Give feedback.
All reactions