-
Notifications
You must be signed in to change notification settings - Fork 29
/
.env.example
29 lines (25 loc) · 1.78 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
# PUBLIC DYNAMIC
PUBLIC_SUPABASE_URL=https://supabase-kong.uds.dev
PUBLIC_SUPABASE_ANON_KEY=<anon_key>
PUBLIC_DISABLE_KEYCLOAK=false
PUBLIC_MESSAGE_LENGTH_LIMIT=10000
# PRIVATE DYNAMIC
DEFAULT_TEMPERATURE=0.1
DEFAULT_SYSTEM_PROMPT="You may be provided with a list of files and their content in the following structure: [{"filename": "test.pdf","text": "some fake text"}] Using the content of these files as context, you should refer to specific files by their filename when relevant and use the text content to provide detailed, accurate, and relevant information or answers. If the user asks questions that can be answered based on the content of the provided files, use the appropriate file’s text in your response.
If the user requests clarification, further details, or specific information about a file, respond using the most relevant file or files. If necessary, combine information from multiple files to form a comprehensive response."
DEFAULT_MODEL=vllm #for OpenAI it could be: gpt-3.5-turbo
LEAPFROGAI_API_BASE_URL=https://leapfrogai-api.uds.dev #for OpenAI it would be: https://api.openai.com
SUPABASE_AUTH_EXTERNAL_KEYCLOAK_URL=https://sso.uds.dev/realms/uds
SUPABASE_AUTH_KEYCLOAK_CLIENT_ID=uds-supabase
SUPABASE_AUTH_KEYCLOAK_SECRET=<secret>
#ORIGIN=http://localhost:3000 # set if running in Docker locally (variable is also used in deployment)
#If specified, app will use OpenAI instead of LeapfrogAI
#OPENAI_API_KEY=
# PLAYWRIGHT
PASSWORD=<password>
# MFA secret is only needed when running playwright tests locally. In the workflow, the keycloak user
# is created without MFA requirements
MFA_SECRET=<secret>
# Service Role key comes from Supabase and allows Playwright to bypass row level security for test setup/cleanup. This is only needed for tests.
SERVICE_ROLE_KEY=<key>