4 ms·
I'm very happy this is now available. With a model as smart as Claude 3.5, this opens up the possibility of writing prompts the size of relatively complex prog
by waldrews 2y ago
I'm very happy this is now available. With a model as smart as Claude 3.5, this opens up the possibility of writing prompts the size of relatively complex programs, prompts with many examples and targeting multiple outputs, and running them repeatedly on different datasets (big code, small data), at a reasonable cost. For example, a classifier with a hundred class labels described by prompts? A questionnaire that turns a piece of unstructured data into a long list of features? A complex custom assistant, with a long prompt listing individual user's available tools and preferences?
(my previous rants on why we need this: https://news.ycombinator.com/item?id=40034972#40036309 https://news.ycombinator.com/item?id=40034972#40036309 )
Now we just need to merge Anthropic's cache pricing with Google's context length (their cache pricing isn't as good) and OpenAI's strict structured output mode...