

# InferenceConfig
<a name="API_agent-runtime_InferenceConfig"></a>

 The configuration for inference settings when generating responses using RetrieveAndGenerate. 

## Contents
<a name="API_agent-runtime_InferenceConfig_Contents"></a>

 ** textInferenceConfig **   <a name="bedrock-Type-agent-runtime_InferenceConfig-textInferenceConfig"></a>
 Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.   
Type: [TextInferenceConfig](API_agent-runtime_TextInferenceConfig.md) object  
Required: No

## See Also
<a name="API_agent-runtime_InferenceConfig_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-agent-runtime-2023-07-26/InferenceConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/InferenceConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/InferenceConfig) 