Skip to content

Commit 5f81b37

Browse files
monadierickxbrmur
authored andcommitted
Added SPDX header, moved snipped-start tag, regenerated documentation
1 parent 18ab4a5 commit 5f81b37

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

swift/example_code/bedrock-runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `swift
3030
<!--custom.prerequisites.end-->
3131
### Amazon Nova
3232

33-
- [Converse](models/amazon-nova/amazon-nova-text/Sources/Converse/main.swift#L6)
33+
- [Converse](models/amazon-nova/amazon-nova-text/Sources/Converse/main.swift#L4)
3434

3535

3636
<!--custom.examples.start-->

swift/example_code/bedrock-runtime/models/amazon-nova/amazon-nova-text/Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// swift-tools-version: 6.1
2+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
// SPDX-License-Identifier: Apache-2.0
4+
//
25
// The swift-tools-version declares the minimum version of Swift required to build this package.
36

47
import PackageDescription

swift/example_code/bedrock-runtime/models/amazon-nova/amazon-nova-text/Sources/Converse/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
3-
//
4-
// An example demonstrating how to use converse with Amazon Nova Micro
5-
3+
//
64
// snippet-start:[swift.example_code.bedrock-runtime.Converse_AmazonNovaText]
5+
// An example demonstrating how to use the Conversation API to send a text message to Amazon Nova.
6+
77
import ArgumentParser
88
import AWSClientRuntime
99
import Foundation

0 commit comments

Comments
 (0)