Skip to content

Conversation

@juanuicich
Copy link
Contributor

textEmbedding has changed to textEmbeddingModel in the google-vertex provider. Updating docs to match the code.

Background

Docs are out of date vs the type definitions.

Summary

Updated the method name to use for instantiating an embedding model.

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)
  • I have reviewed this pull request (self-review)

textEmbedding has changed to textEmbeddingModel in the `google-vertex` provider. Updating docs to match the code.
Copy link
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Thank you Juan! And congrats for your first contribution to the AI SDK 🖤

@gr2m gr2m added the backport label Oct 10, 2025
@gr2m gr2m enabled auto-merge (squash) October 10, 2025 21:52
@gr2m gr2m merged commit 2ece3af into vercel:main Oct 10, 2025
14 of 15 checks passed
vercel-ai-sdk bot pushed a commit that referenced this pull request Oct 10, 2025
textEmbedding has changed to textEmbeddingModel in the `google-vertex`
provider. Updating docs to match the code.

<!--
Welcome to contributing to AI SDK! We're excited to see your changes.

We suggest you read the following contributing guide we've created
before submitting:

https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->

## Background

Docs are out of date vs the type definitions.

## Summary

Updated the method name to use for instantiating an embedding model.

## Checklist

- [ ] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [ ] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [ ] Formatting issues have been fixed (run `pnpm prettier-fix` in the
project root)
- [x] I have reviewed this pull request (self-review)
@vercel-ai-sdk vercel-ai-sdk bot removed the backport label Oct 10, 2025
@vercel-ai-sdk
Copy link
Contributor

vercel-ai-sdk bot commented Oct 10, 2025

✅ Backport PR created: #9399

vercel-ai-sdk bot added a commit that referenced this pull request Oct 10, 2025
This is an automated backport of #9283 to the release-v5.0 branch.

Co-authored-by: Juan Uicich <[email protected]>
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.

2 participants