Better HN
topnewbestaskshowjobs
Log inSign up

luyuanxin1995

82 karma · joined Feb 28, 2022 (4y ago) · 8 submissions

Submissions

1.

Show HN: OSS tool that let you create OpenAI DX with any LLMs

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

comment 2y ago · link · parent

Update: Litellm is compatible with OpenAI SDK

comment 2y ago · link · parent

Litellm proxy is a pretty good project on its own. I am obviously biased because we are competitors. Here are my thoughts.

* Litellm is declarative and it let you define everything in yaml * Bricks is not declarative and you control everything via API

* Litellm does not have an UI * Bricks has a non open source UI

* Litellm is written in python * Bricks is written in Golang

* Litellm does not persist rate limits. Therefore can't accurately rate limit across distributed instances * Bricksllm let you create API keys with accurate rate limits and spend limits that work across distributed instances

* Litellm provides high level spend metrics on API keys * Bricks provides granular spend, request and latency metrics breakdown by model and custom id

* Litellm is not compatible with OpenAI SDK. You have to adopt Litellm python client * Bricks is designed to be compatible with OpenAI SDK

* Litellm only supports OpenAI completion and embedding * Bricks supports almost all OpenAI endpoints except image and audio

* Litellm has exact request caching * Bricks does not have caching as for now

* Litellm has OpenTelemetry integration * Bricks has statsd integration

* Litellm supports orchestration of API calls. When this API call fails, use this model or call this API endpoint instead * Bricks does not support orchestration of API calls since I believe that it is something that the client should handle

comment 2y ago · link · parent

you are right. will update the language

comment 2y ago · link · parent

fixed. embarrassing on my part

comment 2y ago · link · parent

we do tokenize inputs and outputs. sorry if that is not clear in the post

7.

Show HN: I built an OSS alternative to Azure OpenAI services(github.com ↗)

200 points · by luyuanxin1995 · 2y ago · 61 comments

comment 3y ago · link · parent

Hello,

We developed an open source plugin that let you go from Figma to tailwindcss + react. Feel free to check it out

https://www.figma.com/community/plugin/1178847414663679049/B...