feat: add Flask microservice example#27
Open
MarceloAdan73 wants to merge 2 commits into
Open
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
MarceloAdan73
force-pushed
the
feat/flask-example
branch
from
July 5, 2026 02:00
a2d3f37 to
61d6c6e
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA |
Contributor
|
Thanks for this — it's a genuinely useful addition and the first example that integrates One security change is required before we can merge, plus a couple of minor cleanups:
With the |
MarceloAdan73
force-pushed
the
feat/flask-example
branch
from
July 16, 2026 22:02
2539459 to
7741c1d
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Adds
examples/flask_microservice.py— a multi-provider LLM API built withFlask and llm_bridge. Includes:
reading time) with zero network dependencies
This is the first example showing llm_bridge integrated in a web framework,
demonstrating real-world patterns like per-request provider selection and
structured prompt templates.
Checklist
ruff check .andblack --check .pass