Replies: 3 comments
-
🤖 Hey @aiwalter, great to see you venturing further into the depths of LlamaIndex! 🦙 I'm diving into your query right now and will circle back with something helpful in a jiffy. |
Beta Was this translation helpful? Give feedback.
-
especially I have issues with e.g. this: index.as_query_engine(
chunk_size=100,
similarity_top_k=5,
ResponseMode=ResponseMode.TREE_SUMMARIZE,
) as it raises a |
Beta Was this translation helpful? Give feedback.
-
🤖 You can determine the size or length of an index in the LlamaIndex codebase by using the index_graph = IndexGraph()
# ... insert nodes into the index_graph ...
index_size = len(index_graph.all_nodes) In your case, you can use this to avoid the However, this solution requires you to have access to the I hope this helps! If you have any other questions or need further clarification, feel free to ask. You can find more information about the Sources
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to know the number of chunks/nodes that are in my index. Could not find a simple way to find this out
Beta Was this translation helpful? Give feedback.
All reactions