github zilliztech/GPTCache 0.1.30
v0.1.30

latest releases: 0.1.44, 0.1.43, 0.1.42...
17 months ago

🎉 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

Don't miss a new GPTCache release

NewReleases is sending notifications on new releases.