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

Semantic caching #2117

Merged
merged 9 commits into from
Jan 13, 2025
Merged

Semantic caching #2117

merged 9 commits into from
Jan 13, 2025

Conversation

ciprianjichici
Copy link
Contributor

@ciprianjichici ciprianjichici commented Jan 11, 2025

Semantic caching

The issue or feature being addressed

Introduces a semantic cache that can be enabled on a per agent basis.

Details on the issue fix or feature implementation

The semantic cache relies on user prompt rewriting to ensure that all cached user prompts are unambiguous.
The user prompt rewriting is also configurable on a per agent basis.

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • This PR needs to be cherry-picked into at least one release branch
  • I have included unit tests for the issue/feature
  • I have included inline docs for my changes, where applicable
  • I have successfully run a local build
  • I have provided the required update scripts, where applicable
  • I have updated relevant docs, where applicable

Note

Instead of adding X's inside the checkboxes you wish to check above, first submit the PR, then check the boxes in the rendered description.

@ciprianjichici ciprianjichici marked this pull request as ready for review January 12, 2025 21:25
@joelhulen joelhulen merged commit 65d6a8b into main Jan 13, 2025
9 checks passed
@joelhulen joelhulen deleted the cj-semantic-cache branch January 13, 2025 14:18
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

Successfully merging this pull request may close these issues.

2 participants