# AIPromptInferenceConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const aIPromptInferenceConfigurationProperty: wisdom.CfnAIPrompt.AIPromptInferenceConfigurationProperty = {
  maxTokensToSample: 123,
  temperature: 123,
  topK: 123,
  topP: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

a_i_prompt_inference_configuration_property = wisdom.CfnAIPrompt.AIPromptInferenceConfigurationProperty(
    max_tokens_to_sample=123,
    temperature=123,
    top_k=123,
    top_p=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

AIPromptInferenceConfigurationProperty aIPromptInferenceConfigurationProperty = AIPromptInferenceConfigurationProperty.builder()
        .maxTokensToSample(123)
        .temperature(123)
        .topK(123)
        .topP(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var aIPromptInferenceConfigurationProperty = new AIPromptInferenceConfigurationProperty {
    MaxTokensToSample = 123,
    Temperature = 123,
    TopK = 123,
    TopP = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

aIPromptInferenceConfigurationProperty := &AIPromptInferenceConfigurationProperty{
	MaxTokensToSample: jsii.Number(123),
	Temperature: jsii.Number(123),
	TopK: jsii.Number(123),
	TopP: jsii.Number(123),
}
```

## Properties

- `maxTokensToSample`: number

- `temperature`: number

- `topK`: number

- `topP`: number
