forked from miurla/babyagi-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
34 lines (25 loc) · 1.38 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
# 1. Set your OpenAI API Key
OPENAI_API_KEY="Your OpenAI API Key"
# 2. Set your Pinecone API Key
PINECONE_API_KEY="Your Pinecone API Key"
# 3. Set this to the name of your Pinecone environment, e.g. "us-west4-gcp"
PINECONE_ENVIRONMENT="Your Pinecone Environment"
# 4. Set this to the name of your table, defaults to "baby-agi-test-table"
NEXT_PUBLIC_TABLE_NAME="baby-agi-test-table"
# 5. Set this to true if you want to use the user OpenAI API key, defaults to false
NEXT_PUBLIC_USE_USER_API_KEY="false"
# 6. Set your SerpAPI Key, if you want to use the search tool
# SERP_API_KEY="Your SerpAPI Key"
# Or set your Google Custom Search JSON API Key and Custom Index ID to use the search tool
# GOOGLE_SEARCH_API_KEY="Your Google Search API Key"
# GOOGLE_CUSTOM_INDEX_ID="Your Custom Index ID"
# 7. Set your BASE_URL. e.g. "http://localhost:3000" or "https://your-project.vercel.app"
BASE_URL="http://localhost:3000"
# if you want to use the auto-translation feature, set the following variables
# and npm run translate
TRANSLATOR_SERVICE="google" # possible values: "google", "openai"
OPENAI_TRANSLATION_METHOD="chat" # possible values: "chat", "text" (NOTE: only need if the TRANSLATOR_SERVICE is "openai")
# if you want to send the feedback to Airtable, set the following variables
# AIRTABLE_API_KEY="airtable_api_key"
# AIRTABLE_BASE_ID="airtable_base_id"
# AIRTABLE_TABLE_NAME="airtable_table_name"