Skip to content

.Net: Investigate extended property attributes for specific vector store connectors #8102

@dmytrostruk

Description

@dmytrostruk

Current Azure CosmosDB NoSQL implementation has PartitionKeyPropertyName property in CollectionOptions class to specify property name. It will be easier if it will be possible to mark specific record property as Partition Key with attribute, something like this:

[AzureCosmosDBNoSQLPartitionKey] // From the AzureCosmosDB lib.
[VectorStoreRecordData]
public string Description { get; set; }
 
var dataProp  = new VectorStoreRecordDataProperty("Description", typeof(string));
dataProp.SetAzureCosmosDBNoSQLPartitionKey(true);

Same approach can be applied for other connectors whenever custom property configuration is required.

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codememorymemory connectorsk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)staleIssue is stale because it has been open for a while and has no activity

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions