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

Marqo Integration into cacheGPT #762

Open
mattma1970 opened this issue Feb 15, 2024 · 1 comment
Open

Marqo Integration into cacheGPT #762

mattma1970 opened this issue Feb 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mattma1970
Copy link

Is your feature request related to a problem? Please describe.
I'm building a customer service voice-bot and time to first utterance (a. time to yield first sentence) is critical for creating a synchronous LLM conversation CX. However, current commercial API's provide c. 50 tokens/second on a good day. If the first utterance has more than 20 words, then the entire latency budget is blown. Caching is the obvious solution and, in particular semantic caching, as exemplified by cacheGPT (6.1k stars) in order to use natural language understanding to hit the cache.

Describe the solution you'd like

  1. Create an integration of marqo with cacheGPT. https://github.com/zilliztech/GPTCache?tab=readme-ov-file
  2. For bonus points, create an alternative semantic layer that uses Marqo DNA which allows us to bring our own embedding models for caching.

Describe alternatives you've considered

  • cacheGPT but this adds yet another backend that I need to maintain and I'd like my stack to get smaller not larger.
  • redisVL but like cachGPT has limited embedding model support (and text only).

Additional context
Add any other context or screenshots about the feature request here.

@sky-2002
Copy link

Hey @mattma1970 , I have created this integration in GPTCache. Let me know if you find it useful, or any suggestions/improvements, or if there are any bugs. Looking forward to feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants