TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Model Gateway and LLM Guardrails with OpenAI SDK

3 pointsby veryrealsid8 months ago
Hello Hacker News!<p>We&#x27;ve updated our model gateway + guardrail tool called `optimodel` to use the on the OpenAI SDK primarily on the client side.<p>Now with a few lines changed you can instantly get access to 25+ model along with LLM guardrails like Llama prompt guard or Microsofts PII guard. All with the same OpenAI interface, no changes to your code.<p>We hope this will make it easier for developers to try out new models with ease along with setting up LLM guardrails with little changes to your code<p>We also have some fun features like fallback support to defer to other models if a provider is down, speed priority to choose the provider thats the cheapest regardless of speed, and more!<p>We&#x27;d love feedback on this to see if it can help others!<p>You can find the project here: <a href="https:&#x2F;&#x2F;github.com&#x2F;Lytix-Labs&#x2F;optimodel&#x2F;tree&#x2F;master">https:&#x2F;&#x2F;github.com&#x2F;Lytix-Labs&#x2F;optimodel&#x2F;tree&#x2F;master</a>

no comments

no comments