File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 27
27
use Symfony \AI \Platform \Bridge \Anthropic \Contract \AnthropicContract ;
28
28
use Symfony \AI \Platform \Bridge \Gemini \Contract \GeminiContract ;
29
29
use Symfony \AI \Platform \Bridge \Ollama \Contract \OllamaContract ;
30
- use Symfony \AI \Platform \Bridge \OpenAi \Whisper \ AudioNormalizer ;
30
+ use Symfony \AI \Platform \Bridge \OpenAi \Contract \ OpenAiContract ;
31
31
use Symfony \AI \Platform \Bridge \VertexAi \Contract \GeminiContract as VertexAiGeminiContract ;
32
32
use Symfony \AI \Platform \Contract ;
33
33
use Symfony \AI \Platform \Contract \JsonSchema \DescriptionParser ;
37
37
$ container ->services ()
38
38
->set ('ai.platform.contract.default ' , Contract::class)
39
39
->factory ([Contract::class, 'create ' ])
40
- ->set ('ai.platform.contract.openai ' )
41
- ->parent ('ai.platform.contract.default ' )
42
- ->args ([
43
- inline_service (AudioNormalizer::class),
44
- ])
40
+ ->set ('ai.platform.contract.openai ' , Contract::class)
41
+ ->factory ([OpenAiContract::class, 'create ' ])
45
42
->set ('ai.platform.contract.anthropic ' , Contract::class)
46
43
->factory ([AnthropicContract::class, 'create ' ])
47
44
->set ('ai.platform.contract.google ' , Contract::class)
You can’t perform that action at this time.
0 commit comments