Skip to content
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

feat: Adjust embedding types and access #220

Closed
wants to merge 2 commits into from

Conversation

marikaner
Copy link
Contributor

Context

AI/gen-ai-hub-sdk-js-backlog#158.

According to the spec, I believe that the type in the embeddings output should allow for an arbitrary number of embeddings =>

.
This PR fixes the type + exposes all embeddings as a two-dimensional array of numbers.

@marikaner
Copy link
Contributor Author

covered by #221

@marikaner marikaner closed this Oct 16, 2024
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.

1 participant