forked from nextcloud/context_chat_backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
executable file
·46 lines (37 loc) · 1.38 KB
/
Copy pathexample.env
File metadata and controls
executable file
·46 lines (37 loc) · 1.38 KB
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
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# rename this file to .env
# Persistent files directory
# SENTENCE_TRANSFORMERS_HOME=persistent_storage/model_files
# HF_HOME=persistent_storage/model_files
# VECTORDB_DIR=persistent_storage/vector_db_data
# CC_CONFIG_PATH=persistent_storage/config.yaml
# EM_SERVER_LOG_PATH=persistent_storage/logs
# Huggingface offline mode
#TRANSFORMERS_OFFLINE=1
# AppAPI headers
AA_VERSION=3.0.0
APP_SECRET=12345
APP_ID=context_chat_backend
APP_DISPLAY_NAME=Context Chat Backend
APP_VERSION=4.4.1
APP_HOST=0.0.0.0
APP_PORT=10034
APP_PERSISTENT_STORAGE=persistent_storage
NEXTCLOUD_URL=http://nextcloud.local
# RAG backend selection
# Set to "builtin" to use the default in-process vector store
# or "r2r" to connect to an external R2R service.
RAG_BACKEND=r2r
# URL of the running R2R instance. Adjust the host/port to match your deployment.
# Example: http://r2r:7272 when R2R runs as a Docker service on the same network.
R2R_BASE_URL=http://127.0.0.1:7272
# Optional timeout in seconds for R2R HTTP requests
# R2R_HTTP_TIMEOUT=300
# Optional credentials for authenticated R2R instances
# R2R_API_KEY=your_api_key_here # sent as X-API-Key
# R2R_API_TOKEN=your_token_here # sent as Authorization: Bearer
# CUDA Support
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute