copywriter

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const NoneOfTheAboveChoice = "None of the above"

Variables

This section is empty.

Functions

func NewExportAgent

func NewExportAgent(
	logger tools.Logger,
	project string,
) *exportAgent

TODO(nullswan): add project handling TODO(nullswan): add file manager tools

func NewGoalsAgent

func NewGoalsAgent(
	textToJSONBackend tools.TextToJSONBackend,
	inputHandler tools.InputHandler,
	logger tools.Logger,
	selector tools.Selector,
) *goalsAgent

func NewHeadlineAgent

func NewHeadlineAgent(
	logger tools.Logger,
	textToJSONBackend tools.TextToJSONBackend,
	selector tools.Selector,
	inputHandler tools.InputHandler,
	goalsAgent *goalsAgent,
	ideasAgent *ideasAgent,
) *headlineAgent

func NewIdeasAgent

func NewIdeasAgent(
	logger tools.Logger,
	textToJSONBackend tools.TextToJSONBackend,
	goalsAgent *goalsAgent,
	inputHandler tools.InputHandler,
) *ideasAgent

func NewOutlineAgent

func NewOutlineAgent(
	logger tools.Logger,
	textToJSONBackend tools.TextToJSONBackend,
	selector tools.Selector,
	inputHandler tools.InputHandler,
	goalsAgent *goalsAgent,
	ideasAgent *ideasAgent,
	headlineAgent *headlineAgent,
) *outlineAgent

func NewRedactAgent

func NewRedactAgent(
	goalsAgent *goalsAgent,
	ideasAgent *ideasAgent,
	headlineAgent *headlineAgent,
	outlineAgent *outlineAgent,
	exportAgent *exportAgent,
	logger tools.Logger,
	inputHandler tools.InputHandler,
	textToJSONBackend tools.TextToJSONBackend,
	selector tools.Selector,
) *redactAgent

func OnStart

func OnStart(
	ctx context.Context,
	selector tools.Selector,
	logger tools.Logger,
	inputHandler tools.InputHandler,
	textToJSONBackend tools.TextToJSONBackend,
	conversation chat.Conversation,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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