What is the best way to put a caching layer on top...
# ask-ai
g
What is the best way to put a caching layer on top of TTS? Cache and read common utterances. I was thinking something that could for a voice provider: • Plug into TTS • Hash and record frequency of utterances, store in cloud storage • Pull most common utterances and save to memory in pre warm • Hit the cache during the agent interaction Is there a recipe for this? Any challenges to this approach?
t
Thanks for reaching out, Nasr. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you provide more details about your specific use case or technical environment? For example, are you using a specific TTS provider or platform, and do you have any particular constraints or requirements for the caching layer? This information will help in providing more tailored advice.
Hey there! Thanks so much for sending over that link. I'll take a look and see how I can help you out. Always happy to dig into the details and make sure we get you exactly what you need! 😊
g
We use several TTS providers, ideally we would have a generalized solution
t
Hey there! I'm really curious to learn more about what you're working on. Could you tell me a bit more about the specific framework or technology you're thinking of using for this caching solution? And I'd love to understand if you have any special requirements or challenges we should keep in mind – things like how fast you need things to run or any storage constraints. I'm all ears and here to help you find the best approach! 😊