Skip to content

[Platform] Add Together platform bridge#2152

Open
Guikingone wants to merge 1 commit into
symfony:mainfrom
Guikingone:platform/together
Open

[Platform] Add Together platform bridge#2152
Guikingone wants to merge 1 commit into
symfony:mainfrom
Guikingone:platform/together

Conversation

@Guikingone

@Guikingone Guikingone commented Jun 10, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? yes
Docs? yes
Issues --
License MIT

Add a Together AI platform bridge covering the full inference API: chat completions, embeddings, image generation, text-to-speech, speech-to-text and reranking.

The architecture follows the Ollama-style approach: an endpoint-based factory wrapping the HTTP client in a ScopingHttpClient, a dynamic ModelCatalog backed by GET /v1/models (with a static overlay for audio models, which the endpoint does not expose), a single Together model class with capability-based request routing, URL-based result conversion, and a dedicated TogetherContract.

Includes the ai-bundle integration (config, service wiring, tests), documentation and runnable examples. PHPStan level 10 on the bridge package.

@Guikingone Guikingone force-pushed the platform/together branch 6 times, most recently from caf33b5 to c5c6abe Compare June 10, 2026 15:51
@Guikingone Guikingone marked this pull request as ready for review June 12, 2026 09:04
@carsonbot carsonbot added Bug Something isn't working Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review labels Jun 12, 2026
Add a Together AI platform bridge covering the full inference API: chat
completions, embeddings, image generation, text-to-speech, speech-to-text
and reranking.

The architecture follows the Ollama-style approach: an endpoint-based factory
wrapping the HTTP client in a ScopingHttpClient, a dynamic ModelCatalog backed
by GET /v1/models (with a static overlay for audio models, which the endpoint
does not expose), a single Together model class with capability-based request
routing, URL-based result conversion, and a dedicated TogetherContract.

Includes the ai-bundle integration (config, service wiring, tests),
documentation and runnable examples. PHPStan level 10 on the bridge package.
@chr-hertel chr-hertel removed the Bug Something isn't working label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants