forked from mckaywrigley/chatbot-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.local.example
70 lines (57 loc) · 2.39 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
# 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=
OPENROUTER_API_KEY=
# HackerGPT
OPENROUTER_TRANSLATION_MODEL=gryphe/mythomax-l2-13b
OPENROUTER_HACKERGPT_DEFUALT_MODEL=nousresearch/nous-hermes-2-mixtral-8x7b-dpo
OPENROUTER_HACKERGPT_ENHANCE_MODEL=nousresearch/nous-capybara-34b
# 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
# 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=
# File size limit for uploads in bytes
NEXT_PUBLIC_USER_FILE_SIZE_LIMIT=10485760