Hello, I stayed a long time to llama-index 9.X.X and when I upgraded to 10.X.X, I have this error :
.... ValidationError: 1 validation error for NodeWithScore node Can't instantiate abstract class BaseNode with abstract methods get_content, get_metadata_str, get_type, hash, set_content (type=type_error
with this code : ... serviceContext = ServiceContext.from_defaults(text_splitter=splitter,embed_model=embedModel) vector_store = PineconeVectorStore(pc.Index(data.index),namespace=data.name) index = VectorStoreIndex.from_vector_store(vector_store=vector_store,service_context=serviceContext)
Hello, I am trying to add nodes that I modified myself to a VectorStoreIndex connected to a pinecone server. I have no idea which function should I use, I tried some and always get an error, can you help me ?
Hello, I tried to use JSONNodeparser and got this error : AttributeError 'tuple' object has no attribute 'id' File "/home/mec/dekstop/llamaIndex/script.py", line 511, in <module> nodesDesc = parser.get_nodes_from_documents(description) AttributeError: 'tuple' object has no attribute 'id'
With this code : parser = JSONNodeParser() description = Document(text=str(descriptionJson)) nodesDesc = parser.get_nodes_from_documents(description)
Hello I am pretty sure I was using "get_nodes_by_metadata" about three weeks ago and now I am unable to use it in order to get all the nodes from an index based on a metadata filter (without query)