Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt caching options #28

Open
irthomasthomas opened this issue Nov 19, 2024 · 0 comments
Open

Prompt caching options #28

irthomasthomas opened this issue Nov 19, 2024 · 0 comments

Comments

@irthomasthomas
Copy link

irthomasthomas commented Nov 19, 2024

Hi Simon, I'm about to add prompt caching to the new branch and wonder what your thoughts are on the implementation?

Options:

  1. Cache everything automatically.
  2. -o cache to cache both user and system prompt together
  3. -o cache_system and -o cache_prompt to cache either one independently.

I think, given the extra 20% cost to cache inputs, options 2 or 3 makes most sense.

What do you think?

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant