mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:49:04 +08:00
feat: introduce a new environment variable that suppose to disable Scarf analytics (#11179)
This commit is contained in:
parent
d7160ee563
commit
0f1133729f
@ -329,6 +329,7 @@ NOTION_INTERNAL_SECRET=you-internal-secret
|
|||||||
ETL_TYPE=dify
|
ETL_TYPE=dify
|
||||||
UNSTRUCTURED_API_URL=
|
UNSTRUCTURED_API_URL=
|
||||||
UNSTRUCTURED_API_KEY=
|
UNSTRUCTURED_API_KEY=
|
||||||
|
SCARF_NO_ANALYTICS=true
|
||||||
|
|
||||||
#ssrf
|
#ssrf
|
||||||
SSRF_PROXY_HTTP_URL=
|
SSRF_PROXY_HTTP_URL=
|
||||||
|
@ -585,6 +585,11 @@ class RagEtlConfig(BaseSettings):
|
|||||||
default=None,
|
default=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SCARF_NO_ANALYTICS: Optional[str] = Field(
|
||||||
|
description="This is about whether to disable Scarf analytics in Unstructured library.",
|
||||||
|
default="false",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class DataSetConfig(BaseSettings):
|
class DataSetConfig(BaseSettings):
|
||||||
"""
|
"""
|
||||||
|
@ -579,6 +579,7 @@ ETL_TYPE=dify
|
|||||||
# For example: http://unstructured:8000/general/v0/general
|
# For example: http://unstructured:8000/general/v0/general
|
||||||
UNSTRUCTURED_API_URL=
|
UNSTRUCTURED_API_URL=
|
||||||
UNSTRUCTURED_API_KEY=
|
UNSTRUCTURED_API_KEY=
|
||||||
|
SCARF_NO_ANALYTICS=true
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
# Model Configuration
|
# Model Configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user