-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
61 lines (48 loc) · 1.82 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
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Example:
# SERVERVAR="foo"
# NEXT_PUBLIC_CLIENTVAR="bar"
# frontend auth
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
# OpenAI
OPENAI_API_KEY=""
NEXT_PUBLIC_GPT4_ENABLED=false
# LLM Settings
NEXT_PUBLIC_MPT_ENABLED=false
# lower this to save money; the chance to select GPT-4 when a cheaper model is available
NEXT_PUBLIC_CHANCE_TO_USE_GPT4=0.4
# PlanetScale MySQL database
DATABASE_HOST="aws.connect.psdb.cloud"
DATABASE_USERNAME=""
DATABASE_PASSWORD=""
DATABASE_NAME=""
# Neo4j graph database
NEO4J_URI="neo4j+s://xxxxxx.databases.neo4j.io"
NEO4J_USER="neo4j"
NEO4J_PASS=""
# Weaviate vector database
WEAVIATE_HOST="host.docker.internal:8080"
WEAVIATE_KEY=""
WEAVIATE_BACKUP_DIR="/weaviate-backups"
# Redis
# to run task-runner (yarn start:task-runner) on the same machine as redis, use REDIS_HOST="host.docker.internal"
# to run task-runner in your local terminal (not in a docker container; yarn workspace agent-roger-task-runner start) on the same machine as redis, use REDIS_HOST="127.0.0.1"
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379
REDIS_PASS=""
# Local embeddings api
LOCAL_EMBEDDINGS_URL="http://host.docker.internal:699/embedParagraph/"
SHORT_EMBEDDINGS_API_KEY="random string"
# Inference engine
LOCAL_LLM_PATH="/models/dolphin-2.6-mixtral-8x7b.Q3_K_M.gguf"
LOCAL_LLM_CONTEXT=12000
LOCAL_LLM_NUM_GPUS=1
NODE_ENV="production"