Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Devs using LLMs, how are you keeping costs low for LLM calls locally?.
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
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