skip to Main Content

Azure Search only returns an element

We have an azure search index that returns only one element despite having 3 matches. However Azure Search only returns the first one. We would need the three matches returned as they belong to different parent entities This is the…

VIEW QUESTION

AttributeError: 'str' object has no attribute 'get_token' in Python when using Azure Cognitive Search Vector Search

I am trying to do a Vector Search with Azure Cognitive Search in Python. This is my code: query = "What are the advantages of an open-source ai model?" search_client = SearchClient(AZURE_COGNITIVE_SEARCH_SERVICE_ENDPOINT, AZURE_COGNITIVE_SEARCH_INDEX_NAME, credential=AZURE_COGNITIVE_SEARCH_API_KEY) vector_query = VectorizableTextQuery(text=query, k=3, fields="content_vector") results…

VIEW QUESTION
Back To Top
Search