-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b8b0b2
commit 2aa7649
Showing
3 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# local path where to store MongoDB | ||
MONGODB_PATH=./mongodb | ||
# MongoDB port | ||
MONGODB_PORT=27017 | ||
|
||
# Mongo Express port | ||
MONGO_EXPRESS_PORT=8081 | ||
# Mongo Express username | ||
MONGO_EXPRESS_USERNAME=username | ||
# Mongo Express password | ||
MONGO_EXPRESS_PASSWORD=password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
telegram_token: "" | ||
openai_api_key: "" | ||
openai_api_base: null # leave null to use default api base or you can put your own base url here | ||
allowed_telegram_usernames: [] # if empty, the bot is available to anyone. pass a username string to allow it and/or user ids as positive integers and/or channel ids as negative integers | ||
new_dialog_timeout: 600 # new dialog starts after timeout (in seconds) | ||
return_n_generated_images: 1 | ||
n_chat_modes_per_page: 5 | ||
image_size: "512x512" # the image size for image generation. Generated images can have a size of 256x256, 512x512, or 1024x1024 pixels. Smaller sizes are faster to generate. | ||
enable_message_streaming: true # if set, messages will be shown to user word-by-word | ||
|
||
# prices | ||
chatgpt_price_per_1000_tokens: 0.002 | ||
gpt_price_per_1000_tokens: 0.02 | ||
whisper_price_per_1_min: 0.006 |