Skip to content

.Net: [MEVD] Cosmos byte/sbyte embeddings don't seem to be actually working #12079

@roji

Description

@roji

We can insert into the collection, but once we try to perform a search, we get:

---- Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 1e9e7d61-86bf-430b-8b16-246bbdbbfc85; Reason: ({"code":"BadRequest","message":"Message: {\"errors\":[{\"severity\":\"Error\",\"code\":2206,\"message\":\"Unsupported ORDER BY clause. ORDER BY item expression could not be mapped to a document path.\"}]}\r\nActivityId: 1e9e7d61-86bf-430b-8b16-246bbdbbfc85, Microsoft.Azure.Documents.Common/2.14.0"}

Note that this is against a local emulator (@westey-m if you have a real Cosmos instance, maybe try testing again it?).

Run skipped tests in CosmosNoSqlEmbeddingTypeTests.

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codebugSomething isn't workingmsft.ext.vectordataRelated to Microsoft.Extensions.VectorData

Type

Projects

Status

Sprint: Done

Relationships

None yet

Development

No branches or pull requests

Issue actions