forked from mckaywrigley/chatbot-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.local.example
84 lines (71 loc) · 2.98 KB
/
.env.local.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
# Supabase Public
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# Supabase Private
SUPABASE_SERVICE_ROLE_KEY=
# API Keys (Optional: Entering an API key here overrides the API keys globally for all users.)
OPENAI_API_KEY=
USE_OPENROUTER=TRUE
OPENROUTER_API_KEY=
TOGETHER_API_KEY=
# HackerGPT
OPENROUTER_FIRST_PROVIDER=Lepton
OPENROUTER_HACKERGPT_DEFUALT_MODEL=mistralai/mixtral-8x22b-instruct
OPENROUTER_STANDALONE_QUESTION_MODEL=mistralai/mixtral-8x7b-instruct:nitro
TOGETHER_STANDALONE_QUESTION_MODEL=mistralai/Mistral-7B-Instruct-v0.2
OPENROUTER_HACKERGPT_RAG_MODEL=mistralai/mixtral-8x22b-instruct
TOGETHER_HACKERGPT_RAG_MODEL=mistralai/Mixtral-8x22B-Instruct-v0.1
OPENROUTER_HACKERGPT_PRO_MODEL=mistralai/mistral-large
TOGETHER_HACKERGPT_PRO_MODEL=mistralai/Mixtral-8x22B-Instruct-v0.1
# OpenAI (Optional)
# NEXT_PUBLIC_OPENAI_ORGANIZATION_ID=
# System Prompts
SECRET_HACKERGPT_SYSTEM_PROMPT=
# PINECONE_SYSTEM_PROMPT=Given the following conversation, relevant context, and a follow-up question, reply with an answer to the current question the user is asking. In your response, focus on providing comprehensive and accurate information, adhering to the user's instructions. Avoid including direct links if there's a possibility of broken links or references to local files. Instead, describe the resources or methods in detail, enabling the user to locate them through their own searches if necessary.
SECRET_OPENAI_SYSTEM_PROMPT=
# General Configuration (Optional)
EMAIL_DOMAIN_WHITELIST=
EMAIL_WHITELIST=
NEXT_PUBLIC_PRODUCTION_ORIGIN=http://localhost:3000
# Enhanced Search with Pinecone (Optional)
USE_PINECONE=FALSE
# SECRET_PINECONE_API_KEY=YOUR_PINECONE_API_KEY
# SECRET_PINECONE_ENVIRONMENT=YOUR_PINECONE_ENVIRONMENT
# SECRET_PINECONE_INDEX=YOUR_PINECONE_INDEX
# SECRET_PINECONE_NAMESPACE=YOUR_PINECONE_NAMESPACE
# SECRET_PINECONE_PROJECT_ID=YOUR_PINECONE_PROJECT_ID
# Minimum and Maximum allowed length for the last message in characters (used for searching Pinecone)
# MIN_LAST_MESSAGE_LENGTH=50
# MAX_LAST_MESSAGE_LENGTH=1000
USE_COHERE_RERANK=FALSE
#SECRET_COHERE_API_KEY=YOUR_COHERE_API_KEY
#number of results presented to the reranker
#COHERE_RERANK_TOP_K=50
# Sentry
NEXT_PUBLIC_SENTRY_DSN=
NEXT_PUBLIC_SENTRY_ENVIRONMENT=
NEXT_PUBLIC_SENTRY_SAMPLE_RATE=1.0
# Stripe Settings (Optional)
STRIPE_API_KEY=
STRIPE_WEBHOOK_SIGNING_SECRET=
STRIPE_SUCCESS_URL=
STRIPE_RETURN_URL=
STRIPE_PRODUCT_ID=
# commpa separated list of product ids to restore
STRIPE_RESTORE_PRODUCT_IDS=
NEXT_PUBLIC_ENABLE_STRIPE_RESTORE=false
# Upstash Redis
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Rate Limiter Settings
RATELIMITER_ENABLED=false
RATELIMITER_TIME_WINDOW_MINUTES=180
RATELIMITER_LIMIT_HACKERGPT_FREE=
RATELIMITER_LIMIT_HACKERGPT_PREMIUM=
RATELIMITER_LIMIT_GPT_4_FREE=
RATELIMITER_LIMIT_GPT_4_PREMIUM=
NEXT_PUBLIC_RATELIMITER_LIMIT_FOLDERS=50
NEXT_PUBLIC_RATELIMITER_LIMIT_FILES=100
NEXT_PUBLIC_RATELIMITER_LIMIT_WORKSPACES=10
# File size limit for uploads in bytes
NEXT_PUBLIC_USER_FILE_SIZE_LIMIT=10485760