chat

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StandardStepFactory

type StandardStepFactory struct {
	Settings *settings.StepSettings
}

func (*StandardStepFactory) NewStepFromLayers

func (s *StandardStepFactory) NewStepFromLayers(layers map[string]*layers.ParsedParameterLayer) (Step, error)

type Step

type Step interface {
	steps.Step[[]*context.Message, string]
	SetStreaming(bool)
}

type StepFactory

type StepFactory interface {
	NewStepFromLayers(layers map[string]*layers.ParsedParameterLayer) (Step, error)
}

Jump to

Keyboard shortcuts

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