Find answers from the community

Updated 12 months ago

Hey guys

Hey guys

I'm unable to load VectorStoreIndex

Getting this error
ImportError: cannot import name 'DATA KEY' from 'Ilama_index.constants (C:\Users\2772727\venv\Lib\site-packages\llana_index\constants.py)

I saw constant.py file

It is

Set of constants."""

MAX CHUNK SIZE 3900 MAX CHUNK OVERLAP 200

NUM OUTPUTS 256

INDEX STRUCT KEY "index struct"

DOCSTORE KEY "docatore"

VECTOR STORE CONFIG_DICT KEY "vector_store"

TYPE KEY

type DATA KEY-data

Pls help me out
1
L
r
P
7 comments
@Prince Kumar why is it llana_index and not llama_index? Not sure if this could be causing your issue
Thank you guys now working
Hey guys
While doing this
Index=VectorStoreIndex.from_documents(documents)

Pls help me out

Following error I'm getting
SSLCertVerificationError
ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certify verify failed: unable to get local issuer certificate( _ssl.c: 992)
ApiConnectionError: connection error.

I have tried other indexes like GPTVectorStoreIndex, SimpleVetorIndex getting same error here also
this is usually due to using a VPN (and if not using a VPN, it's releated your ISP most likely)
Thanks Logan will check it and let u know
I am receiving this error when i try to indexing with index = KnowledgeGraphIndex.from_documents(
documents,
max_triplets_per_chunk=2,
storage_context=storage_context,
)
how can i fix it
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord