devika
devika copied to clipboard
Update knowledge_base.py
Implemented BM25 search functionality for knowledge retrieval in KnowledgeBase class
Looks good to me. It would be cool if you could add the BM25Okapi package to the 'requirements.txt'
Done
Commit the updated requirements.txt to this pull request instead of opening a new one. I think you can close https://github.com/stitionai/devika/pull/254 :)
Exception in thread Thread-11:
Traceback (most recent call last):
File "C:\Users\pc\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Users\pc\AppData\Local\Programs\Python\Python39\lib\threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\pc\Desktop\fork\devika\devika.py", line 97, in
``
let me know if the new commit fix ur error
let me know if the new commit fix ur error
the error is gone
Need testing
Also add it to requirements