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

Add filtering and prioritization of excerpts in API #2199

Closed
samshara opened this issue Jul 3, 2024 · 0 comments
Closed

Add filtering and prioritization of excerpts in API #2199

samshara opened this issue Jul 3, 2024 · 0 comments
Assignees
Labels

Comments

@samshara
Copy link
Member

samshara commented Jul 3, 2024

Caching Mechanism for Operational Learning Summary Generation Endpoint

  1. Upon receiving a request to the API, check if the hashed filters are present in the cache.
  2. If the hashed filters exist in the cache, return the cached response.
  3. If the hashed filters do not exist in the cache, proceed with processing the request.

Important

The keyword search should only work in English. This is to ensure that the caching of excerpts functions properly. If we search for other languages, the cache will become too large, defeating the purpose of having a cache.

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

No branches or pull requests

3 participants