File size: 793 Bytes
c37b091
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Easy way to set up all your models using only OpenAI API

# Make sure your key has permission to use all models
# Set up you key here: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-YOUR_OPENAI_API_KEY

# "gpt-3.5-turbo" - ~3 seconds delay with good quality, recommended model
# "gpt-4-turbo","gpt-4", etc. 10+ seconds delay but higher quality of responses
LLM_URL=https://api.openai.com/v1
LLM_TYPE=OPENAI_API
LLM_NAME=gpt-3.5-turbo

# "whisper-1" is the only OpenAI STT model available with OpenAI API
STT_URL=https://api.openai.com/v1
STT_TYPE=OPENAI_API
STT_NAME=whisper-1

# "tts-1" - very good quality and close to real-time response
# "tts-1-hd" - slightly better quality with slightly longer response time
TTS_URL=https://api.openai.com/v1
TTS_TYPE=OPENAI_API
TTS_NAME=tts-1