Skip to content

Commit b5c8d4c

Browse files
committed
ref
1 parent 73dd177 commit b5c8d4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/chat/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ To initiate a chat, you need to instantiate the ``Symfony\AI\Chat\Chat`` along
2020
with a ``Symfony\AI\Chat\MessageStoreInterface`` and an ``Symfony\AI\Agent\AgentInterface`` ::
2121

2222
use Symfony\AI\Agent\Agent;
23+
use Symfony\AI\Chat\Chat;
24+
use Symfony\AI\Chat\Bridge\Local\InMemoryStore;
2325
use Symfony\AI\Platform\Bridge\OpenAi\Gpt;
2426
use Symfony\AI\Platform\Bridge\OpenAi\PlatformFactory;
27+
use Symfony\AI\Platform\Message\Message;
2528

2629
$platform = PlatformFactory::create($apiKey);
2730
$model = new Gpt(Gpt::GPT_4O_MINI);

0 commit comments

Comments
 (0)