Skip to content
Topic Hub
Prof Rod Avatar

Filed under Prompt Caching

1 entry and 2 thoughts filed under this tag.

Thoughts on Prompt Caching

Two requests can look similar to a person while failing to reuse a cached prefix. Measure the actual usage data. Run a controlled test with a stable prompt and several different synthetic inputs. Record the API's…

openaiprompt-caching

If many API requests share the same instructions, keep that stable material together. Changing text at the start of every request can prevent useful prompt-prefix reuse. For a classification workflow, put the fixed task…

openaiprompt-caching