-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
39 lines (32 loc) · 779 Bytes
/
.env.sample
File metadata and controls
39 lines (32 loc) · 779 Bytes
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
## Open AI keys
OPENAI_API_KEY=sk-xxxx
## Indexing
INDEX_ENGINE='FAISS'
INDEX_FOLDER='/tmp/indexes'
## Database
USE_DATABASE=True
POSTGRES_USER='postgres'
POSTGRES_PASSWORD='postgres'
POSTGRES_DB='sqlpal-db'
## Autocomplete
LLM_MODEL='gpt-3.5-turbo'
AUTOCOMPLETE_METHOD='chat'
# AUTOCOMPLETE_PROMPT = "Custom autocomplete prompt"
GET_SAMPLE_QUERIES=True
# QUERIES_METHOD='chat'
# LLM_QUERIES_MODEL='gpt-3.5-turbo'
## Repair
# REPAIR_METHOD='chat'
# REPAIR_MODEL='gpt-3.5-turbo'
## Common
# TEMPERATURE = 0.9
# OPENAI_NUM_ANSWERS = 3
# DOCS_TO_RETRIEVE = 5
# SEARCH_TYPE = 'similarity'
## Self-hosted LLM
# LLM_HOST='http://3.129.66.15/api/v1/generate'
# LLM_USER='xxxx'
# LLM_PASSWORD='xxxx'
## Embeddings
EMBEDDING_METHOD='openai'
OPENAI_EMBEDDINGS_MODEL='gpt-3.5-turbo'