KnowledgeBaseFlowNodeConfiguration

Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see Node types in a flow in the Amazon Bedrock User Guide.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.

Link copied to clipboard

Contains inference configurations for the prompt.

Link copied to clipboard

The unique identifier of the knowledge base to query.

Link copied to clipboard

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.

Link copied to clipboard

The number of results to retrieve from the knowledge base.

Link copied to clipboard

The configuration for orchestrating the retrieval and generation process in the knowledge base node.

Link copied to clipboard

A custom prompt template to use with the knowledge base for generating responses.

Link copied to clipboard

The configuration for reranking the retrieved results from the knowledge base to improve relevance.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String