-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
formatting and reviewing what we have. Getting ready to make everythi…
…ng be controlled through agents.
- Loading branch information
Showing
6 changed files
with
80 additions
and
50 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
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,5 +1,4 @@ | ||
from pydantic import BaseModel, Field | ||
from typing import List | ||
|
||
|
||
class Choice(BaseModel): | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from pydantic import BaseModel, Field | ||
|
||
|
||
class Question(BaseModel): | ||
text: str = Field(description="The text of the question to ask") | ||
text: str = Field(description="The text of the question to ask") |
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,8 +1,12 @@ | ||
from pydantic import BaseModel, Field | ||
|
||
|
||
class QuestionResponse(BaseModel): | ||
''' | ||
""" | ||
A response to a question about the world ending event. There is a correct question to ask that will reveal hidden information in the game. | ||
''' | ||
correct_question: bool = Field(description="Indicate if this was the correct question to ask") | ||
response: str = Field(description="The response to the question") | ||
""" | ||
|
||
correct_question: bool = Field( | ||
description="Indicate if this was the correct question to ask" | ||
) | ||
response: str = Field(description="The response to the question") |
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