deepresearch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package deepresearch is a port of atomic-agents/deepresearch to secai. https://github.com/BrainBlend-AI/atomic-agents/blob/main/atomic-examples/deep-research/deep_research/main.py

Index

Constants

This section is empty.

Variables

View Source
var Sj = shared.Sj
View Source
var Sl = shared.Sl
View Source
var Sp = shared.Sp
View Source
var StarterQuestions = Sp(`
    1. Can you help me research the latest AI news?
    2. Who won the Nobel Prize in Physics this year?
    3. Where can I learn more about quantum computing?
`)
View Source
var WelcomeMessage = Sj(
	"Welcome to Deep Research - your AI-powered research assistant! I can help you explore and ",
	"understand any topic through detailed research and interactive discussion.",
)

Functions

This section is empty.

Types

type Agent

type Agent struct {
	*secai.Agent
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context) (*Agent, error)

func (*Agent) AnsweredEnter

func (a *Agent) AnsweredEnter(e *am.Event) bool

func (*Agent) AnsweredState

func (a *Agent) AnsweredState(e *am.Event)

func (*Agent) AnsweringState

func (a *Agent) AnsweringState(e *am.Event)

func (*Agent) CheckingInfoState

func (a *Agent) CheckingInfoState(e *am.Event)

func (*Agent) DisposedState

func (a *Agent) DisposedState(e *am.Event)

func (*Agent) ExceptionState

func (a *Agent) ExceptionState(e *am.Event)

func (*Agent) InputPendingState

func (a *Agent) InputPendingState(e *am.Event)

InputPendingState is a test mocking handler.

func (*Agent) InterruptState

func (a *Agent) InterruptState(e *am.Event)

func (*Agent) LoopState

func (a *Agent) LoopState(e *am.Event)

func (*Agent) Output

func (a *Agent) Output(msg string, from shared.From)

func (*Agent) PromptEnter

func (a *Agent) PromptEnter(e *am.Event) bool

func (*Agent) PromptState

func (a *Agent) PromptState(e *am.Event)

func (*Agent) ReadyEnter

func (a *Agent) ReadyEnter(e *am.Event) bool

func (*Agent) ScrapingState

func (a *Agent) ScrapingState(e *am.Event)

func (*Agent) SearchingLLMState

func (a *Agent) SearchingLLMState(e *am.Event)

func (*Agent) SearchingWebState

func (a *Agent) SearchingWebState(e *am.Event)

func (*Agent) StartState

func (a *Agent) StartState(e *am.Event)

func (*Agent) UIModeState

func (a *Agent) UIModeState(e *am.Event)

type S

type S = am.S

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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