Skip to content

[Feature] Cache for LLMs #21

Description

@deep-learning-dynamo

As a java developer I want to be able to cache responses from LLM:

  • to speedup frequent prompts
  • to save noney

Requirements:

  • easy way to plug in custom cache providers
  • simple cache: match the prompt with simple heuristics: ignoring case / ignoring whitespaces / etc
  • semantic cache: by semantic similarity with configurable threshold

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions