

# QueryGenerationConfiguration
<a name="API_agent_QueryGenerationConfiguration"></a>

Contains configurations for query generation. For more information, see [Build a knowledge base by connecting to a structured data source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) in the Amazon Bedrock User Guide..

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

 ** executionTimeoutSeconds **   <a name="bedrock-Type-agent_QueryGenerationConfiguration-executionTimeoutSeconds"></a>
The time after which query generation will time out.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 200.  
Required: No

 ** generationContext **   <a name="bedrock-Type-agent_QueryGenerationConfiguration-generationContext"></a>
Specifies configurations for context to use during query generation.  
Type: [QueryGenerationContext](API_agent_QueryGenerationContext.md) object  
Required: No

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