31 Commits

Author SHA1 Message Date
asrar
40eae360cd example: Add geminis document understanding example 2025-12-31 17:25:33 +01:00
Oskar Stark
edc191388f Move fixtures to corresponding component 2025-12-16 13:02:06 +01:00
Oskar Stark
9fcaa16b55 Move bridge fixtures to their dedicated bridge test directories 2025-12-16 09:55:29 +01:00
Guillaume Loulier
8be0a4ce32 [Platform] Add Decart 2025-12-10 15:37:03 +01:00
Oskar Stark
779e30443f Rename fixtures folders to Fixtures to match Symfony standard 2025-11-24 11:12:38 +01:00
Vincent Langlet
1c0df52034 Use custom serializer for PlatformSubscriber 2025-11-22 17:14:50 +01:00
Christopher Hertel
23d8a33244 Remove confidence from output structure 2025-11-22 00:14:36 +01:00
Christopher Hertel
3f8820dd60 Extend Hugging Face support and fix/update examples 2025-11-09 23:42:05 +01:00
Christopher Hertel
2222db73b8 Enable tools to add sources 2025-10-09 23:29:55 +02:00
Oskar Stark
9ed94288f1 [AI Bundle][Agent] Add support for prompt as file 2025-10-02 12:47:47 +02:00
HaKIM
36f5bb44f0 [Agent][Platform] Add support for native union types and list of polymporphic* types by using DiscriminatorMap 2025-09-19 10:45:14 +02:00
Oskar Stark
a709f6df60 feature #478 [Agent] Allow exposing tool exceptions to AI (valtzu)
This PR was merged into the main branch.

Discussion
----------

[Agent] Allow exposing tool exceptions to AI

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Docs?         | yes
| Issues        | Fix #255
| License       | MIT

Make it possible to throw custom exceptions that expose the error to the LLM when using `FaultTolerantToolbox`.

Example use case: an event listener for `ToolCallArgumentsResolved` that validates the tool call arguments and throws if any violations found. Then the LLM can auto-fix the input.

Commits
-------

a06e551d [Agent] Allow exposing exceptions to AI
2025-09-09 00:06:01 +02:00
Christopher Hertel
f2a53273f9 feature #465 [Examples][Store] Implement indexing pipeline (OskarStark)
This PR was squashed before being merged into the main branch.

Discussion
----------

[Examples][Store] Implement indexing pipeline

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Docs?         | no
| Issues        | Fixes #429
| License       | MIT

### Needs
* https://github.com/symfony/ai/pull/468

### `./runner indexer`
<img width="1832" height="664" alt="CleanShot 2025-09-08 at 17 11 53@2x" src="https://github.com/user-attachments/assets/19f32f93-f4b5-4b90-86a4-74d1623f78f1" />

### `bin/console app:blog:embed` (removed)
<img width="1780" height="306" alt="CleanShot 2025-09-08 at 17 12 45@2x" src="https://github.com/user-attachments/assets/4c8905be-f7b3-455b-8d20-112fe9f77136" />

### `bin/console app:blog:query`
<img width="1752" height="1168" alt="CleanShot 2025-09-08 at 17 13 34@2x" src="https://github.com/user-attachments/assets/45211bfb-366e-413b-b80f-33a757c63e31" />

### `bin/console ai:store:index blog`
<img width="1930" height="388" alt="CleanShot 2025-09-08 at 22 41 00@2x" src="https://github.com/user-attachments/assets/1d27d5e4-de23-4c3a-8465-a87eba79f2fc" />

Commits
-------

29349c11 [Examples][Store] Implement indexing pipeline
2025-09-09 00:02:08 +02:00
Oskar Stark
29349c1104 [Examples][Store] Implement indexing pipeline 2025-09-09 00:01:41 +02:00
Oskar Stark
5e237d97ea [Platform] Add automatic enum validation for backed enums 2025-09-08 23:27:32 +02:00
Christopher Hertel
14d5ccf788 Fix data types of enum values in Json Schema 2025-09-08 17:35:49 +02:00
valtzu
a06e551de9 [Agent] Allow exposing exceptions to AI 2025-09-07 16:32:49 +03:00
Pentiminax
a46ddcf552 [Platform][VertexAI] Update ResultConverter 2025-09-05 14:27:42 +02:00
Pentiminax
bbff633bf2 [Platform][Gemini] Fix choice conversion logic for executableCode and codeExecutionResult 2025-09-05 11:01:40 +02:00
Dave Heineman
c60c713545 Allow the JsonSchema With attribute to be used for structured output 2025-08-29 12:34:11 +02:00
Oskar Stark
83582b68ca minor #309 Fix code style (chr-hertel)
This PR was merged into the main branch.

Discussion
----------

 Fix code style

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

Not sure this is correct ... but had the delta locally

Commits
-------

f59f954 Fix code style
2025-08-13 13:49:13 +02:00
junaid farooq
ecc141b224 fix(json-schema): Remove required parameter from With attribute as the required properties are inferred from type definition 2025-08-13 16:58:38 +05:30
Christopher Hertel
f59f954a7f Fix code style 2025-08-12 19:38:06 +02:00
valtzu
c174b646e8 [Agent][AIBundle] Improve tool argument resolving 2025-07-21 16:25:58 +03:00
Christopher Hertel
310713ec6b introduce movie fixtures 2025-07-15 13:14:58 +02:00
Christopher Hertel
8bd22e8c33 fix: resolve array tool arguments (#368)
@valtzu any idea about this case?

found it after merging #359 with example
[examples/toolbox/tavily.php](https://github.com/php-llm/llm-chain/blob/main/examples/toolbox/tavily.php)

patch feels a bit hacky, but does the job atm
2025-07-04 22:53:27 +02:00
Christopher Hertel
05c1650541 feature #57 feat: implement document loader & transformer for store indexing (chr-hertel)
This PR was merged into the main branch.

Discussion
----------

feat: implement document loader & transformer for store indexing

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Docs?         |
| Issues        |
| License       | MIT

Cherry picking https://github.com/php-llm/llm-chain/pull/343

Commits
-------

83ce86f feat: implement document loader & transformer for store indexing (#343)
2025-07-04 22:10:01 +02:00
Christopher Hertel
83ce86f8d2 feat: implement document loader & transformer for store indexing (#343) 2025-07-04 22:08:00 +02:00
valtzu
1491da859c feat: Denormalize tool arguments (#359)
Resolves #352
2025-07-04 22:05:55 +02:00
Christopher Hertel
c26add7bbb chore: move example runner into examples folder including composer setup for examples 2025-06-13 12:34:10 +02:00
Christopher Hertel
7b7dc8ceaf refactor: rework LLM Chain into Symfony AI 2025-06-07 15:28:50 +02:00