AgentFlowDefinitionNodeConfigurationKnowledgeBase class

Constructors

AgentFlowDefinitionNodeConfigurationKnowledgeBase({Input<AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration?>? guardrailConfiguration, Input<AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration?>? inferenceConfiguration, required Input<String> knowledgeBaseId, required Input<String> modelId, Input<int?>? numberOfResults})
Creates a new AgentFlowDefinitionNodeConfigurationKnowledgeBase. guardrailConfiguration Configures a guardrail for knowledge base query and response generation. See Guardrail Configuration for more information. inferenceConfiguration Configures model inference for knowledge base query and response generation. See Inference Configuration for more information. knowledgeBaseId The unique identifier of the knowledge base to query. modelId The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array. numberOfResults Optional.
const
AgentFlowDefinitionNodeConfigurationKnowledgeBase.fromMap(Map<String, dynamic> map)
factory

Properties

guardrailConfiguration → Input<AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration?>?
Configures a guardrail for knowledge base query and response generation. See Guardrail Configuration for more information.
final
hashCode → int
The hash code for this object.
no setterinherited
inferenceConfiguration → Input<AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration?>?
Configures model inference for knowledge base query and response generation. See Inference Configuration for more information.
final
knowledgeBaseId → Input<String>
The unique identifier of the knowledge base to query.
final
modelId → Input<String>
The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
final
numberOfResults → Input<int?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited