Skip to content

Commit f7a9bf2

Browse files
authored
fix: readd processor tags for structured output and tools for default behavior (#52)
1 parent ec4119e commit f7a9bf2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Resources/config/services.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
->alias(ResponseFormatFactoryInterface::class, ResponseFormatFactory::class)
4545
->set(SchemaFactory::class)
4646
->set(StructureOutputProcessor::class)
47+
->tag('llm_chain.chain.input_processor')
48+
->tag('llm_chain.chain.output_processor')
4749

4850
// tools
4951
->set('llm_chain.toolbox.abstract')
@@ -68,6 +70,8 @@
6870
])
6971
->set(ToolProcessor::class)
7072
->parent('llm_chain.tool.chain_processor.abstract')
73+
->tag('llm_chain.chain.input_processor')
74+
->tag('llm_chain.chain.output_processor')
7175
->args([
7276
'$toolBox' => service(ToolBoxInterface::class),
7377
])

0 commit comments

Comments
 (0)