All Code files for QA over documents with Auto vector index selection with Langchain router chains.
🕑 Added 2023-05-14 12:51:47 +0000 UTCThis is for video: https://youtu.be/9G05qybShv8
NOTE: Streamlit app has two bugs one is a none issue which disappears upon reloading the app. The other is pdf index not being detected by the router chain. Please let me know if you find a solution to either! I talk about both in the video
Search 140+ echohive videos and code links: https://www.echohive.live/
Comments
Echo Hive
It has been a while since I looked at this particular code but using pure python approach you can create as many indexes as you like and retrieve as many chunks from each index. You can also let GPT select which chunks to be used for QA for example.
Sergio Soage
Question how could one integrate the answer using multiple index at the same time. Example asking a question that gets one part of the answer from one index and another part of the question from another index
Kris Wilkinson
error: subprocess-exited-with-error Γ Building wheel for hnswlib (pyproject.toml) did not run successfully. β exit code: 1 β°β> [5 lines of output] running bdist_wheel running build running build_ext building 'hnswlib' extension error: [WinError 2] The system cannot find the file specified [end of output]
Kris Wilkinson
I have no idea what I aheve wrong with my environment/setup, but I havent been able any application that requires the hnswlib as a dependencyπ