Better HN
topnewbestaskshowjobs
Log inSign up

roh26it

135 karma · joined Sep 10, 2010 (16y ago) · 173 submissions

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

Twitter: @jumbld

Submissions

comment 6mo ago · link · parent

What do you use for the onboarding guide?

comment 7mo ago · link · parent

Well written, but does this all change in a claude-ified world?

3.

Why do you need an MCP Gateway?(portkey.ai ↗)

1 points · by roh26it · 10mo ago · discuss

4.

Show HN: Fast Semantic Tool-filtering for MCP servers(github.com ↗)

1 points · by roh26it · 1y ago · discuss

5.

Everything we know about Claude Code Limits(portkey.ai ↗)

4 points · by roh26it · 1y ago · discuss

6.

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

2 points · by roh26it · 1y ago · discuss

7.

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

2 points · by roh26it · 1y ago · 1 comment

8.

We analysed 4B requests on our AI Gateway(portkey.ai ↗)

5 points · by roh26it · 1y ago · discuss

comment 1y ago · link · parent

Looks solid, going to try it out.

I'm going to be __that guy__, but just ask - is the functionality set similar to llamaparse or is this llamaparse + llm?

comment 1y ago · link · parent

So, while time to first token is lower, throughput might also be lower in most cases?

comment 1y ago · link · parent

What are the trade-offs you've made to achieve this?

comment 1y ago · link · parent

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!

13.

Come down a rabbit hole with OpenAI o1 system card(portkey.ai ↗)

1 points · by roh26it · 1y ago · 1 comment

14.

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

3 points · by roh26it · 2y ago · 2 comments

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

Also wondering if this would become expensive very fast if it ends up using S3 with a large number of PUT calls

17.

Show HN: Created a notebook to compare the top LMSYS vision models easily(github.com ↗)

2 points · by roh26it · 2y ago · discuss

comment 2y ago · link · parent

thanks for the support!

comment 2y ago · link · parent

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

20.

Show HN: An open-source AI Gateway with integrated guardrails(github.com ↗)

21 points · by roh26it · 2y ago · 5 comments

comment 2y ago · link · parent

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.

22.

I added context data to the TruthfulQA dataset(huggingface.co ↗)

1 points · by roh26it · 2y ago · 1 comment

comment 2y ago · link · parent

Here's a mega guide on keeping costs low with LLMs - https://portkey.ai/blog/implementing-frugalgpt-smarter-llm-u...

tl;dr: - Keep prompts short, combine prompts or make more detailed prompts but go to a smaller model - Simple and semantic cache lookups - Classify tasks and route to the best LLM using an AI gateway

Portkey.ai could help with a lot of this

comment 2y ago · link · parent

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?

25.

Implementing FrugalGPT in Production(portkey.ai ↗)

2 points · by roh26it · 2y ago · discuss

26.

Streaming LLM requests need this Nginx config(serverfault.com ↗)

1 points · by roh26it · 2y ago · discuss

comment 2y ago · link · parent

Openrouter packages APIs and most companies prefer having individual relationships with AI vendors. Choosing an AI gateway might be another way to go

comment 2y ago · link · parent

Individual subreddits have usually been my go-to place to discuss and understand the nuances of academic papers. Love LocalLLama for discussions on generative AI papers.
123456