Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

text_generation samples for shell#430

Merged
MarkDaoust merged 13 commits intogoogle-gemini:mainfrom
shilpakancharla:text_gen_rest_samples
Jul 23, 2024
Merged

text_generation samples for shell#430
MarkDaoust merged 13 commits intogoogle-gemini:mainfrom
shilpakancharla:text_gen_rest_samples

Conversation

@shilpakancharla
Copy link
Contributor

@shilpakancharla shilpakancharla commented Jul 3, 2024

Text generation demonstrated in the following examples:

  • text_gen_text_only_prompt
  • text_gen_text_only_prompt_streaming
  • text_gen_multimodal_one_image_prompt
  • text_gen_multimodal_one_image_prompt_streaming
  • text_gen_multimodal_multi_image_prompt
  • text_gen_multimodal_multi_image_prompt_streaming
  • text_gen_multimodal_audio
  • text_gen_multimodal_video_prompt
  • text_gen_multimodal_video_prompt_streaming

TODO:

  • Need to figure out how to format file paths.

@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
Copy link
Collaborator

@MarkDaoust MarkDaoust left a comment

Choose a reason for hiding this comment

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

Note: we need to be careful here: IIRC the mac version of base64 is different from the linux version.

@shilpakancharla
Copy link
Contributor Author

Note: we need to be careful here: IIRC the mac version of base64 is different from the linux version.

Is there a tool we can use that's compatible on both mac & linux?

@MarkDaoust MarkDaoust merged commit d3ca154 into google-gemini:main Jul 23, 2024
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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