Find answers from the community

V
VH-TLS
Offline, last seen 3 months ago
Joined September 25, 2024
Hi, maybe someone knows:

i want to use a local embedding llm with chromaDb. running localy, donwloaded from hugging face and fine tunned (1024 dimensions)
Plain Text
collection = client.get_or_create_collection(vhector_id)
    vector_store = ChromaVectorStore(chroma_collection=collection)
    storage_context = StorageContext.from_defaults(vector_store=vector_store)  # type: ignore
    # service_context = ServiceContext.from_defaults(embed_model="local:llm/embeddings")
    index = VectorStoreIndex(
        nodes,
        storage_context=storage_context,
        # service_context=service_context,
    )
`
when creating index, it takes forever, are there some settings to put ?
4 comments
L
V
W
i dont know where to start. I have tested with old version and same problem
1 comment
L
V
VH-TLS
·

Docstore

It's certainly a basic question but i could'nt manage to find the answer : i have a WeaviateVectorStore from which i have a VectorIndex. I need to load the docstore to iterate some search through all docs, but i dont know how to load the docstore.
Plain Text
 vhector_store = WeaviateVectorStore(
            weaviate_client=client, index_name="Ffnuydhnxulwm"
        )
        index = VectorStoreIndex.from_vector_store(
            vhector_store,
        )
        docstore = index.storage_context.docstore


here, docstore seems empty

I am can query the index without any problem
8 comments
V
L
W
@kapa.ai does the filename is stored into the indices ?
2 comments
k
@kapa.ai is there a way to know wich engine RouterQueryEngine has choosen and print it ?
2 comments
k
V
VH-TLS
·

Nodes

Maybe it's a newbish question but i can't find the answer. I have stored a docstore in a persist dir (alongside with corresponding vectorstore and indexstore). I one function, i want to create a keyword index from the nodes. But i can't find a way to load all the nodes from the docstore in order to pass them to the SimpleKeywordTableIndex
1 comment
L
@kapa.ai how to get all the nodes from a docstore ?
6 comments
k
V