Skip to content

Commit

Permalink
Update instructions.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudyyoung committed Dec 30, 2023
1 parent 92c8e10 commit d92afc9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions openai/instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,20 @@ When you encountered consent, simply do:

# Antireq

For "antireq", the logic is the opposite of "prereq" and "coreq". You must ignore "Credit for ... will not be allowed.", and you must convert all "and" to "or".
For "antireq", the logic is the opposite of "prereq" and "coreq". The json needs to represent requirements to satify "antireq".
You must ignore "Credit for ... will not be allowed.", and you must convert all "and" to "or".

When it says "Credit for ENCI 300 and 337 will not be allowed.", your "antireq" field should be:
For example, when it says "Credit for ENCI 300 and 337 will not be allowed.", your "antireq" field should be:
```json
{
"antireq": {
"type": "or",
"conditions": [
"Engineering 300",
"Engineering 337"
]
}
"type": "or",
"conditions": [
"Engineering 300",
"Engineering 337"
]
}
```

This means when either "Engineering 300" or "Engineering 337" is satisfied, the antireq is satisfied.


# Example
Expand Down

0 comments on commit d92afc9

Please sign in to comment.