Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
func
NewFactory(p *core.Pipeline) *Factory {
33
return
&Factory{Pipeline: p}
34
}
35
36
// KnowledgeAddTool 将文本写入核心管线。
37
func
(f *Factory) KnowledgeAddTool() (tools.Tool, error) {
Callers
1
TestFactory_AddAndSearch
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestFactory_AddAndSearch
Function · 0.56