Skip to content

Commit 3bfc403

Browse files
OskarStarkchr-hertel
authored andcommitted
Standardize Gemini naming throughout codebase
1 parent 6c41cd2 commit 3bfc403

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+105
-105
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Symfony AI is a set of components that integrate AI capabilities into PHP applic
1313
Symfony AI consists of several lower and higher level **components** and the respective integration **bundles**:
1414

1515
* **Components**
16-
* **[Platform](src/platform/README.md)**: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Google, and more.
16+
* **[Platform](src/platform/README.md)**: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Gemini, and more.
1717
* **[Agent](src/agent/README.md)**: Framework for building AI agents that can interact with users and perform tasks.
1818
* **[Store](src/store/README.md)**: Data storage abstraction with indexing and retrieval for AI applications.
1919
* **[MCP SDK](src/mcp-sdk/README.md)**: SDK for [Model Context Protocol](https://modelcontextprotocol.io) enabling communication between AI agents and tools.

examples/google/audio-input.php renamed to examples/gemini/audio-input.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\Google\Gemini;
14-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
14+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Content\Audio;
1616
use Symfony\AI\Platform\Message\Message;
1717
use Symfony\AI\Platform\Message\MessageBag;

examples/google/chat.php renamed to examples/gemini/chat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\Google\Gemini;
14-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
14+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Message;
1616
use Symfony\AI\Platform\Message\MessageBag;
1717

examples/google/embeddings.php renamed to examples/gemini/embeddings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
use Symfony\AI\Platform\Bridge\Google\Embeddings;
13-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
12+
use Symfony\AI\Platform\Bridge\Gemini\Embeddings;
13+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1414

1515
require_once dirname(__DIR__).'/bootstrap.php';
1616

examples/google/image-input.php renamed to examples/gemini/image-input.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\Google\Gemini;
14-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
14+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Content\Image;
1616
use Symfony\AI\Platform\Message\Message;
1717
use Symfony\AI\Platform\Message\MessageBag;

examples/google/pdf-input-binary.php renamed to examples/gemini/pdf-input-binary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\Google\Gemini;
14-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
14+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Content\Document;
1616
use Symfony\AI\Platform\Message\Message;
1717
use Symfony\AI\Platform\Message\MessageBag;

examples/google/server-tools.php renamed to examples/gemini/server-tools.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
use Symfony\AI\Agent\Toolbox\AgentProcessor;
1414
use Symfony\AI\Agent\Toolbox\Tool\Clock;
1515
use Symfony\AI\Agent\Toolbox\Toolbox;
16-
use Symfony\AI\Platform\Bridge\Google\Gemini;
17-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
16+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
17+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1818
use Symfony\AI\Platform\Message\Message;
1919
use Symfony\AI\Platform\Message\MessageBag;
2020

examples/google/stream.php renamed to examples/gemini/stream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\Google\Gemini;
14-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
14+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Message;
1616
use Symfony\AI\Platform\Message\MessageBag;
1717

examples/google/structured-output-clock.php renamed to examples/gemini/structured-output-clock.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
use Symfony\AI\Agent\Toolbox\AgentProcessor as ToolProcessor;
1515
use Symfony\AI\Agent\Toolbox\Tool\Clock;
1616
use Symfony\AI\Agent\Toolbox\Toolbox;
17-
use Symfony\AI\Platform\Bridge\Google\Gemini;
18-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
17+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
18+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1919
use Symfony\AI\Platform\Message\Message;
2020
use Symfony\AI\Platform\Message\MessageBag;
2121
use Symfony\Component\Clock\Clock as SymfonyClock;

examples/google/structured-output-math.php renamed to examples/gemini/structured-output-math.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
use Symfony\AI\Agent\Agent;
1313
use Symfony\AI\Agent\StructuredOutput\AgentProcessor;
1414
use Symfony\AI\Fixtures\StructuredOutput\MathReasoning;
15-
use Symfony\AI\Platform\Bridge\Google\Gemini;
16-
use Symfony\AI\Platform\Bridge\Google\PlatformFactory;
15+
use Symfony\AI\Platform\Bridge\Gemini\Gemini;
16+
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory;
1717
use Symfony\AI\Platform\Message\Message;
1818
use Symfony\AI\Platform\Message\MessageBag;
1919

0 commit comments

Comments
 (0)