Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add REST embeddings & system_instruction sample #429

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

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

shilpakancharla
Copy link
Collaborator

@shilpakancharla shilpakancharla commented Jul 3, 2024

Description of the change

Adding REST embeddings sample for embed and batch_embed.

Also adding the system_instruction sample as well here because I forgot to make a new branch - sorry!

Do we need to demonstrate output_dimensionality and task_type in this sample as well?

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Jul 3, 2024
@shilpakancharla shilpakancharla changed the title Add REST embeddings sample Add REST embeddings & system_instruction sample Jul 3, 2024
set -eu

echo "[START embed]"
# [START embed]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make sure to use the same tags as in the sheet:

ebed_content and batch_embed_contents

@MarkDaoust MarkDaoust merged commit 5b31be7 into google-gemini:main Jul 23, 2024
7 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python sdk Issue/PR related to Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants