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 snippets for code execution #198

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

andrewheard
Copy link
Collaborator

@andrewheard andrewheard commented Aug 1, 2024

Added snippets for example usage of code execution in generateContent and chat. Prompts based on google-gemini/generative-ai-python#451.

@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Aug 1, 2024
@andrewheard andrewheard merged commit 2b8f14c into main Aug 1, 2024
9 checks passed
@andrewheard andrewheard deleted the ah/code-execution-snippets branch August 1, 2024 16:06
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Aug 1, 2024
enefry added a commit to enefry/generative-ai-swift that referenced this pull request Oct 28, 2024
* 'main' of https://github.com/google/generative-ai-swift:
  Update version to 0.5.6 (google-gemini#206)
  Update `main` branch README for PaLM API decommissioning (google-gemini#205)
  Add a README for /samples (google-gemini#202)
  Add snippets for code execution (google-gemini#198)
  Add code execution support (google-gemini#196)
  Fix caution callout in README (google-gemini#197)
  Update Xcode version in CLI workflow (google-gemini#194)
  Fix region tag. (google-gemini#191)
  Add count tokens snippets for system instructions and tools (google-gemini#189)
  Add code snippets for controlled generation (google-gemini#188)
  Add a code snippet for function calling (google-gemini#187)
  Add documentation code snippets for model config (google-gemini#186)
  Add documentation code snippets for Chat (google-gemini#184)
  Add documentation code snippets for counting tokens (google-gemini#185)
  Add code snippets for text generation (google-gemini#181)
  Aligning the README with the Python's one (google-gemini#180)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants