Builder

class Builder

Properties

Link copied to clipboard

The foundation model configuration. Required when foundationModelType is CUSTOM.

Link copied to clipboard

The type of foundation model to use. CUSTOM uses a specified model, MANAGED uses the service default.

Link copied to clipboard

The maximum number of agent iterations for retrieval.

Link copied to clipboard

The reranking model configuration. Required when rerankingModelType is CUSTOM.

Link copied to clipboard

The type of reranking model to use. CUSTOM uses a specified model, MANAGED uses the service default. If not specified, defaults to MANAGED for managed embedding knowledge bases and NONE for custom embedding knowledge bases.