You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not display what user query was submitted at first.
Execution exits after displaying:
Now try to ask 'What is the summary of the episode 67?' and notice how self-querying can help to avoid hallucination.
Here is the output:
(.venv) user: 02_advanced_rag $ poetry run python main.py
Welcome to the interactive Q&A session
0: Prerequisite - Clean up database
1: Prerequisite - Ingest sample data
2: Advanced RAG - Compare Splitter Methods
3: Advanced RAG - Self Query
4: Advanced RAG - Rewrite Retrieve Read
5: Advanced RAG - RAG Fusion
6: Exit
Which task would you like to run?3
Without database filtering based on user query
> Entering new RetrievalQA chain...
> Finished chain.
Source Documents:
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 0
Title: Microsoft Word - Word - Transcript - Episode 64.docx Page Number: 0
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 7
Title: Microsoft Word - Word - Transcript - Episode 64.docx Page Number: 8
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 6
Result: The summary of episode 65 is that supply chains are moving towards being run on information and data, rather than intuition. The episode discusses the importance of grounding supply chains in data, insights, and factuality, and using technology to power supply chains. The guest, Paula Natoli from Google Cloud, talks about how technology can be utilized to solve business problems and generate opportunities in the supply chain and logistics industry. The conversation also touches on the challenges that supply chain executives are facing today, emphasizing the increasing complexity of supply chains.
With database filtering based on user query
Podcast Title: episode 65
> Entering new RetrievalQA chain...
> Finished chain.
Source Documents:
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 0
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 7
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 6
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 6
Title: Microsoft Word - Word - Transcript - Episode 65.docx Page Number: 5
Result: The summary of episode 65 is that supply chains are moving towards being data-driven, grounded in insights and factuality, and powered by technology. The conversation with Google Cloud's Paula Natoli focused on the challenges supply chain executives are facing today, the role of technology in solving supply chain problems, and the future of supply chain being driven by information rather than intuition. The episode also discussed the potential of Generative AI and the role of Google Cloud in helping organizations integrate and innovate in their supply chain operations.[2024-08-06 15:23:36] SUCCESS: Self querying completed successfully! Now try to ask 'What is the summary of the episode 67?' and notice how self-querying can help to avoid hallucination.(.venv) user: 02_advanced_rag $
The text was updated successfully, but these errors were encountered:
Hello. I ran
02_advanced_rag
option 3.Here is the output:
The text was updated successfully, but these errors were encountered: