Skip to content

Commit 6a6daeb

Browse files
committed
improve Converse Example
1 parent 13f0857 commit 6a6daeb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Examples/converse/Package.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ let package = Package(
1010
.executable(name: "Converse", targets: ["Converse"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/build-on-aws/swift-bedrock-library.git", branch: "main"),
13+
// for production use, uncomment the following line
14+
// .package(url: "https://github.com/build-on-aws/swift-bedrock-library.git", branch: "main"),
15+
16+
// for local development, use the following line
17+
.package(name: "swift-bedrock-library", path: "../.."),
18+
1419
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.0"),
1520
],
1621
targets: [

Examples/converse/Sources/Converse.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ struct Main {
3232
let bedrock = try await BedrockService(
3333
region: .useast1,
3434
logger: logger
35-
// uncomment if you use SSO with AWS Identity Center
36-
// authentication: .sso
35+
// uncomment if you use SSO with AWS Identity Center
36+
// authentication: .sso
3737
)
3838

3939
// select a model that supports the converse modality

0 commit comments

Comments
 (0)