codescraftman / ethanicbot_updater / tasks.py
tasks.py
Raw
# ethanicbot_updater/tasks.py

from celery import shared_task
from .utils import update_vectorstore

@shared_task
def refresh_vectorstore():
    return update_vectorstore()