Find answers from the community

Updated 2 months ago

check for index by name

if I previously ran
Plain Text
def index_from_nodes(client:WeaviateClient, nodes: List[Node], index_name:str) -> VectorStoreIndex:
    vector_store = WeaviateVectorStore(weaviate_client = client, index_name = index_name)
    storage_context = StorageContext.from_defaults(vector_store = vector_store)
    return VectorStoreIndex(nodes = nodes, storage_context = storage_context)

is there a way to know that I already created and populated that index given the index_name?
C
L
2 comments
starting a thread
Hmm, I think you'd have to use weaviates client directly to check
Add a reply
Sign up and join the conversation on Discord