

# KbInferenceConfig
<a name="API_KbInferenceConfig"></a>

Contains configuration details of the inference for knowledge base retrieval and response generation.

## Contents
<a name="API_KbInferenceConfig_Contents"></a>

 ** textInferenceConfig **   <a name="bedrock-Type-KbInferenceConfig-textInferenceConfig"></a>
Contains configuration details for text generation using a language model via the `RetrieveAndGenerate` function.  
Type: [TextInferenceConfig](API_TextInferenceConfig.md) object  
Required: No

## See Also
<a name="API_KbInferenceConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-2023-04-20/KbInferenceConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-2023-04-20/KbInferenceConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-2023-04-20/KbInferenceConfig) 