Skip to content

.Net: [MEVD] Consider getting the dimensions from the configured IEmbeddingGenerator #11713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
roji opened this issue Apr 24, 2025 · 0 comments
Labels
msft.ext.vectordata Related to Microsoft.Extensions.VectorData .NET Issue or Pull requests regarding .NET code

Comments

@roji
Copy link
Member

roji commented Apr 24, 2025

IEmbeddingGenerators optionally provide metadata which can include DefaultModelDimensions (code). MEVD connectors could read that value (when available) and use that as the dimensions setting for vector properties. This would mean that we make dimensions optional on user-facing APIs for configuring vector properties (record definition, attribute).

Since this is an optional value not exposed by all embedding generators (and since users don't have to configure an embedding generator at all), we'd throw at validation-time if it's missing.

/cc @westey-m @adamsitnik

@roji roji added .NET Issue or Pull requests regarding .NET code msft.ext.vectordata Related to Microsoft.Extensions.VectorData labels Apr 24, 2025
@roji roji moved this to Backlog in Semantic Kernel Apr 24, 2025
@github-actions github-actions bot changed the title [MEVD] Consider getting the dimensions from the configured IEmbeddingGenerator .Net: [MEVD] Consider getting the dimensions from the configured IEmbeddingGenerator Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msft.ext.vectordata Related to Microsoft.Extensions.VectorData .NET Issue or Pull requests regarding .NET code
Projects
Status: Backlog
Development

No branches or pull requests

2 participants