I´m trying to upload sample txt data to Verba app and I´m receive the error below:
(venv) PS C:_Prompttols\verba\Verba> verba import --path data/minecraft
============================ Starting data import ============================
Setting up client
Client connected to Weaviate Cluster
All schemas available
Reading data\minecraft\minecraft_guide.txt
Reading data\minecraft\minecraft_wiki.txt
Loaded 2 files
Converted data\minecraft\minecraft_guide.txt
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File "C:_Prompttols\verba\Verba\venv\Scripts\verba.exe_main.py", line 7, in
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\click\core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\click\core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\click\core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\click\core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\click\core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\goldenverba\ingestion\cli.py”, line 68, in import_data_command
import_data(path, model)
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\goldenverba\ingestion\import_data.py”, line 65, in import_data
documents = convert_files(client, file_contents, nlp=nlp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\goldenverba\ingestion\preprocess.py”, line 178, in convert_files
if not check_if_file_exits(client, file_name):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:_Prompttols\verba\Verba\venv\Lib\site-packages\goldenverba\ingestion\preprocess.py”, line 207, in check_if_file_exits
if results[“data”][“Get”][“Document”]:
~~~~~~~^^^^^^^^
KeyError: ‘data’