Skip to content

Commit

Permalink
allowed players to assume multiple unique roles in a game.
Browse files Browse the repository at this point in the history
  • Loading branch information
Haidar Khan committed Jul 27, 2024
1 parent 1f612e2 commit c4cc6f3
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions configs/mathquiz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
manager:
args:
max_rounds: 10
win_conditions:
- TeacherCorrect
- TeacherIncorrect
- StudentCorrect
- StudentIncorrect
game:
name: mathquiz
players:
- name: mathquiz_teacher
args:
id: gpt4 teacher
roles:
- TeacherGenerateQuestion
- TeacherAnswerQuestion
lm:
type: AzureOpenAI
args:
api_base: https://allam-swn-gpt-01.openai.azure.com/
api_version: 2023-07-01-preview
deployment_id: gpt-4o-900ptu
max_tokens: 800
temperature: 0.8
top_p: 0.95
frequency_penalty: 0
presence_penalty: 0
- name: mathquiz_student
args:
id: gpt4 student
roles:
- StudentAnswerQuestion
lm:
type: AzureOpenAI
args:
api_base: https://allam-swn-gpt-01.openai.azure.com/
api_version: 2023-07-01-preview
deployment_id: gpt-4o-900ptu
max_tokens: 800
temperature: 0.8
top_p: 0.95
frequency_penalty: 0
presence_penalty: 0

0 comments on commit c4cc6f3

Please sign in to comment.