Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Has anyone ever gotten an error like
Has anyone ever gotten an error like
Inactive
0
Follow
B
BioHacker
2 months ago
·
Has anyone ever gotten an error like this kth(=-12) out of bounds (13)?? I am getting this error when using .retrieve in llamaindex.
L
B
s
11 comments
Share
Open in Discord
L
Logan M
2 months ago
are you using local embeddings?
B
BioHacker
2 months ago
no I am using Voyage embeddings. Could it from that?
L
Logan M
2 months ago
maybe? Do you have the full traceback handy?
B
BioHacker
2 months ago
@Logan M how do I enable that?
L
Logan M
2 months ago
Uhhh it should just happen automatically lol
L
Logan M
2 months ago
Usually there's just a big stack trace when things error out in python
s
sodeep
2 months ago
@BioHacker This just happened to me. I was specifying a top_k value that was greater than the number of nodes. Solved it with
top_k = min(top_k, len(nodes))
s
sodeep
2 months ago
Seems like LlamaIndex should just do that for us, though.
B
BioHacker
2 months ago
Oh great thank you so much.
B
BioHacker
2 months ago
I figured it had to do with that but I got busy with something else and didn’t get a chance to debug.
B
BioHacker
2 months ago
@Logan M would be great to add this to the library
Add a reply
Sign up and join the conversation on Discord
Join on Discord