Skip to content

docs: show OpenAI-compatible gateway setup#1022

Open
cerebrixos wants to merge 1 commit into
prism-php:mainfrom
cerebrixos:tuning-engines-openai-compatible-docs
Open

docs: show OpenAI-compatible gateway setup#1022
cerebrixos wants to merge 1 commit into
prism-php:mainfrom
cerebrixos:tuning-engines-openai-compatible-docs

Conversation

@cerebrixos

Copy link
Copy Markdown

Summary

  • add an OpenAI-compatible gateway example to the OpenAI provider page
  • show how to route Prism through Tuning Engines by changing the provider URL and API key
  • keep Prism application calls unchanged with ->using('openai', 'gpt-4o')

Why

We are a Rails and AI infrastructure team using Prism with Tuning Engines. Since Prism already supports configurable provider URLs, this gives Laravel/PHP teams a simple setup path for governed model access, policy checks, traces, audit logs, and usage/cost reporting without changing their Prism application logic. It would mean a lot to us if you are open to including it, and I am happy to revise the copy to fit the docs style.

Validation

  • git diff --check

@cerebrixos

Copy link
Copy Markdown
Author

Hello team @pocketarc . Please do consider this PR for merge. So much appreciate in advance :)

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