Replies: 1 comment 1 reply
-
🤖 Hey @robjm16! 👋 I'm Dosu, a helpful bot here to assist you while we wait for a human maintainer. I'm pretty good at squashing bugs, finding answers, and helping users like you become contributors. Just think of me as your friendly digital hand-raiser. 🤖 Don't worry, we'll get your issue figured out in no time! 😊 It seems like you're having trouble with the However, I can tell you that the from llama_index.schema import BaseNode
# Create your nodes
base_nodes_2021 = [BaseNode(id='node1', name='Node 1'), BaseNode(id='node2', name='Node 2')] In the line of code you're having trouble with, it's trying to find the first 20 instances in Without more information about the You can refer to the BaseIndex class in the LlamaIndex repository for more information on how SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
I am trying to run this example notebook and get stuck on this line.
example_index_node = [b for b in base_nodes_2021 if isinstance(b, IndexNode)][20]
It returns an empty list, as I think that none of the base_nodes_2021 are recognized as an IndexNode.
I am new to llama_index.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions