-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Swift: Added example code for text to image generation with Amazon Nova Canvas for Bedrock #7452
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
base: main
Are you sure you want to change the base?
Conversation
I think you need to remove the Llama code from this PR. Start from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some suggestions and questions
swift/example_code/bedrock-runtime/models/amazon-nova/amazon_nova_canvas/Sources/main.swift
Show resolved
Hide resolved
swift/example_code/bedrock-runtime/models/amazon-nova/amazon_nova_canvas/Sources/main.swift
Outdated
Show resolved
Hide resolved
swift/example_code/bedrock-runtime/models/amazon-nova/amazon_nova_canvas/Sources/main.swift
Outdated
Show resolved
Hide resolved
swift/example_code/bedrock-runtime/models/amazon-nova/amazon_nova_canvas/Sources/main.swift
Outdated
Show resolved
Hide resolved
@@ -423,6 +423,14 @@ bedrock-runtime_Converse_MetaLlama: | |||
- description: Send a text message to Meta Llama, using Bedrock's Converse API. | |||
snippet_tags: | |||
- javascript.v3.bedrock-runtime.Converse_MetaLlama | |||
Swift: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change appears to be carried over from PR #7434. Could you please remove it to keep PRs isolated? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do this!
@@ -708,6 +716,14 @@ bedrock-runtime_ConverseStream_MetaLlama: | |||
- description: Send a text message to Meta Llama, using Bedrock's Converse API and process the response stream in real-time. | |||
snippet_tags: | |||
- javascript.v3.bedrock-runtime.ConverseStream_MetaLlama | |||
Swift: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, please remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several changes in this PR appear to be carried over from PR #7434. Please remove these unrelated modifications to maintain isolated PRs. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Carried over from #7434. Please remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Carried over from #7434. Please remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Carried over from #7434. Please remove.
This pull request includes one code example for image generation with Nova Canvas.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.