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: re-add GenAI embedding code samples #3616

Merged
merged 2 commits into from
Feb 7, 2024
Merged

feat: re-add GenAI embedding code samples #3616

merged 2 commits into from
Feb 7, 2024

Conversation

gericdong
Copy link
Contributor

Description

Fixes #3320

Re-add code samples for GenAI embeddings. These samples were published but later removed because of the launch schedule change.

  • Generate image from image
  • Generate image from text

@gericdong gericdong requested review from a team as code owners January 25, 2024 17:00
Copy link

snippet-bot bot commented Jan 25, 2024

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: aiplatform Issues related to the AI Platform API. labels Jan 25, 2024
@pattishin pattishin self-requested a review January 25, 2024 20:13
Copy link
Contributor

@pattishin pattishin left a comment

Choose a reason for hiding this comment

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

lgtm

@pattishin pattishin merged commit 9f3c79d into main Feb 7, 2024
32 checks passed
@pattishin pattishin deleted the b3320 branch February 7, 2024 19:16
pattishin added a commit that referenced this pull request Feb 15, 2024
pattishin added a commit that referenced this pull request Feb 15, 2024
pattishin added a commit that referenced this pull request Feb 15, 2024
pattishin added a commit that referenced this pull request Feb 15, 2024
* chore: remove .preview from generative ai methods

chore: update ai package versions

fix: fix broken tests

fix: update dependency to use github over npm

feat: change assertion to more common output

added function calling examples

removed double await, fix linter

* feat: readd GenAI embedding code samples (#3616)

Co-authored-by: Patti Shin <[email protected]>

* fix: adding in type:module in package.docs.json (#3624)

chore: attempt to fix linting errors

chore: attempt to fix linting errors

chore: attempt to lint functionCallingStreamChat

chore: lint functionCallingStreamContent

chore: lint functionCallingStreamContent

chore: lint functionCallingStreamContent

chore: lint functionCallingStreamContent

chore: lint functionCallingStreamContent

* fix: Attempt at pleasing the Linter (#3625)

* Attempt at pleasing the Linter

* fix(linter): trying to please CI

---------

Co-authored-by: Patti Shin <[email protected]>

* fix: lint

---------

Co-authored-by: Eric Dong <[email protected]>
Co-authored-by: Patti Shin <[email protected]>
Co-authored-by: Guillaume Laforge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: aiplatform Issues related to the AI Platform API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants