-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve config organization and add tweet data parameterization
- Loading branch information
1 parent
7154584
commit affc906
Showing
9 changed files
with
116 additions
and
96 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 |
---|---|---|
@@ -1,51 +1,38 @@ | ||
# Twitter API Credentials | ||
TWITTER_USERNAME=your_twitter_username | ||
TWITTER_PASSWORD=your_twitter_password | ||
|
||
# LLM Configuration | ||
SMALL_LLM_MODEL=gpt-4o-mini | ||
LARGE_LLM_MODEL=gpt-4o | ||
OPENAI_API_KEY=your_openai_api_key | ||
|
||
CHECK_INTERVAL_MINUTES=15 | ||
|
||
# Server Configuration | ||
PORT=3001 | ||
|
||
# Environment | ||
NODE_ENV=development | ||
|
||
# Chroma Configuration | ||
CHROMA_URL=http://localhost:8000 | ||
# Twitter Credentials | ||
TWITTER_USERNAME=<twitter_username> | ||
TWITTER_PASSWORD=<twitter_password> | ||
|
||
# Twitter data fetch and post configuration | ||
NUM_TIMELINE_TWEETS=10 | ||
NUM_FOLLOWING_RECENT_TWEETS=10 | ||
NUM_RANDOM_FOLLOWERS=5 | ||
MAX_MENTIONS=20 | ||
MAX_THREAD_LENGTH=20 | ||
MAX_MY_RECENT_TWEETS=10 | ||
POST_TWEETS=false | ||
RESPONSE_INTERVAL_MINUTES=26 | ||
POST_INTERVAL_MINUTES=30 | ||
|
||
# AutoDrive Configuration | ||
DSN_API_KEY=your_dsn_api_key | ||
DSN_UPLOAD=true | ||
DSN_ENCRYPTION_PASSWORD= | ||
|
||
# CORS Configuration | ||
CORS_ORIGINS=http://localhost:3000 | ||
AUTO_DRIVE_API_KEY=<auto_drive_api_key> | ||
AUTO_DRIVE_ENCRYPTION_PASSWORD=<auto_drive_encryption_password> | ||
AUTO_DRIVE_UPLOAD=false | ||
|
||
# SC Configuration | ||
RPC_URL=https://auto-evm.taurus.autonomys.xyz/ws | ||
CONTRACT_ADDRESS=0xc5d3caed3e3600ff42b9f423d4cf281e92d7f008 | ||
PRIVATE_KEY=<Private Key> | ||
WALLET_ADDRESS=your_wallet_address | ||
RPC_URL=<rpc_url> | ||
CONTRACT_ADDRESS=<contract_address> | ||
PRIVATE_KEY=<private_key> | ||
|
||
# Tweet search configuration | ||
ACCOUNTS_PER_BATCH=5 | ||
MAX_SEARCH_TWEETS=20 | ||
MAX_TIMELINE_TWEETS=60 | ||
MAX_MENTIONS=5 | ||
MAX_THREAD_LENGTH=20 | ||
# BATCH CONFIG | ||
ENGAGEMENT_BATCH_SIZE=15 | ||
# LLM Configuration | ||
SMALL_LLM_MODEL=gpt-4o-mini | ||
LARGE_LLM_MODEL=<large_llm_model> | ||
OPENAI_API_KEY=<openai_api_key> | ||
|
||
# RESPONSE CONFIG | ||
RETRY_LIMIT=2 | ||
# SerpAPI Configuration | ||
SERPAPI_API_KEY=<serpapi_api_key> | ||
|
||
# POSTING TWEETS PERMISSION | ||
POST_TWEETS=true | ||
# Server Configuration | ||
PORT=<port> | ||
|
||
# TOP LEVEL TWEET CONFIG | ||
TOP_LEVEL_TWEET_INTERVAL_HOURS=24 | ||
# Environment | ||
NODE_ENV=<node_env> |
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
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
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
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
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
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
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
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