Skip to content

Commit ebc1671

Browse files
committed
swift-format
1 parent fc4553b commit ebc1671

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Sources/BedrockService/BedrockService+AgentRuntime.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ extension BedrockService {
3737
return BedrockAgentRuntimeClient(config: config)
3838
}
3939
/// Retrieves information from a knowledge base for RAG applications
40-
///
40+
///
4141
/// This method queries an Amazon Bedrock knowledge base to retrieve relevant information
4242
/// that can be used for Retrieval-Augmented Generation (RAG) applications.
43-
///
43+
///
4444
/// - Parameters:
4545
/// - knowledgeBaseId: The unique identifier of the knowledge base to query
4646
/// - retrievalQuery: The query to search for in the knowledge base

Sources/BedrockService/Protocols/BedrockAgentRuntimeProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import Foundation
2323
#endif
2424

2525
/// Protocol for Amazon Bedrock Agent Runtime operations
26-
///
26+
///
2727
/// This protocol allows writing mocks for unit tests and provides a clean interface
2828
/// for knowledge base retrieval operations.
2929
public protocol BedrockAgentRuntimeProtocol: Sendable {

Sources/BedrockService/RetrieveRequest.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public struct RetrieveRequest: Sendable {
2323
public let retrievalQuery: String
2424
/// The number of results to return
2525
public let numberOfResults: Int
26-
26+
2727
/// Creates a new retrieve request
2828
/// - Parameters:
2929
/// - knowledgeBaseId: The unique identifier of the knowledge base to query
@@ -38,9 +38,9 @@ public struct RetrieveRequest: Sendable {
3838
self.retrievalQuery = retrievalQuery
3939
self.numberOfResults = numberOfResults
4040
}
41-
41+
4242
internal var input: RetrieveInput {
43-
return RetrieveInput(
43+
RetrieveInput(
4444
knowledgeBaseId: knowledgeBaseId,
4545
retrievalConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration(
4646
vectorSearchConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseVectorSearchConfiguration(
@@ -50,4 +50,4 @@ public struct RetrieveRequest: Sendable {
5050
retrievalQuery: BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery(text: retrievalQuery)
5151
)
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)