File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 15
15
],
16
16
"require" : {
17
17
"php" : " >=8.2" ,
18
- "php-llm/llm-chain" : " ^0.17 " ,
18
+ "php-llm/llm-chain" : " ^0.18 " ,
19
19
"symfony/config" : " ^6.4 || ^7.0" ,
20
20
"symfony/dependency-injection" : " ^6.4 || ^7.0" ,
21
21
"symfony/framework-bundle" : " ^6.4 || ^7.0" ,
Original file line number Diff line number Diff line change 8
8
use PhpLlm \LlmChain \Chain \StructuredOutput \ResponseFormatFactory ;
9
9
use PhpLlm \LlmChain \Chain \StructuredOutput \ResponseFormatFactoryInterface ;
10
10
use PhpLlm \LlmChain \Chain \ToolBox \ChainProcessor as ToolProcessor ;
11
- use PhpLlm \LlmChain \Chain \ToolBox \ToolAnalyzer ;
11
+ use PhpLlm \LlmChain \Chain \ToolBox \MetadataFactory ;
12
+ use PhpLlm \LlmChain \Chain \ToolBox \MetadataFactory \ReflectionFactory ;
12
13
use PhpLlm \LlmChain \Chain \ToolBox \ToolBox ;
13
14
use PhpLlm \LlmChain \Chain \ToolBox \ToolBoxInterface ;
14
15
use PhpLlm \LlmChain \Embedder ;
48
49
'$tools ' => tagged_iterator ('llm_chain.tool ' ),
49
50
])
50
51
->alias (ToolBoxInterface::class, ToolBox::class)
51
- ->set (ToolAnalyzer::class)
52
+ ->set (ReflectionFactory::class)
53
+ ->alias (MetadataFactory::class, ReflectionFactory::class)
52
54
->set ('llm_chain.tool.chain_processor.abstract ' )
53
55
->class (ToolProcessor::class)
54
56
->abstract ()
Original file line number Diff line number Diff line change 126
126
{% endfor %}
127
127
</ol >
128
128
{% else %}
129
- {{ call .input }}
129
+ {{ dump ( call .input ) }}
130
130
{% endif %}
131
131
</td >
132
132
</tr >
You can’t perform that action at this time.
0 commit comments