-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
1 changed file
with
7 additions
and
5 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,10 +1,12 @@ | ||
# Simple forecasting bot | ||
|
||
This is a very simple forecasting bot which uses an LLM to forecase on a Metaculus tournament. | ||
It lists all questions from the tournament, uses perplexity.ai to search up to date news about the question and then uses ChatGPT to forecast on it. | ||
This is a very simple forecasting bot that uses an LLM to forecast on a Metaculus tournament. It lists all questions from the tournament, uses Perplexity.ai to search for up-to-date news about the questions, and then uses ChatGPT to make forecasts. | ||
|
||
You need to set these secrets and environment variables: | ||
|
||
You have to set these secrets and environment variables | ||
- `METACULUS_TOKEN` - register your bot to get a token [here](https://www.metaculus.com/aib/) | ||
- `TOURNAMENT_ID` - the ID of the tournament your bot should forecast on | ||
- `OPENAI_API_KEY` - used to use ChatGPT and forecast on the question | ||
- `PERPLEXITY_API_KEY` - optional, used to search up to date information about the question. | ||
- `OPENAI_API_KEY` - used to access ChatGPT and make forecasts on the questions | ||
- `PERPLEXITY_API_KEY` - used to search for up-to-date information about the questions | ||
|
||
It uses GitHub Actions to schedule it for running daily (you can see more about that in [daily_run.yaml](.github/workflows/daily_run.yaml)) |