UserWarning: You appear to be connected to a CosmosDB cluster. For more information regarding feature compatibility and support please visit https://www.mongodb.com/supportability/cosmosdb mongodb_client = MongoClient( Traceback (most recent call last): 344 File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\testRag.py", line 166, in asyncio.run(main()) File "C:\Users\prhurakadli\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 686, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\testRag.py", line 158, in main result = await memory.search(collection_name, query_term) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\semantic_kernel\memory\semantic_text_memory.py", line 142, in search results = await self._storage.get_nearest_matches( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\semantic_kernel\connectors\memory\azure_cosmosdb\azure_cosmos_db_memory_store.py", line 272, in get_nearest_matches return await self.cosmos_store.get_nearest_matches("", embedding, limit, min_relevance_score, with_embeddings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\semantic_kernel\connectors\memory\azure_cosmosdb\mongo_vcore_store_api.py", line 258, in get_nearest_matches cursor = self.collection.aggregate(pipeline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\collection.py", line 2978, in aggregate return self._aggregate( ^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\_csot.py", line 119, in csot_wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\collection.py", line 2886, in _aggregate return self._database.client._retryable_read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 1861, in _retryable_read return self._retry_internal( ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\_csot.py", line 119, in csot_wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 1828, in _retry_internal ).run() ^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2565, in run return self._read() if self._is_read else self._write() ^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2708, in _read return self._func(self._session, self._server, conn, read_pref) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\aggregation.py", line 164, in get_cursor result = conn.command( ^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\helpers.py", line 47, in inner return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\pool.py", line 536, in command return command( ^^^^^^^^ File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\synchronous\network.py", line 213, in command helpers_shared._check_command_response( File "C:\Users\prhurakadli\OneDrive - Microsoft\Desktop\Multi Agent Test\env\Lib\site-packages\pymongo\helpers_shared.py", line 247, in _check_command_response raise OperationFailure(errmsg, code, response, max_wire_version) pymongo.errors.OperationFailure: Similarity index was not found for a vector similarity search query., full error: {'ok': 0.0, 'errmsg': 'Similarity index was not found for a vector similarity search query.', 'code': 2, 'codeName': 'BadValue'}