This repository was archived by the owner on Jul 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
feat: add Albert API support #366
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eca9b78 to
8957546
Compare
OskarStark
commented
Jul 1, 2025
|
pipeline needs some attention @OskarStark - than we're good to merge I'd say |
72fafcb to
3d3113d
Compare
01542ed to
9d7c0e7
Compare
OskarStark
commented
Jul 16, 2025
OskarStark
commented
Jul 16, 2025
OskarStark
commented
Jul 16, 2025
dab5368 to
b197dce
Compare
OskarStark
commented
Jul 16, 2025
b197dce to
a6370de
Compare
OskarStark
commented
Jul 16, 2025
9d696a2 to
cc3c51a
Compare
OskarStark
commented
Jul 16, 2025
OskarStark
commented
Jul 16, 2025
OskarStark
commented
Jul 16, 2025
OskarStark
commented
Jul 16, 2025
cbb202d to
ad8a9b4
Compare
|
Rebase, added tests, fixed CI, good to merge from my side |
a7bf629 to
3311ff2
Compare
- Add Albert-specific model clients for OpenAI-compatible API - Add PlatformFactory for easy Albert platform creation - Add comprehensive unit tests for all components - Require explicit API version in URL (e.g., /v1, /v2) - Add strict URL validation (HTTPS required, no trailing slashes) - Use plain PHP exception handling instead of external assertions - Apply consistent code style and rector fixes
3311ff2 to
0bdf72a
Compare
chr-hertel
approved these changes
Jul 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it green - merging it in now 👍
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for Albert API, the French government's sovereign AI gateway. Albert provides an OpenAI-compatible API interface for various language models while ensuring data sovereignty and compliance with French/EU regulations.
Key Features
Implementation Details
Usage Example
Testing
Documentation
This implementation allows French public sector organizations to leverage LLM Chain while maintaining data sovereignty and regulatory compliance.
Closes #346