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

Add additional functions to files & count_tokens. #490

Merged
merged 11 commits into from
Aug 16, 2024

Conversation

shilpakancharla
Copy link
Collaborator

Adding the following:

  • files_create_pdf
  • tokens_context_window
  • tokens_cached_content
  • tokens_system_instruction
  • tokens_tools

@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 25, 2024
samples/rest/count_tokens.sh Outdated Show resolved Hide resolved
# [END tokens_multimodal_video_audio_file_api]

echo "[START tokens_cached_content]"
Copy link
Collaborator

Choose a reason for hiding this comment

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

b/346293525

samples/rest/count_tokens.sh Show resolved Hide resolved
samples/rest/count_tokens.sh Outdated Show resolved Hide resolved
samples/rest/count_tokens.sh Show resolved Hide resolved
samples/rest/files.sh Outdated Show resolved Hide resolved
MarkDaoust
MarkDaoust previously approved these changes Aug 16, 2024
samples/rest/count_tokens.sh Show resolved Hide resolved
@MarkDaoust MarkDaoust merged commit a8edb40 into google-gemini:main Aug 16, 2024
9 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Aug 16, 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