-
Notifications
You must be signed in to change notification settings - Fork 17
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
Embedder #2
Comments
Note: Celery only works well on unix based systems; so its best for someone with a unix based laptop to work on this.(though it may work on windows for development purposes) |
Hi. Can you post the workaround to get celery to work on windows machines? Do we have to use WSL for that? |
Hey sorry yeah Compile Celery with --pool=solo argument. Example: |
Hey, can you assign this task to me. |
Issue: Develop Embedder API with Background Task for Embedding Storage
Resources:
Description:
Develop a FastAPI application that generates text embeddings and stores them in ChromaDB using a Celery task queue. The application and Celery worker will be organized into separate folders and hosted separately using Docker.
Requirements:
Folder Structure:
generate_and_store_embedding
.API Endpoints:
/
):"text"
key, e.g.,{"text": "an example text", "metadata":{...}}
.metadata format TBD.{"message": "Task started successfully"}
, upon successful initiation of the task./info
):Celery Task:
generate_and_store_embedding
chromadb:8000
).retrieve
The text was updated successfully, but these errors were encountered: