SessionSummaryConfigurationProperty
Struct External
Configuration for SESSION_SUMMARY memory type enabled for the agent.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const sessionSummaryConfigurationProperty: bedrock.CfnAgent.SessionSummaryConfigurationProperty = {
maxRecentSessions: 123,
};
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_bedrock as bedrock
session_summary_configuration_property = bedrock.CfnAgent.SessionSummaryConfigurationProperty(
max_recent_sessions=123
)
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.bedrock.*;
SessionSummaryConfigurationProperty sessionSummaryConfigurationProperty = SessionSummaryConfigurationProperty.builder()
.maxRecentSessions(123)
.build();
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.Bedrock;
var sessionSummaryConfigurationProperty = new SessionSummaryConfigurationProperty {
MaxRecentSessions = 123
};
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"
sessionSummaryConfigurationProperty := &SessionSummaryConfigurationProperty{
MaxRecentSessions: jsii.Number(123),
}
Properties
maxRecentSessionsoptionalnumbermax_recent_sessionsoptionalint | floatmaxRecentSessionsoptionalNumberMaxRecentSessionsoptionaldoubleMaxRecentSessionsoptional*float64 #Maximum number of recent session summaries to include in the agent's prompt context.