forked from Shaunwei/RealChar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
75 lines (65 loc) · 2.25 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
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
DATABASE_URL=sqlite:///./test.db
# LLM
# "gpt-4" or "gpt-3.5-turbo-16k" or claude-instant-1 or claude-2
# anyscale
# "meta-llama/Llama-2-7b-chat-hf"
# "meta-llama/Llama-2-13b-chat-hf"
# "meta-llama/Llama-2-70b-chat-hf"
LLM_MODEL_USE=gpt-3.5-turbo-16k
# This section for Azure OpenAI API
#OPENAI_API_TYPE=azure
# The API version you want to use: set this to `2023-03-15-preview` for the released version.
#OPENAI_API_VERSION=2023-03-15-preview
# The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource.
#OPENAI_API_BASE=https://your-base-url.openai.azure.com
#OPENAI_API_MODEL_DEPLOYMENT_NAME=gpt-35-turbo
#OPENAI_API_EMBEDDING_DEPLOYMENT_NAME=text-embedding-ada-002
# gpt-4 for better character control
# gpt-3.5-turbo-16k for better speed
OPENAI_API_KEY=YOUR_API_KEY
# claude-instant-1 or claude-2
ANTHROPIC_API_KEY=YOUR_API_KEY
# Anyscale Endpoint API Key
ANYSCALE_ENDPOINT_API_KEY=
# Speech to text
# "LOCAL_WHISPER" or "OPENAI_WHISPER"(optional) or "GOOGLE"(optional)
SPEECH_TO_TEXT_USE=LOCAL_WHISPER
LOCAL_WHISPER_MODEL=base
GOOGLE_APPLICATION_CREDENTIALS=google_credentials.json
OPEN_AI_WHISPER_API_KEY=YOUR_API_KEY
# Text to speech
# "ELEVEN_LABS" or "GOOGLE_TTS" or "UNREAL_SPEECH"
TEXT_TO_SPEECH_USE=ELEVEN_LABS
ELEVEN_LABS_API_KEY=YOUR_API_KEY
ELEVEN_LABS_USE_V2= # change to true if you have access to V2 model.
# Add voice id of your cloned voice. leave empty to use default voices
ELON_MUSK_VOICE_ID=
LOKI_VOICE_ID=
RAIDEN_SHOGUN_AND_EI_VOICE_ID=
SAM_ALTMAN_VOICE_ID=
BRUCE_WAYNE_VOICE_ID=
STEVE_JOBS_VOICE_ID=
# Enable basic auth
# leave empty to disable
USE_AUTH=
AUTH_API_KEY=
# Experimental
# leave empty to disable
# allows to test the conversation with utterances
EXPERIMENT_CONVERSATION_UTTERANCE=
# LLM Tracing
LANGCHAIN_TRACING_V2=false # default off
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAIN_API_KEY=YOUR_LANGCHAIN_API_KEY
LANGCHAIN_PROJECT=YOUR_LANGCHAIN_PROJECT
# Google Serper API, the order of priority is: SERPER_API_KEY > SERPAPI_API_KEY > GOOGLE_API_KEY
# https://serper.dev/
SERPER_API_KEY=
# https://serpapi.com/
SERPAPI_API_KEY=
# instructions: https://stackoverflow.com/a/62037708
GOOGLE_API_KEY=
GOOGLE_CSE_ID=
# Miscellaneous options
# Skip loading Chroma.
OVERWRITE_CHROMA=true