Code Files for Memwalker advanced tree retrieval without VectorDB Python code inspired by the paper
🕑 Added 2023-10-21 08:12:53 +0000 UTCThis is for video: https://youtu.be/FwGEtETa75A
in this video we will be looking at my personal interpretation and custom code implementation of Memwalker retrieval system in Python using gpot 3.5 turbo for summarization and GPT-4 for reasoning and, navigation and retrieval. Memwalker is a tree like retrieval system which doesn't rely on embeddings or VectorDBs. I mentioned in the video that the "visited keyts" might be off but I believe it is working correctly -tho I am not 100% sure :)
Quick start if you are new to coding and GPT API:
Voice controlled Auto AGI with swarm and multi self launch capabilities: https://youtu.be/zErt3Tp7srY
Auto AGI original video: https://youtu.be/jTC-6kBOfn8
Auto AGI original source code: https://www.patreon.com/posts/87530987
Search 200+ echohive videos and code download links: https://www.echohive.live/
Chat with us on Discord: https://discord.gg/PPxTP3Cs3G
Follow on twitter(X) : https://twitter.com/hive_echo
Comments
Echo Hive
I am not sure. It would be worth a test which I haven’t done. It is an interesting approach and wanted to share an implementation of it but haven’t tested it in any meaningful way especially against regular RAG approaches.
Bledar Ramo
Would you say this would be ideal for codebase retrieval ?
Echo Hive
I thought I solved all the index errors. It could be that gpt is answering with an unparsable response sometimes. If that is the case, Implementing function calling would limit that from happening. Maybe run the script in debug mode or with some additional print statements so you can better identify the issue.
Michal Babula
Sometimes I get the 'IndexError: list index out of range.' The error occurs when the answer is in the last child node. Do you know how to solve it?