28 lines
827 B
Markdown
28 lines
827 B
Markdown
# Commission Jobs Script
|
|
|
|
A script to commission filtering jobs on the Twitter server with separate filter and summarization questions.
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
commission-job.sh <filter_question> <summarization_question> <list_name> <output-filename>
|
|
```
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
./commission-job.sh "Is this tweet talking about an important economics development" "What are the key economics events this week?" "econ" "econ.md"
|
|
```
|
|
|
|
## Parameters
|
|
|
|
- **filter_question**: The question used to filter tweets (determines which tweets pass the filter)
|
|
- **summarization_question**: The question used to guide the summary generation
|
|
- **list_name**: The name of the tweet list to process
|
|
|
|
The script will:
|
|
1. Submit a job to the server
|
|
2. Poll for job status every 2 seconds
|
|
3. Display progress updates
|
|
4. Show the final results when complete
|