AWS SDK for Kotlin
1.4.125
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrock/aws.sdk.kotlin.services.bedrock.model/EvaluationPrecomputedRagSourceConfig/asRetrieveAndGenerateSourceConfigOrNull

asRetrieveAndGenerateSourceConfigOrNull

fun asRetrieveAndGenerateSourceConfigOrNull(): EvaluationPrecomputedRetrieveAndGenerateSourceConfig?

Casts this EvaluationPrecomputedRagSourceConfig as a RetrieveAndGenerateSourceConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.EvaluationPrecomputedRetrieveAndGenerateSourceConfig value. Returns null if the EvaluationPrecomputedRagSourceConfig is not a RetrieveAndGenerateSourceConfig.

© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Generated by dokka