Skip to content

Commit

Permalink
chore: Updates version to 1.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 17, 2024
1 parent c3b970e commit d1f59c3
Show file tree
Hide file tree
Showing 17 changed files with 2,448 additions and 588 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import PackageDescription

// MARK: - Dynamic Content

let clientRuntimeVersion: Version = "0.80.0"
let clientRuntimeVersion: Version = "0.81.0"
let crtVersion: Version = "0.36.0"

let excludeRuntimeUnitTests = false
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.21
1.0.22
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.22
1.0.23
Original file line number Diff line number Diff line change
Expand Up @@ -2479,7 +2479,7 @@ extension BedrockAgentClient {

/// Performs the `GetIngestionJob` operation on the `AmazonBedrockAgentBuildTimeLambda` service.
///
/// Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Lanaguage Models (LLMs) can use your data.
/// Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
///
/// - Parameter GetIngestionJobInput : [no documentation found]
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4094,23 +4094,19 @@ extension BedrockAgentClientTypes {
public var stopSequences: [Swift.String]?
/// Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
public var temperature: Swift.Float?
/// The number of most-likely candidates that the model considers for the next token during generation.
public var topk: Swift.Int?
/// The percentage of most-likely candidates that the model considers for the next token.
public var topp: Swift.Float?

public init(
maxTokens: Swift.Int? = nil,
stopSequences: [Swift.String]? = nil,
temperature: Swift.Float? = nil,
topk: Swift.Int? = nil,
topp: Swift.Float? = nil
)
{
self.maxTokens = maxTokens
self.stopSequences = stopSequences
self.temperature = temperature
self.topk = topk
self.topp = topp
}
}
Expand Down Expand Up @@ -7346,6 +7342,7 @@ extension BedrockAgentClientTypes {
/// This member is required.
public var name: Swift.String?
/// Contains configurations for the prompt template.
/// This member is required.
public var templateConfiguration: BedrockAgentClientTypes.PromptTemplateConfiguration?
/// The type of prompt template to use.
/// This member is required.
Expand Down Expand Up @@ -12844,7 +12841,6 @@ extension BedrockAgentClientTypes.PromptModelInferenceConfiguration {
try writer["maxTokens"].write(value.maxTokens)
try writer["stopSequences"].writeList(value.stopSequences, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false)
try writer["temperature"].write(value.temperature)
try writer["topK"].write(value.topk)
try writer["topP"].write(value.topp)
}

Expand All @@ -12853,7 +12849,6 @@ extension BedrockAgentClientTypes.PromptModelInferenceConfiguration {
var value = BedrockAgentClientTypes.PromptModelInferenceConfiguration()
value.temperature = try reader["temperature"].readIfPresent()
value.topp = try reader["topP"].readIfPresent()
value.topk = try reader["topK"].readIfPresent()
value.maxTokens = try reader["maxTokens"].readIfPresent()
value.stopSequences = try reader["stopSequences"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false)
return value
Expand Down
4 changes: 2 additions & 2 deletions Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37177,9 +37177,9 @@ extension ConnectClientTypes.EvaluationAnswerData {
case "StringValue":
return .stringvalue(try reader["StringValue"].read())
case "NumericValue":
return .numericvalue(try reader["NumericValue"].read() ?? 0)
return .numericvalue(try reader["NumericValue"].read())
case "NotApplicable":
return .notapplicable(try reader["NotApplicable"].read() ?? false)
return .notapplicable(try reader["NotApplicable"].read())
default:
return .sdkUnknown(name ?? "")
}
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit d1f59c3

Please sign in to comment.