Traceback (most recent call last):
File "hcaa/hcaa.py", line 30, in <module>
main()
File "/home/youssef/.local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/youssef/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/youssef/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/youssef/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/youssef/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "hcaa/hcaa.py", line 25, in query
result = LlamaIndexService().query(account, app, query)
File "/home/youssef/octopods/rasayel-core/hcaa/lib/llama_index_service.py", line 23, in query
response = index.query(q, **query_kwargs)
File "/home/youssef/.local/lib/python3.8/site-packages/llama_index/indices/base.py", line 244, in query
return query_runner.query(query_str)
File "/home/youssef/.local/lib/python3.8/site-packages/llama_index/indices/query/query_runner.py", line 341, in query
return query_combiner.run(query_bundle, level)
File "/home/youssef/.local/lib/python3.8/site-packages/llama_index/indices/query/query_combiner/base.py", line 66, in run
return self._query_runner.query_transformed(
File "/home/youssef/.local/lib/python3.8/site-packages/llama_index/indices/query/query_runner.py", line 182, in query_transformed
query_obj = self._get_query_obj(index_struct)
File "/home/youssef/.local/lib/python3.8/site-packages/llama_index/indices/query/query_runner.py", line 165, in _get_query_obj
query_cls = INDEX_STRUT_TYPE_TO_QUERY_MAP[index_struct_type][mode]
KeyError: <IndexStructType.OPENSEARCH: 'opensearch'>