Skip to content

[Feature] Cache for LLMs #21

@deep-learning-dynamo

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

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