Find answers from the community

Updated 11 months ago

Hello everybody.

Hello everybody.
How do I know if my docx file is up to standard or not? What criteria should be considered for making a standard file in terms of the data inside and during training? I'm asking because my data contains content, but when I query, I cannot retrieve that content. It only indicates that the content is not provided. Additionally, I want to ask how to query for more detailed data rather than just summarizing the main points of the content.
W
1 comment
You can always check what the bot has returned or used as source to generate the response.

That will help you to debug whether your bot is able to correctly identify correct section or not.

Plain Text
# check source nodes like this
response  = index.as_query_engine().query()
for source in response.source_nodes:
  print(source)

# Check how the node text look like, These are the total nodes that your current bot uses.
nodes = index.docstore.docs


If you feel that the nodes are not looking good, You can always make nodes by yourself and pass it to create index. That will increase the quality of finding correct source.
Add a reply
Sign up and join the conversation on Discord