mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-02-01 12:33:09 +00:00
* add basic telemetry features * change pipeline_config to _component_config * Update Documentation & Code Style * add super().__init__() calls to error classes * make posthog mock work with python 3.7 * Update Documentation & Code Style * update link to docs web page * log exceptions, send event for raised HaystackErrors, refactor Path(CONFIG_PATH) * add comment on send_event in BaseComponent.init() and fix mypy * mock NonPrivateParameters and fix pylint undefined-variable * Update Documentation & Code Style * check model path contains multiple / * add test for writing to file * add test for en-/disable telemetry * Update Documentation & Code Style * merge file deletion methods and ignore pylint global statement * Update Documentation & Code Style * set env variable in demo to activate telemetry * fix mock of HAYSTACK_TELEMETRY_ENABLED * fix mypy and linter * add CI as env variable to execution contexts * remove threading, add test for custom error event * Update Documentation & Code Style * simplify config/log file deletion * add test for final event being sent * force writing config file in test * make test compatible with python 3.7 * switch to posthog production server * Update Documentation & Code Style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
18 lines
492 B
YAML
18 lines
492 B
YAML
version: "3"
|
|
services:
|
|
haystack-api:
|
|
restart: always
|
|
environment:
|
|
CONCURRENT_REQUEST_PER_WORKER: 16
|
|
HAYSTACK_EXECUTION_CONTEXT: "public_demo"
|
|
command: "/bin/bash -c 'sleep 10 && gunicorn rest_api.application:app -b 0.0.0.0 -k uvicorn.workers.UvicornWorker --workers 3 --timeout 180'"
|
|
|
|
elasticsearch:
|
|
restart: always
|
|
ui:
|
|
restart: always
|
|
environment:
|
|
DEFAULT_DOCS_FROM_RETRIEVER: 7
|
|
DEFAULT_NUMBER_OF_ANSWERS: 5
|
|
DISABLE_FILE_UPLOAD: 1
|