Skip to content

v0.1.30

Compare
Choose a tag to compare
@SimFG SimFG released this 07 Jun 14:11
· 75 commits to main since this release

🎉 Introduction to new functions of GPTCache

  1. Support to use the cohere rerank api to evaluate the similarity
from gptcache.similarity_evaluation import CohereRerankEvaluation

evaluation = CohereRerankEvaluation()
score = evaluation.evaluation(
    {
        'question': 'What is the color of sky?'
    },
    {
        'answer': 'the color of sky is blue'
    }
)
  1. Improve the gptcache server api, refer to the "/docs" path after starting the server
  2. Fix the bug about the langchain track token usage

What's Changed

  • Add input summarization. by @wxywb in #404
  • Langchain track token usage by @SimFG in #409
  • Support to download the cache files by @SimFG in #410
  • Support to use the cohere rerank api to evaluate the similarity by @SimFG in #412

Full Changelog: 0.1.29...0.1.30