MCPcopy Create free account
hub / github.com/astercloud/aster / NewFactory

Function NewFactory

pkg/tools/knowledge/factory.go:32–34  ·  view source on GitHub ↗
(p *core.Pipeline)

Source from the content-addressed store, hash-verified

30}
31
32func NewFactory(p *core.Pipeline) *Factory {
33 return &Factory{Pipeline: p}
34}
35
36// KnowledgeAddTool 将文本写入核心管线。
37func (f *Factory) KnowledgeAddTool() (tools.Tool, error) {

Callers 1

TestFactory_AddAndSearchFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestFactory_AddAndSearchFunction · 0.56