Find answers from the community

s
F
Y
a
P
Updated last month

Got text node

hi, i tried the logger method, find out that it doesn't contain the context like “Got node text” part in "verbose = True" query which i want to display on the web page for doc quality analysing, what should i do to get the terminal output stored in a variable then send to web page? many thanks!
L
V
2 comments
Hmmm, yea you can try to parse the terminal output from a file.

Are you just trying to log the nodes used to find the answer? You can also check response.source_nodes after you get the response from the query
I tried response.source_nodes and it works! thanks!
Add a reply
Sign up and join the conversation on Discord