RetrieverConfiguration
Configuration for a retriever, specified as a union of retriever types.
Inheritors
Types
Functions
Link copied to clipboard
Casts this RetrieverConfiguration as a KnowledgeBase and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.KnowledgeBaseRetrieverConfiguration value. Throws an exception if the RetrieverConfiguration is not a KnowledgeBase.
Link copied to clipboard
Casts this RetrieverConfiguration as a KnowledgeBase and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.KnowledgeBaseRetrieverConfiguration value. Returns null if the RetrieverConfiguration is not a KnowledgeBase.