stepback

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package stepback provides query abstraction steps for RAG pipelines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(generator core.QueryDecomposer) pipeline.Step[*core.RetrievalContext]

Generate creates a new step-back prompting step.

Parameters:

  • generator: step-back generator implementation

Example:

p.AddStep(stepback.Generate(generator))

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL