Closed ayushmorbar closed 4 months ago
Can you move the load_conversations from main.py to manager.py? because it should read the file and load it directly into the memory of the chain. and use rich to have a better terminal experience
okay, i am on it.
This should not be like this. The conversation_navigator should load the files from the conversation dir and should should show all the available files in the dir. If a user select a file then that file should be loaded into the history
Any updates on this? Thinking to add this feature and max budget before the v0.1.0 release
Yeah, I get it and also I guess I've confused myself on this issue, though I've made the essential changes as required… Do take a review of that, point out the wrongdoings.
You can put all the code for navigation everything into the conversation_navigator file. Stuff like navigating and loading the file etc. In manager function in manager.py you can pass a chain and load the file into the chain.
hey, i think i will pass this issue for now and will try it later, if its still live.
okayy
This pull request adds conversation loading functionality to the chatbot. It includes a new function
load_conversations()
that retrieves conversation files from theneogpt/conversations
directory. The--conversation
flag has been added to the command line interface to enable loading conversations into the chatbot.refer #190
NOTE: the code might not be perfect and there will be some mistakes, i might've done and so i want you to correct me- if there's!