Skip to content

Commit ae3c575

Browse files
committed
ref
1 parent 0bfa15f commit ae3c575

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed
File renamed without changes.

src/chat/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Symfony AI - Chat Component
2+
3+
The Chat component provides a bridge for building chats with agents, sits on top of the Agent component,
4+
allowing you to create chats and submit messages to agents.
5+
6+
**This Component is experimental**.
7+
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
8+
are not covered by Symfony's
9+
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
10+
11+
## Installation
12+
13+
```bash
14+
composer require symfony/ai-chat
15+
```
16+
17+
**This repository is a READ-ONLY sub-tree split**. See
18+
https://github.com/symfony/ai to create issues or submit pull requests.
19+
20+
## Resources
21+
22+
- [Documentation](doc/index.rst)
23+
- [Report issues](https://github.com/symfony/ai/issues) and
24+
[send Pull Requests](https://github.com/symfony/ai/pulls)
25+
in the [main Symfony AI repository](https://github.com/symfony/ai)

src/chat/doc/index.rst

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

2222
use Symfony\AI\Agent\Agent;
23-
use Symfony\AI\Chat\Chat;
2423
use Symfony\AI\Chat\Bridge\Local\InMemoryStore;
24+
use Symfony\AI\Chat\Chat;
2525
use Symfony\AI\Platform\Bridge\OpenAi\Gpt;
2626
use Symfony\AI\Platform\Bridge\OpenAi\PlatformFactory;
2727
use Symfony\AI\Platform\Message\Message;

src/chat/src/Bridge/Symfony/SessionStore.php renamed to src/chat/src/Bridge/HttpFoundation/SessionStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Chat\Bridge\Symfony;
12+
namespace Symfony\AI\Chat\Bridge\HttpFoundation;
1313

1414
use Symfony\AI\Agent\Exception\RuntimeException;
1515
use Symfony\AI\Chat\MessageStoreInterface;

0 commit comments

Comments
 (0)