Skip to content

Add python interfaces - #526

Draft
gkumbhat wants to merge 11 commits into
foundation-model-stack:mainfrom
gkumbhat:add_python_interfaces
Draft

Add python interfaces#526
gkumbhat wants to merge 11 commits into
foundation-model-stack:mainfrom
gkumbhat:add_python_interfaces

Conversation

@gkumbhat

Copy link
Copy Markdown
Collaborator

Changes

This PR exposes a python interface for guardrails orchestrator allowing native integration with python toolkits to provide easier integration and support embedding guardrails in agentic use-cases with commonly used frameworks.

  1. Add pyo3 as dependency along with other required for this work.
  2. Add python interfaces for orchestrator data models
  3. Add implementation for Content detection and chat completion with detectors
  4. Add python example showing integration with langchain.

Gaurav Kumbhat and others added 11 commits November 4, 2025 14:26
Signed-off-by: Gaurav Kumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: Gaurav Kumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
…and cleanup the code

Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant