|
6 | 6 | blog:
|
7 | 7 | # platform: 'ai.platform.anthropic'
|
8 | 8 | model:
|
9 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\GPT' |
10 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\GPT::GPT_4O_MINI |
| 9 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Gpt' |
| 10 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI |
11 | 11 | tools:
|
12 | 12 | - 'Symfony\AI\Agent\Toolbox\Tool\SimilaritySearch'
|
13 | 13 | - service: 'clock'
|
|
16 | 16 | method: 'now'
|
17 | 17 | stream:
|
18 | 18 | model:
|
19 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\GPT' |
20 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\GPT::GPT_4O_MINI |
| 19 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Gpt' |
| 20 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI |
21 | 21 | system_prompt: |
|
22 | 22 | You are an example chat application where messages from the LLM are streamed to the user using
|
23 | 23 | Server-Sent Events via `symfony/ux-turbo` / Turbo Streams. This example does not use any custom
|
|
26 | 26 | tools: false
|
27 | 27 | youtube:
|
28 | 28 | model:
|
29 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\GPT' |
30 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\GPT::GPT_4O_MINI |
| 29 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Gpt' |
| 30 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI |
31 | 31 | tools: false
|
32 | 32 | wikipedia:
|
33 | 33 | model:
|
34 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\GPT' |
35 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\GPT::GPT_4O_MINI |
| 34 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Gpt' |
| 35 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI |
36 | 36 | options:
|
37 | 37 | temperature: 0.5
|
38 | 38 | system_prompt: 'Please answer the users question based on Wikipedia and provide a link to the article.'
|
|
41 | 41 | - 'Symfony\AI\Agent\Toolbox\Tool\Wikipedia'
|
42 | 42 | audio:
|
43 | 43 | model:
|
44 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\GPT' |
45 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\GPT::GPT_4O_MINI |
| 44 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Gpt' |
| 45 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI |
46 | 46 | system_prompt: 'You are a friendly chatbot that likes to have a conversation with users and asks them some questions.'
|
47 | 47 | tools:
|
48 | 48 | # Agent in agent 🤯
|
|
56 | 56 | indexer:
|
57 | 57 | default:
|
58 | 58 | model:
|
59 |
| - class: 'Symfony\AI\Platform\Bridge\OpenAI\Embeddings' |
60 |
| - name: !php/const Symfony\AI\Platform\Bridge\OpenAI\Embeddings::TEXT_ADA_002 |
| 59 | + class: 'Symfony\AI\Platform\Bridge\OpenAi\Embeddings' |
| 60 | + name: !php/const Symfony\AI\Platform\Bridge\OpenAi\Embeddings::TEXT_ADA_002 |
61 | 61 |
|
62 | 62 | services:
|
63 | 63 | _defaults:
|
|
0 commit comments