MultiAgentConfigurationProperty
Struct External
| 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_wisdom as wisdom } from 'aws-cdk-lib';
const multiAgentConfigurationProperty: wisdom.CfnAIAgent.MultiAgentConfigurationProperty = {
delegateAgentConfiguration: {
agentTarget: {
aiAgentId: 'aiAgentId',
applicationId: 'applicationId',
},
// the properties below are optional
instruction: {
examples: ['examples'],
instruction: 'instruction',
},
},
handoffAgentConfiguration: {
agentTarget: {
aiAgentId: 'aiAgentId',
applicationId: 'applicationId',
},
// the properties below are optional
audioStreamingEnabled: false,
immediateHandoff: false,
instruction: {
examples: ['examples'],
instruction: 'instruction',
},
},
};
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
multi_agent_configuration_property = wisdom.CfnAIAgent.MultiAgentConfigurationProperty(
delegate_agent_configuration=wisdom.CfnAIAgent.DelegateAgentConfigurationProperty(
agent_target=wisdom.CfnAIAgent.AgentTargetProperty(
ai_agent_id="aiAgentId",
application_id="applicationId"
),
# the properties below are optional
instruction=wisdom.CfnAIAgent.MultiAgentInstructionProperty(
examples=["examples"],
instruction="instruction"
)
),
handoff_agent_configuration=wisdom.CfnAIAgent.HandoffAgentConfigurationProperty(
agent_target=wisdom.CfnAIAgent.AgentTargetProperty(
ai_agent_id="aiAgentId",
application_id="applicationId"
),
# the properties below are optional
audio_streaming_enabled=False,
immediate_handoff=False,
instruction=wisdom.CfnAIAgent.MultiAgentInstructionProperty(
examples=["examples"],
instruction="instruction"
)
)
)
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.*;
MultiAgentConfigurationProperty multiAgentConfigurationProperty = MultiAgentConfigurationProperty.builder()
.delegateAgentConfiguration(DelegateAgentConfigurationProperty.builder()
.agentTarget(AgentTargetProperty.builder()
.aiAgentId("aiAgentId")
.applicationId("applicationId")
.build())
// the properties below are optional
.instruction(MultiAgentInstructionProperty.builder()
.examples(List.of("examples"))
.instruction("instruction")
.build())
.build())
.handoffAgentConfiguration(HandoffAgentConfigurationProperty.builder()
.agentTarget(AgentTargetProperty.builder()
.aiAgentId("aiAgentId")
.applicationId("applicationId")
.build())
// the properties below are optional
.audioStreamingEnabled(false)
.immediateHandoff(false)
.instruction(MultiAgentInstructionProperty.builder()
.examples(List.of("examples"))
.instruction("instruction")
.build())
.build())
.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.Wisdom;
var multiAgentConfigurationProperty = new MultiAgentConfigurationProperty {
DelegateAgentConfiguration = new DelegateAgentConfigurationProperty {
AgentTarget = new AgentTargetProperty {
AiAgentId = "aiAgentId",
ApplicationId = "applicationId"
},
// the properties below are optional
Instruction = new MultiAgentInstructionProperty {
Examples = new [] { "examples" },
Instruction = "instruction"
}
},
HandoffAgentConfiguration = new HandoffAgentConfigurationProperty {
AgentTarget = new AgentTargetProperty {
AiAgentId = "aiAgentId",
ApplicationId = "applicationId"
},
// the properties below are optional
AudioStreamingEnabled = false,
ImmediateHandoff = false,
Instruction = new MultiAgentInstructionProperty {
Examples = new [] { "examples" },
Instruction = "instruction"
}
}
};
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"
multiAgentConfigurationProperty := &MultiAgentConfigurationProperty{
DelegateAgentConfiguration: &DelegateAgentConfigurationProperty{
AgentTarget: &AgentTargetProperty{
AiAgentId: jsii.String("aiAgentId"),
ApplicationId: jsii.String("applicationId"),
},
// the properties below are optional
Instruction: &MultiAgentInstructionProperty{
Examples: []*string{
jsii.String("examples"),
},
Instruction: jsii.String("instruction"),
},
},
HandoffAgentConfiguration: &HandoffAgentConfigurationProperty{
AgentTarget: &AgentTargetProperty{
AiAgentId: jsii.String("aiAgentId"),
ApplicationId: jsii.String("applicationId"),
},
// the properties below are optional
AudioStreamingEnabled: jsii.Boolean(false),
ImmediateHandoff: jsii.Boolean(false),
Instruction: &MultiAgentInstructionProperty{
Examples: []*string{
jsii.String("examples"),
},
Instruction: jsii.String("instruction"),
},
},
}
Properties
delegateAgentConfigurationoptionalIResolvable | CfnAIAgent.delegate_agent_configurationoptionaltyping.Union[IResolvable, DelegateAgentConfigurationProperty]delegateAgentConfigurationoptionalIResolvableDelegateAgentConfigurationoptionalIResolvableDelegateAgentConfigurationoptionalinterface{} #handoffAgentConfigurationoptionalIResolvable | CfnAIAgent.handoff_agent_configurationoptionaltyping.Union[IResolvable, HandoffAgentConfigurationProperty]handoffAgentConfigurationoptionalIResolvableHandoffAgentConfigurationoptionalIResolvableHandoffAgentConfigurationoptionalinterface{} #