Builder

Builder for SystemPromptAugmenter.

Provides a fluent API for constructing a SystemPromptAugmenter, which is convenient for Java users.

Example usage (Java):

new SystemPromptAugmenter.Builder()
.withTemplate("Use this context: {relevant_context}")
.build()

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The prefix to add before relevant context.

Link copied to clipboard

The template for the system message.

Functions

Link copied to clipboard

Builds a SystemPromptAugmenter from the current settings.

Link copied to clipboard
Link copied to clipboard

Fluent setter for template.