-
Notifications
You must be signed in to change notification settings - Fork 58
/
.env.template.k8s
150 lines (122 loc) · 3.9 KB
/
.env.template.k8s
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#########################################
# Common options
#########################################
BOT_NETWORK_NAME=bot_network
CONTENT_SOURCES=Twitter,Reddit,Article,Youtube,RSS
#########################################
# Notion options
#########################################
NOTION_TOKEN=
NOTION_ENTRY_PAGE_ID=
#########################################
# LLM options
#########################################
# The generic LLM provider, E.g. openai, google, ollama
# If pick openai, then use below OPENAI_MODEL and OPENAI_API_KEY
# If pick google, then use below GOOGLE_MODEL and GOOGLE_API_KEY
# If pick ollama, then use below OLLAMA_MODEL and OLLAMA_URL
LLM_PROVIDER=openai
# Ref: https://platform.openai.com/docs/models
OPENAI_MODEL=gpt-4o-mini
OPENAI_API_KEY=
# OPENAI_PROXY=
# gemini-pro | gemini-1.5-flash-latest | ...
GOOGLE_MODEL=gemini-1.5-flash-latest
GOOGLE_API_KEY=
OLLAMA_MODEL=llama3
## Assume the default ollama service is running at localhost:11434
## Replace it with the actual ollama service url in your environment
## if needed
OLLAMA_URL=http://localhost:11434
# The generic Text embedding provider. Supported providers:
# openai, hf, hf_inst, ollama
#
# **Attention**: Change embedding provider/model needs to re-create
# embedding collections if the dimension is different.
# Dimensions for different provider/model:
# - OpenAI: 1536
# - Ollama(nomic-embed-text): 768
# - HF (all-MiniLM-L6-v2): 384
EMBEDDING_PROVIDER=openai
# models:
# - openai: text-embedding-ada-002, text-embedding-3-small, ...
# - ollama: nomic-embed-text, ...
# - hf: all-MiniLM-L6-v2
# - hf_inst: hkunlp/instructor-xl
EMBEDDING_MODEL=text-embedding-ada-002
EMBEDDING_MAX_LENGTH=5000
TEXT_CHUNK_SIZE=10240
TEXT_CHUNK_OVERLAP=256
# For any summary, specific the translation language if needed
TRANSLATION_LANG=
SUMMARY_MAX_LENGTH=20000
#########################################
# Twitter options
#########################################
TWITTER_API_KEY=
TWITTER_API_KEY_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=
# Format: listname1:min_score1[,listname2:min_score2, ...]
# Example: AI:4.5,Life:4,Game:5
# Default: 4
## TWITTER_FILTER_MIN_SCORES=
#########################################
# YouTube options
#########################################
# Extract transcript from YouTube video by the following language list
# Format: lang1[,lang2,...]
# Example: en
# Default: en
## YOUTUBE_TRANSCRIPT_LANGS=
#########################################
# Reddit options
#########################################
REDDIT_CLIENT_ID=
REDDIT_CLIENT_SECRET=
REDDIT_APP_ID=
REDDIT_APP_VERSION=
REDDIT_PULLING_COUNT=25
# Filter content in with score >= min_score
# Format: listname1:min_score1[,listname2:min_score2, ...]
# Example: Game:4.5,AI:5
# Default: 4
REDDIT_FILTER_MIN_SCORES=
REDDIT_ENABLE_CLASSIFICATION=false
#########################################
# RSS options
#########################################
RSS_ENABLE_CLASSIFICATION=false
#########################################
# Milvus database
#########################################
MILVUS_HOST=auto-news-milvus
MILVUS_PORT=19530
# L2, IP, COSINE
MILVUS_SIMILARITY_METRICS=L2
#########################################
# MySQL database
#########################################
MYSQL_HOST=auto-news-mysql
MYSQL_PORT=3306
MYSQL_USER=bot
MYSQL_PASSWORD=bot
MYSQL_DATABASE=bot
#########################################
# Redis options
#########################################
BOT_REDIS_URL=redis://:@auto-news-redis-master:6379/1
BOT_REDIS_KEY_EXPIRE_TIME=604800
#########################################
# Experimental options
#########################################
ACTION_DEEPDIVE_ENABLED=true
ACTION_DEEPDIVE_ITERATIONS=1
# GPT4 Turbo (128k tokens)
AUTOGEN_GPT4_MODEL=gpt-4-0125-preview
AUTOGEN_GPT4_API_VERSION=2023-08-01-preview
AUTOGEN_GPT4_API_KEY=
# GPT3.5 Turbo (16k tokens)
AUTOGEN_GPT3_MODEL=gpt-3.5-turbo-0125
AUTOGEN_GPT3_API_VERSION=2023-08-01-preview
AUTOGEN_GPT3_API_KEY=