Find answers from the community

s
F
Y
a
P
Updated 8 months ago

where can we find the

where can we find the SimpleDirectoryReader now in v0.10.14?
1
W
M
b
14 comments
from llama_index.core import SimpleDirectoryReader
oops that doesn't seem to work !
anyway downgrading to 0.9.47 for now
is that the last ver prior to v0.10.xx?
Just tried it out
Attachment
image.png
you can create a new env and maybe recheck it
oh ... new env is gonna take a while now ... anyway thanx for sure ... shall try soon
So if you were on 0.9 and upgraded to 0.10 then there might be some import error issue.
I would suggest a fresh env or first uninstalling llama-index and then installing it back
this is not related to the above ...
just curious the options for vector_store_query_mode ... I thot hybrid was one of them (atleast it was one of the opt) esp when wants to use the hybrid vector store, and w/ an alpha value
this was working well, but now it fails ... any reason 😦
Plain Text
        retriever = index.as_retriever(
            vector_store_query_mode="hybrid",
            similarity_top_k=5,
            alpha=0.75,
        )
this is the Error: Invalid query mode: VectorStoreQueryMode.HYBRID
not every vector store supports hyrbid. What vector db are you using?
fixed it ... thx ... a prob w/ ServiceContext that got removed as I shifted to v0.10.x for a short moment ... looking at the changes, downgraded to v0.9.47 rather
Add a reply
Sign up and join the conversation on Discord