Find answers from the community

Home
Members
Shreyash
S
Shreyash
Offline, last seen 3 months ago
Joined September 25, 2024
hey, i am using qdrant vector store index and have used metadata when indexing files, while retrieving i want to filter the nodes retrieved using the metadata supplied, but cant figure out any way to do this, i will be grateful if someone can help me this
6 comments
S
L
S
Shreyash
·

Thread

12 comments
L
S
hi, my migration scripy isnt working, i am getting this error

/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
Traceback (most recent call last):
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/bin/llamaindex-cli", line 8, in <module>
sys.exit(main())
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/llama_index/core/command_line/command_line.py", line 269, in main
args.func(args)
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/llama_index/core/command_line/command_line.py", line 227, in <lambda>
upgrade_parser.set_defaults(func=lambda args: upgrade_dir(args.directory))
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/llama_index/core/command_line/upgrade.py", line 283, in upgrade_dir
upgrade_file(str(file_ref))
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/llama_index/core/command_line/upgrade.py", line 267, in upgrade_file
upgrade_py_md_file(file_path)
File "/Users/shreyash/Developer/CaseFlo/new-caseflo/lib/python3.9/site-packages/llama_index/core/command_line/upgrade.py", line 249, in upgrade_py_md_file
lines = f.readlines()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 81: invalid start byte
2 comments
L
Traceback (most recent call last):
File "/Users/shreyash/Developer/CaseFlo/utils/todelete.py", line 82, in <module>
index = load_index_from_storage(storage_context, service_context = service_context)
File "/Users/shreyash/Developer/CaseFlo/caseflo/lib/python3.9/site-packages/llama_index/indices/loading.py", line 33, in load_index_from_storage
indices = load_indices_from_storage(storage_context, index_ids=index_ids, **kwargs)
File "/Users/shreyash/Developer/CaseFlo/caseflo/lib/python3.9/site-packages/llama_index/indices/loading.py", line 78, in load_indices_from_storage
index = index_cls(
File "/Users/shreyash/Developer/CaseFlo/caseflo/lib/python3.9/site-packages/llama_index/indices/vector_store/base.py", line 53, in init
super().init(
File "/Users/shreyash/Developer/CaseFlo/caseflo/lib/python3.9/site-packages/llama_index/indices/base.py", line 65, in init
self._vector_store = self._storage_context.vector_store
File "/Users/shreyash/Developer/CaseFlo/caseflo/lib/python3.9/site-packages/llama_index/storage/storage_context.py", line 221, in vector_store
return self.vector_stores[DEFAULT_VECTOR_STORE]
KeyError: 'default'
1 comment
W
while runnning this
index = load_index_from_storage(storage_context, service_context = service_context)

i am getting an error
4 comments
S
L