Find answers from the community

Updated 3 months ago

hello guys, i'm already create a vector

hello guys, i'm already create a vector index in azureCognitiveSearch services using llamaIndex integrations like this:
Plain Text
vectorstore code:
        vector_store = CognitiveSearchVectorStore(
            search_or_index_client=index_client,
            index_name=client_slug,
            filterable_metadata_field_keys=metadata_fields,
                index_management=IndexManagement.CREATE_IF_NOT_EXISTS,
            id_field_key="id",
            chunk_field_key="content",
            embedding_field_key="embedding",
            metadata_string_field_key="li_jsonMetadata",
            doc_id_field_key="li_doc_id",
        )

index create:
        index = VectorStoreIndex.from_documents(
            [], storage_context=self.storage_context,   service_context=self.service_context
        )

but, in azure portal, i get this warning:
This index has vector fields created using the 2023-07-01-preview definition. It can't be edited using new API versions. We recommend that you migrate it to use vector profiles to restore full portal functionality. Learn more ๏Ÿ

my azure-search-documents version is:
azure-search-documents==11.4.0b8
because the latest dont work with open-ai and llamaIndex, i dont know exatly why

someone can help?
L
R
2 comments
I can't help you much here, but I can say that this vector store is getting updated by the azure team soon. Its quite outdated
okay, so it's not a problem with llamaindex package or openai
Add a reply
Sign up and join the conversation on Discord