12
12
namespace Symfony \AI \Platform \Bridge \OpenAi ;
13
13
14
14
use Symfony \AI \Platform \Bridge \OpenAi \Contract \OpenAiContract ;
15
- use Symfony \AI \Platform \Bridge \OpenAi \Whisper \ModelClient as WhisperModelClient ;
16
- use Symfony \AI \Platform \Bridge \OpenAi \Whisper \ResultConverter as WhisperResponseConverter ;
17
15
use Symfony \AI \Platform \Contract ;
18
16
use Symfony \AI \Platform \Platform ;
19
17
use Symfony \Component \HttpClient \EventSourceHttpClient ;
@@ -40,13 +38,13 @@ public static function create(
40
38
new Gpt \ModelClient ($ httpClient , $ apiKey , $ region ),
41
39
new Embeddings \ModelClient ($ httpClient , $ apiKey , $ region ),
42
40
new DallE \ModelClient ($ httpClient , $ apiKey , $ region ),
43
- new WhisperModelClient ($ httpClient , $ apiKey , $ region ),
41
+ new Whisper \ ModelClient ($ httpClient , $ apiKey , $ region ),
44
42
],
45
43
[
46
44
new Gpt \ResultConverter (),
47
45
new Embeddings \ResultConverter (),
48
46
new DallE \ResultConverter (),
49
- new WhisperResponseConverter (),
47
+ new Whisper \ ResultConverter (),
50
48
],
51
49
$ contract ?? OpenAiContract::create (),
52
50
);
0 commit comments