Documentation ¶
Index ¶
- Constants
- func NewExportAgent(logger tools.Logger, project string) *exportAgent
- func NewGoalsAgent(textToJSONBackend tools.TextToJSONBackend, inputHandler tools.InputHandler, ...) *goalsAgent
- func NewHeadlineAgent(logger tools.Logger, textToJSONBackend tools.TextToJSONBackend, ...) *headlineAgent
- func NewIdeasAgent(logger tools.Logger, textToJSONBackend tools.TextToJSONBackend, ...) *ideasAgent
- func NewOutlineAgent(logger tools.Logger, textToJSONBackend tools.TextToJSONBackend, ...) *outlineAgent
- func NewRedactAgent(goalsAgent *goalsAgent, ideasAgent *ideasAgent, headlineAgent *headlineAgent, ...) *redactAgent
- func OnStart(ctx context.Context, selector tools.Selector, logger tools.Logger, ...) error
Constants ¶
View Source
const NoneOfTheAboveChoice = "None of the above"
Variables ¶
This section is empty.
Functions ¶
func NewExportAgent ¶
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.
Click to show internal directories.
Click to hide internal directories.