-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.env.example
131 lines (99 loc) · 3.77 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Port used by the server
PORT=4000
# Log level, set to "trace" for detailed logs
LOG_LEVEL=info
# Secret used by the server to encrypt/decrypt values
# You can use `$ openssl rand -base64 32` to generate new one
CRYPTO_CIPHER_KEY=
# MongoDB database, must be a replica set, see https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/
MONGODB_URL=mongodb://localhost:27017/?replicaSet=rs0
MONGODB_DATABASE_NAME=bee-api
MONGODB_CA_CERT=
# Redis database, used by distributed queue and as pub/sub broker
REDIS_URL=redis://127.0.0.1:6379/0
REDIS_CA_CERT=
# Redis database for data caching
# In production, make sure you set up eviction policy to `volatile-lru`
# https://redis.io/docs/latest/develop/reference/eviction/#eviction-policies
REDIS_CACHE_URL=redis://127.0.0.1:6379/1
REDIS_CACHE_CA_CERT=
# Object Storage used for files and their text extractions
S3_ENDPOINT=http://127.0.0.1:9000
S3_ACCESS_KEY_ID=minioadmin
S3_SECRET_ACCESS_KEY=minioadmin
S3_BUCKET_FILE_STORAGE=bee-api
# OAuth2 client credentials for access token validation, acting as the resource server
AUTH_WELL_KNOWN=http://127.0.0.1:4001/.well-known/openid-configuration
AUTH_CLIENT_ID=dummy
AUTH_CLIENT_SECRET=dummy
AUTH_AUDIENCE=bee-test
# Remove this in production
AUTH_SERVER_PORT=4001
# Queue workers
RUN_BULLMQ_WORKERS=runs,runs-cleanup,vectorStores-cleanup,vectorStores-fileProcessor,files-extraction-node,files-extraction-python,threads-cleanup,files-cleanup
# --- BACKEND SECTION ---
# LLM backend, possible values are: ollama, openai, watsonx, bam, ibm-vllm
AI_BACKEND=watsonx
# Extraction backend, possible values are: docling, unstructured-opensource, unstructured-api
EXTRACTION_BACKEND=docling
# --- Backend details (only applicable to backend(s) selected above) ---
# https://ollama.com/
OLLAMA_URL=
# https://openai.com/
OPENAI_API_KEY=
# https://www.ibm.com/products/watsonx-ai
WATSONX_API_KEY=
WATSONX_PROJECT_ID=
WATSONX_REGION=
# Must contain port, can contain {model_id} placeholder, e.g. "{model_id}.inference.example.com:443"
IBM_VLLM_URL=
IBM_VLLM_ROOT_CERT=
IBM_VLLM_CERT_CHAIN=
IBM_VLLM_PRIVATE_KEY=
CAIKIT_URL=
CAIKIT_CA_CERT=
CAIKIT_CERT=
CAIKIT_KEY=
UNSTRUCTURED_API_URL=
UNSTRUCTURED_API_KEY=
WDU_URL=
# --- BACKEND SECTION ---
# --- TOOLS SECTION ---
# Code Interpreter, see https://github.com/i-am-bee/bee-code-interpreter
BEE_CODE_INTERPRETER_URL=http://localhost:50081
BEE_CODE_INTERPRETER_CA_CERT=
BEE_CODE_INTERPRETER_CERT=
BEE_CODE_INTERPRETER_KEY=
# Storage for code interpreter, possible values are: s3, filesystem
BEE_CODE_INTERPRETER_STORAGE_BACKEND=filesystem
# applicable for s3 storage, uses S3 credential above
BEE_CODE_INTERPRETER_BUCKET_FILE_STORAGE=
# applicable for filesystem storage
BEE_CODE_INTERPRETER_FILE_STORAGE_PATH=../bee-stack/tmp/code-interpreter-storage
# Milvus is used as a vector store for file search tool
MILVUS_HOST=127.0.0.1
MILVUS_PORT=19530
MILVUS_USE_TLS=false
MILVUS_USERNAME=user
MILVUS_PASSWORD=password
MILVUS_DATABASE_NAME=default
# Search tool backend, possible values are: google, duck-duck-go
SEARCH_TOOL_BACKEND=duck-duck-go
# applicable for google search tool
BEE_GOOGLE_SEARCH_API_KEY=
BEE_GOOGLE_SEARCH_CSE_ID=
# Forward proxy for api calling tool
HTTP_PROXY_URL=
# --- TOOLS SECTION ---
# --- OBSERVABILITY SECTION ---
BEE_OBSERVE_API_URL=http://127.0.0.1:4318
BEE_OBSERVE_API_AUTH_KEY=observe-auth-key
# Enable instrumentation
BEE_FRAMEWORK_INSTRUMENTATION_ENABLED=false
# Ignore sensitive keys from collected events data
INSTRUMENTATION_IGNORED_KEYS="apiToken,apiKey,cseId,accessToken,proxy,username,password"
# --- OBSERVABILITY SECTION ---
# Identifiers to be used for seeder and to allocate new users into default organization
IBM_ORGANIZATION_OWNER_ID=org_user_670cc04869ddffe24f4fd70e
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
OTEL_SDK_DISABLED=true