Documentation ¶
Index ¶
- Variables
- func NewAutoWebSearchAgent(llm llms.Model) (*agents.Executor, error)
- func NewSearchInputDesigner() tools.Tool
- func NewSystemGeneratorExecutor(sgc *UserExchangeChans) (*agents.OpenAIFunctionsAgent, error)
- func NewWebSearchAgent(llm llms.Model, urls []string) (func(ctx context.Context, question string) (map[string]any, error), error)
- func RandomUserAgent() string
- type ExchangeWithUser
- type SearchInputDesigner
- type UserExchangeChans
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemGeneratorPrompt = `` /* 3502-byte string literal not displayed */
Functions ¶
func NewSearchInputDesigner ¶
func NewSystemGeneratorExecutor ¶
func NewSystemGeneratorExecutor(sgc *UserExchangeChans) (*agents.OpenAIFunctionsAgent, error)
func NewWebSearchAgent ¶
func RandomUserAgent ¶
func RandomUserAgent() string
Types ¶
type ExchangeWithUser ¶
type ExchangeWithUser struct {
// contains filtered or unexported fields
}
func NewExchangeWithUser ¶
func NewExchangeWithUser(sgc *UserExchangeChans) *ExchangeWithUser
func (*ExchangeWithUser) Description ¶
func (e *ExchangeWithUser) Description() string
func (*ExchangeWithUser) Name ¶
func (e *ExchangeWithUser) Name() string
type SearchInputDesigner ¶
type SearchInputDesigner struct { }
func (*SearchInputDesigner) Description ¶
func (s *SearchInputDesigner) Description() string
func (*SearchInputDesigner) Name ¶
func (s *SearchInputDesigner) Name() string
type UserExchangeChans ¶
Click to show internal directories.
Click to hide internal directories.