HN user

roh26it

135 karma

I'm a cofounder at Portkey (portkey.ai).

Twitter: @jumbld

Posts66
Comments96
View on HN
portkey.ai 6mo ago

Why do you need an MCP Gateway?

roh26it
1pts0
github.com 8mo ago

Show HN: Fast Semantic Tool-filtering for MCP servers

roh26it
1pts0
portkey.ai 11mo ago

Everything we know about Claude Code Limits

roh26it
4pts0
news.ycombinator.com 1y ago

Portkey's Prompt Engineering Studio – The IDE for Prompt Engineers

roh26it
2pts0
news.ycombinator.com 1y ago

Ask HN: Have you used v0, lovable or bolt for anything useful?

roh26it
2pts1
portkey.ai 1y ago

We analysed 4B requests on our AI Gateway

roh26it
5pts0
portkey.ai 1y ago

Come down a rabbit hole with OpenAI o1 system card

roh26it
1pts1
news.ycombinator.com 1y ago

Ask HN: Is function patching in Python acceptable for a library to do?

roh26it
3pts2
github.com 1y ago

Show HN: Created a notebook to compare the top LMSYS vision models easily

roh26it
2pts0
github.com 1y ago

Show HN: An open-source AI Gateway with integrated guardrails

roh26it
21pts5
huggingface.co 1y ago

I added context data to the TruthfulQA dataset

roh26it
1pts1
portkey.ai 2y ago

Implementing FrugalGPT in Production

roh26it
2pts0
serverfault.com 2y ago

Streaming LLM requests need this Nginx config

roh26it
1pts0
github.com 2y ago

Adding a streaming run function to the Assistants API

roh26it
1pts0
twitter.com 2y ago

Caching stream responses across LLMs is hard

roh26it
2pts0
portkey.ai 2y ago

My Journey with AI-Driven Development

roh26it
1pts0
github.com 2y ago

Show HN: A lightweight AI gateway to 100+ models, in TS

roh26it
37pts13
portkey.ai 2y ago

Show HN: Anyscale Inference and Portkey Ops

roh26it
2pts0
portkey.ai 2y ago

OpenAI DevDay's Implications for LLM Apps in Prod

roh26it
2pts1
portkey.ai 2y ago

Portkey launches LLM analytics suite for AI builders

roh26it
7pts1
portkey.ai 3y ago

Decoding OpenAI Evals Framework

roh26it
3pts1
twitter.com 3y ago

Comparing LLM Outputs Using Elo Ratings

roh26it
1pts0
shreyar.github.io 3y ago

SLAs for LLMs

roh26it
1pts0
freshdesk.com 6y ago

'Thank you' detection in customer support replies

roh26it
1pts0
medium.com 7y ago

An unusual winner in the note-taking apps category

roh26it
2pts1
news.ycombinator.com 8y ago

Ask HN: Webapp Sideproject – what boilerplate makes sense?

roh26it
2pts1
news.ycombinator.com 9y ago

Ask HN: Why are most ML and AI projects written in Python?

roh26it
5pts6
papers.nips.cc 9y ago

Efficient and Robust Automated Machine Learning [Research Paper] [pdf]

roh26it
2pts0
nakedsecurity.sophos.com 11y ago

5 things you should know about email unsubscribe links before you click

roh26it
8pts0
www.framebench.com 11y ago

Inline Annotations and Markup on Gmail Attachments

roh26it
12pts3

The most interesting findings (at least from my perspective) - OpenAI measured "honesty" that could become an interesting model eval others should adopt. - Using instruction heirarchy to _avoid_ prompt injections - When pushed to pursue misaligned goals, it tried to disable oversight in 5% of tests!

[dead] 2 years ago

I've been thinking about AI guardrails in production for almost 7 months now, and I'm convinced that using them to "control", "secure", or "block" LLM outputs is not the best use for them .

Using them to "guide", "accelerate", and "empower" your AI development process? Now we're talking.

Let me explain why I believe this shift in perspective could change how we build AI...

Most people see AI guardrails as training wheels. But what if we saw them as a nitrous boost for our AI hot rods instead?

When you're not worried about your AI going off the rails, you can push it to its limits. You can experiment with wilder ideas, test bolder hypotheses, and innovate at lightning speed.

Want to train on spicy data? Guardrails have your back. Thinking of an aggressive model architecture? Guardrails keep you in bounds. Controversial prompt? Guardrails ensure you don't cross the line.

Am I in the right direction, or am I just going off the rails?

We use a bunch of caching mechanisms on the LLM requests themselves and extend the same to guardrails now.

So there's 2 levels of cache - the LLM request itself might be cached (simple and semantic) and the guardrail response can be cached as well.

We use a mix of a distributed kv store and a vector DB to actually store the data

Being one of the most downloaded datasets on Huggingface, I was a little bit surprised by how dirty this dataset was. Plus it had very limited information and some incorrect classifications as well.

For an internal experiment on building a "Truthful Evaluator", we picked up this dataset and tried fine-tuning a model on these 8000 odd examples.

Realised that it needed: 1. Cleaning up 2. Some reclassification

But, most importantly - it lacked context data. It only had a link pointing to the source which was also absent for a few rows.

We scraped the internet for the link in the dataset, matched it to the question and narrowed down on a small context to be added to the main dataset.

Releasing it publicly so that someone else may avoid the 2-3 days of pain of wrangling with this data.

At Portkey, this is a problem we deal with quite a bit. Also the reason that Datadog and the traditional observability vendors did not work for LLM use cases since they're not built to handle large volumes of data.

We've done this through a careful combination of Clickhouse + MinIO for fast retrieval of log items + selected retrieval from the MinIO buckets.

Cost becomes a very big factor when managing, filtering and searching through TBs of data even for fairly small use cases.

One thing we lost in the process is full-text search over the request & response pairs and while we try to intelligently add metadata to requests to make searching easier, it isn't the complete experience yet. Still WIP as a problem statement to solve and maybe the last straw here. Any suggestions?

You beat us to posting Portkey to HN first! Thanks @gaocegege.

Having built LLM systems for the past 3 years, we painfully realised the need of DevOps for LLM systems, now emerging as the LLMOps/FMOps category. We're dead focused on the production side of things.

@HN - when building with LLMs, are you looking for LLMOps tools? How do you choose? What's most critical?

Pretty excited to launch this to the world! Have heard on multiple groups where people are trying to find various grants and credits programs. Hope this serves as a ready reckoner.

Please feel free to contribute.

While building LLM apps, we mostly cared about cost management as that completely sucked in the OpenAI dashboards.

We've today tried to create the perfect set of dashboards that can serve as a starting point for any AI builder to find control over the LLM requests. Very curious to get feedback from this community.

Accuracy & Hallucinations is one of the MAIN challenge for adopting LLMs in production. Evaluations as part of CI/CD and in real-time are very good counter-measures.

While amazing techniques & libraries exist for this, there's little literature on how to use them in production. Tried writing a detailed blog that decodes the OpenAI's evals framework and goes step-by-step through how to use it to your advantage.

You can learn how to use the eval framework to evaluate models & prompts to optimise LLM systems for the best outputs.