-
Notifications
You must be signed in to change notification settings - Fork 8
/
.env.template
74 lines (59 loc) · 2.18 KB
/
.env.template
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
# The obvious...
OPENAI_API_KEY="sk-"
# to use CUDA
CMAKE_ARGS="-DLLAMA_CUBLAS=on"
FORCE_CMAKE=1
LLAMA_CUBLAS=1
# hopefully remove this one day
GGML_CUDA_NO_PINNED=1
# For my GPU (3090)
OFFLOAD_TO_GPU_LAYERS=50
# Google API keys
GOOGLE_API_KEY="AIzaSyAzss4_..."
GOOGLE_CSE_ID="..."
# OAuth creds, experimental
GOOGLE_CREDENTIALS_FILE_LOCATION="google_credentials.json"
# For use with Business Search (Yelp) tools
YELP_API_KEY="..."
# Langsmith
LANGCHAIN_TRACING_V2=true
LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
LANGCHAIN_API_KEY="<your-api-key>"
LANGCHAIN_PROJECT="Assistant"
POSTGRES_DB=<db name>
POSTGRES_USER=<db user>
POSTGRES_PASSWORD=<db password>
POSTGRES_HOST=host.docker.internal # For running in docker, or localhost otherwise
POSTGRES_PORT=5432
# RabbitMQ
RABBITMQ_DEFAULT_USER="user"
RABBITMQ_DEFAULT_PASS="password"
RABBITMQ_HOST="localhost"
# Configuration paths for the different pages
APP_CONFIG_PATH="configurations/app_configs/config.json"
USER_EMAIL="your email here"
# LibreOffice is required to convert files from Word and Excel to formats that we consume
# LibreOffice path (Windows)
# LIBRE_OFFICE_PATH="/Program Files/LibreOffice/program/soffice.exe"
# LibreOffice path (Linux)
LIBRE_OFFICE_PATH="/usr/bin/soffice"
SOURCE_CONTROL_URL="https://..."
SOURCE_CONTROL_PAT="..."
SOURCE_CONTROL_PROVIDER="GitLab" # Or GitHub
ENABLE_DISCORD_BOT="false"
DISCORD_BOT_TYPE="conversational"
DISCORD_BOT_TOKEN="..."
# The discord "conversation"/interaction ID uuid
DISCORD_CONVERSATION_ID="..."
# The discord collection ID for the conversation (file collection)
DISCORD_COLLECTION_ID="..."
DISCORD_BOT_EMAIL="discord bot email here"
DISCORD_BOT_TARGET_CHANNEL_NAME="general"
DISCORD_BOT_CONVERSATION_TEMPLATE="SMACK_TALK_TEMPLATE"
# If using LLaVA for image understanding, fill these in with locations to the LLaVA path, model, mmproj files, and configuration
# Currently these are set up for my computer and the location of the models I use
LLAVA_PATH="C:\Repos\llama.cpp\build\bin\Release\llava.exe"
LLAVA_MODEL="H:\LLM\llava-v1.5-7b\llava-1.5-7b-ggml-model-q5_k.gguf"
LLAVA_MMPROJ="H:\LLM\llava-v1.5-7b\llava-1.5-7b-mmproj-model-f16.gguf"
LLAVA_TEMP="0.1"
LLAVA_GPU_LAYERS="50"