-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1137 from Agenta-AI/evaluations-in-backend
Evaluations in backend
- Loading branch information
Showing
132 changed files
with
10,291 additions
and
6,704 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,4 @@ agenta-web/cypress/screenshots/ | |
agenta-web/cypress/videos/ | ||
.nextjs_cache/ | ||
|
||
rabbitmq_data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os | ||
from kombu import Exchange, Queue | ||
|
||
BROKER_URL = os.getenv("CELERY_BROKER_URL") | ||
CELERY_RESULT_BACKEND = os.getenv("CELERY_RESULT_BACKEND") | ||
CELERY_TASK_SERIALIZER = "json" | ||
CELERY_ACCEPT_CONTENT = ["json"] | ||
CELERY_RESULT_SERIALIZER = "json" | ||
CELERY_TIMEZONE = "UTC" | ||
|
||
CELERY_QUEUES = ( | ||
Queue( | ||
"agenta_backend.tasks.evaluations.evaluate", | ||
Exchange("agenta_backend.tasks.evaluations.evaluate"), | ||
routing_key="agenta_backend.tasks.evaluations.evaluate", | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.