Skip to content

Vector Embeddings: Add example w/ Cloud SDK for AI #1914

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
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

MattSchur
Copy link
Contributor

Adds example code and link to SAP Cloud SDK for AI

@MattSchur MattSchur requested a review from renejeglinsky as a code owner June 10, 2025 14:10
@MattSchur MattSchur requested a review from agoerler June 10, 2025 14:14
Copy link
Contributor

@MatKuhr MatKuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM!

@MattSchur MattSchur requested a review from MatKuhr June 11, 2025 06:53
Copy link
Contributor

@MatKuhr MatKuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@MattSchur MattSchur enabled auto-merge June 13, 2025 08:39
@MattSchur MattSchur removed the request for review from agoerler June 17, 2025 08:14
@MattSchur
Copy link
Contributor Author

@renejeglinsky could you please review and merge?

entity Books : cuid {
title : String(111);
description : LargeString;
embedding : Vector(1536); // adjust dimensions to embedding model
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do I get the number to define my embedding model?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The embedding dimensions are a property of the chosen embedding model and documented by the model provider (usually also in the mteb leaderboard).

For example the gemini-embedding-001 has up to 3072 dimensions and text-embedding-3-small has 1536.

I'll try to make this clearer from the description.

@renejeglinsky
Copy link
Contributor

I removed the profiled content as we want to reduce the usage of this toggle and maybe even remove it completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants