AugmentationConfig interface

Interface for the augmentation configuration portion of a prompt template.

Remarks

New in schema version 1.1.

Properties

augmentation_type

The type of augmentation to use.

data_sources

Optional. List of named data sources to augment the prompt with.

Property Details

augmentation_type

The type of augmentation to use.

augmentation_type: "none" | "monologue" | "sequence" | "tools"

Property Value

"none" | "monologue" | "sequence" | "tools"

data_sources

Optional. List of named data sources to augment the prompt with.

data_sources?: {[name: string]: number}

Property Value

{[name: string]: number}

Remarks

For each data source, the value is the max number of tokens to use from the data source.