Find answers from the community

A
Arcy
Offline, last seen 3 months ago
Joined September 25, 2024
Is there a way to monitor the cost of each LLM calls ?
1 comment
W
If I understand correctly a full "llamaindex index" is made of :
  • one vectorStore
  • one docStore
  • one indexStore
I understand the need for the vectorStore. What is the usage of the 2 others, especially for VectorStores that actually store text ? Are they mandatory or not always needed ?
5 comments
L
A
trying to delete indexed document, and I am not sure why this does not work :
doc = Document(text="yo it is me") doc.id_ = "MY_GREAT_ID" nodes = HierarchicalNodeParser.from_defaults(chunk_sizes=[2048, 512, 128]).get_nodes_from_documents([doc]) docstore.add_documents(nodes) # this fails with "ValueError: doc_id MY_GREAT_ID not found." docstore.delete_document("MY_GREAT_ID")
3 comments
A
L
A
Arcy
·

Hello 👋

Hello 👋
I see a lot of tutorials about creating indexes and querying them, but I have not seen an example of appending/deleting nodes from existing vector store/document store. Could you point to such an example ? 🙏
8 comments
L
A
A
Arcy
·

Hello 🙂

Hello 🙂
Is there a way to retrieve all nodes from a documents (or even better retrieve the full document content without the chunkings) ? I guess the docstore might be the only thing needed for this operation 🤔
3 comments
L
A