Open PaulCoddington opened 1 year ago
Try renaming the folder from long_term_memory_with_qdrant
to long_term_memory
.
Try renaming the folder from
long_term_memory_with_qdrant
tolong_term_memory
.
So this is supposed to be a _replacement_ for the long_term_memory extension, rather than an extension that requires the long_term_memory extension to have been installed as pre-requisite?
Perhaps this information should be added to the README?
Renaming the extension has indeed appeared to fix the problem.
No, at least I don't believe it's supposed to be a straight replacement, it just happens to be named similarly simple way.
Python is simple looking for the module extensions.long_term_memory.long_term_memory' or in other words looking for
extensions/long_term_memory/long_term_memory.py, however, just cloning the repo you will end up with
extensions/long_term_memory_with_qdrant/long_term_memory.py'.
...however, just cloning the repo you will end up with `extensions/long_term_memory_with_qdrant/long_term_memory.py'.
Default behaviour of Oobabooga WebUI is to install extensions by cloning the repository, so script.py has a bug where it attempts to import from another extension with a similar name.
2023-10-31 21:07:07 ERROR:Failed to load the extension "long_term_memory_with_qdrant". Traceback (most recent call last): File "C:\ProgramData\oobabooga\text-generation-webui\modules\extensions.py", line 36, in load_extensions exec(f"import extensions.{name}.script") File "", line 1, in
File "C:\ProgramData\oobabooga\text-generation-webui\extensions\long_term_memory_with_qdrant\script.py", line 12, in
from extensions.long_term_memory.long_term_memory import LTM
ModuleNotFoundError: No module named 'extensions.long_term_memory.long_term_memory'