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

Topic prompt generator #1809

Merged
merged 165 commits into from
Mar 31, 2024
Merged

Topic prompt generator #1809

merged 165 commits into from
Mar 31, 2024

Conversation

nsantacruz
Copy link
Contributor

@nsantacruz nsantacruz commented Feb 25, 2024

Celery

  • set up celery. this involves connecting to redis sentinel, setting up env vars for celery and redis sentinel and adding them to the celery config.
  • Create new generic tasks pod for handling celery tasks that require Sefaria-Project

APIs

  • Add topic prompt generator API which kicks off the topic prompt generation celery task
  • Add ref topic link bulk API for bulk editing ref topic links

New requirements

  • Celery
  • DNSPython - for looking up redis sentinel URLs
  • Sefaria LLM interface - for making sure objects are validated that are sent over the queue

UI

  • Interface for adding context sentences to ref topic links
  • Intreface for reviewing AI generated prompts
  • Refactor how the admin topic page menu is displayed to allow for arbitrary callbacks. Previously the callbacks needed to exist inside the AdminEditor component

yonadavGit and others added 30 commits January 23, 2024 16:47
…xplicit mention of language in css className
…re not sent by client are not deleted from db
…interface, and make review state change to "edited" upon editing a topic prompt
…sts a source-link with context and without prompt
…n there exists a prompt explicitly unpublished
nsantacruz and others added 21 commits March 28, 2024 09:31
edamboritz
edamboritz previously approved these changes Mar 28, 2024
@nsantacruz nsantacruz added this pull request to the merge queue Mar 31, 2024
Merged via the queue into master with commit f099595 Mar 31, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants