Better HN
topnewbestaskshowjobs
Log inSign up

retrovrv

11 karma · joined Jun 18, 2020 (6y ago) · 45 submissions

Student of artful reality.

Curious what that means? Let's chat: <hn username> at gmail

Work with https://portkey.ai/ (Observability, evaluation, and AI gateway for foundation models)

Submissions

comment 1y ago · link · parent

Your best bet is having an account on AWS Bedrock & Vertex AI so you're able to route your request to the same model (such as claude-sonnet-4) but on a different provider.

comment 1y ago · link · parent

there's portkey that we've been working on: https://github.com/portkey-AI/gateway

comment 1y ago · link · parent

we essentially built the gateway as a service rather than an SDK: https://github.com/portkey-AI/gateway

comment 1y ago · link · parent

just wanted to say, fantastic note. thanks for sharing!

comment 1y ago · link · parent

thank you! we don't have a strong Evals module within our Prompt Studio at the moment. So there's no straightforward way to do that. however, we do have one of the better modules for applying guardrails on live AI traffic and setting up routing based on guardrail verdicts: https://portkey.ai/features/guardrails

comment 1y ago · link · parent

lol. i get you - i think the 3rd point you shared - it's not exactly about CI issue - CI is already as fast as it can be. It's just that a prompt is a critical part of your AI app and any change to it needs to go through a few hoops before it's available to all users.

On Portkey, since we decouple prompt templates from your code - you can continue iterating on the prompts on Portkey and just reference the prompt ID in code. Any change you make to Portkey prompts automatically get reflected in the app because the prompt ID keeps pointing to the latest / published version.

does that make sense?

7.

Show HN: Prompt Engineering Studio – Toolkit for deploying AI prompts at scale

2 points · by retrovrv · 1y ago · 4 comments

comment 2y ago · link · parent

This is actually pretty cool. Would love to try it!

comment 2y ago · link · parent

I'm affiliated with Portkey, so can answer who would need such a proxy/gateway:

Sidenote: Arch is def interesting!

A typical user we've seen at Portkey is a mid or a large size eng org where a central "Gen AI team" has now come up. This Gen AI team builds services that the rest of the company uses to build whatever AI features or products they want.

To build such a service, they need traditional API Gateway features like rate limiting, access rules, and also AI-specific features like universal API to multiple LLM providers, universal routing, central guardrails, AI-native observability + central dashboard for other stakeholders, and more.

It can absolutely be a plugin on top of existing Gateways.. like we've explored putting Portkey on Kong, but the need for a dedicated AI Gateway still remains, that can do all of these things I described in an easier way.

Probably, solutions like Langchain/Llamaindex etc. also fit in somewhere here, but a dedicated service for "ops" related issues for LLM APIs is something that we're seeing orgs adopt as a good practice.

comment 2y ago · link · parent

came across this guide earlier - valuable insights. thanks for sharing!

comment 2y ago · link · parent

there's an open source ai gateway - https://github.com/Portkey-AI/gateway

comment 2y ago · link · parent

Phenomenal to see how Ragas has progressed. Congratulations on the launch

comment 2y ago · link · parent

https://portkey.ai/ - is also a nice addition to the list

comment 2y ago · link · parent

Thank you! We have built out the cache system -- we do both simple caching (matching the request strings 100%) and also do semantic caching (returning a cache hit for semantically similar requests). More here - https://portkey.ai/docs/product/ai-gateway-streamline-llm-in...

The caching part isn't open source yet, but part of our internal workers. Would be very cool to open source it!

comment 2y ago · link · parent

Pretty excited to announce this! While there are some popular and awesome AI gateways out there, like litellm, bricksai - none are written in TS, and for the TS ecosystem. Looking forward to the community's feedback

16.

OpenAI Model Deprecation Guide – GPT3 is shutting down(portkey.ai ↗)

2 points · by retrovrv · 2y ago · discuss

comment 3y ago · link · parent

I really liked request_format param to enforce JSON outputs, and seed param to enforce deterministic outputs - both I've already started to use.

comment 3y ago · link · parent

Thanks for sharing my blog here!

Quick notes on the analysis: - This is based on data from 100+ organizations globally, doing million+ requests a day via Portkey.ai. - I've randomly sampled 10,000 requests for both GPT 3.5 & 4 each day, for the past 3 months. - Variants like -0613 & -0314 are grouped under GPT3.5 & GPT4 for clarity. - I've plotted 'Latency PER Token' rather than just latency - For each day, I've counted percentile values for Latency/Token across different percentiles like 50, 75, 90, 99 to account for variance in prompt length and complexities and separate out anomalies

Happy to share more or answer questions, if any.

19.

GPT-4 is Getting Faster(portkey.ai ↗)

3 points · by retrovrv · 3y ago · discuss

20.

Open Source AI Gateway(github.com ↗)

2 points · by retrovrv · 3y ago · discuss

comment 3y ago · link · parent

Super cool! Looks quite intuitive, especially for function calls.

comment 3y ago · link · parent

There are quite a few LLM monitoring tools in the market. But for monitoring (or evaluating) RAG systems, I found Ragas to be the most helpful: https://blog.langchain.dev/evaluating-rag-pipelines-with-rag...

comment 3y ago · link · parent

There are some programs that match founders, bring in VCs and overall facilitate "Networking" - those are tagged as such. Hope that helps!

comment 3y ago · link · parent

Looks very interesting

comment 3y ago · link · parent

These guys built a few Figma plugins, made money from that, and also got acquired by Figma: https://diagram.com/

comment 3y ago · link · parent

Code interpreter, though not exactly a plugin, has become my default mode of interacting with ChatGPT.

comment 3y ago · link · parent

A lot of thought has been put into this. Quite like the dashboard design, and the simplicity of using this. Congrats on the launch!

28.

Ask HN: Where to Host Llama 2?

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

comment 3y ago · link · parent

My first question as well, especially considering how fast it is. But understand if you can't reveal.

Would still be cool to learn technical details.

12