Comment

Comment by osquar

Putting together all I know about tokenminning. Point your agent at it.

1. Prompt hygiene (schema over prose, make no mistake) 2. Cache whenever you can 3. Context hygiene (seriously, start a new chat, it doesn't take much) 4. Routing 5. Control max_tokens, be smart about RAG 6. Semantic caching

What works for you?

parent osquar 4 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton