You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/tic_tac_toe/app/main.py
+6-7
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,12 @@ class InitConfiguration(BaseModel, metaclass=FormMetaclass):
67
67
# The form defines the move the user in making during the tic-tac-toe game.
68
68
# The bot suggest a list of available moves to the user.
69
69
# The user pick one of the move by its index in the list and returns this data structure to the application.
70
-
# Note that the form doesn't have any buttons, since the moves are determined dynamically. Nor does it have a DIAL specific configuration, since it inherits
71
-
# from vanilla Pydantic BaseModel that it's aware of any DIAL specific features.
72
-
# The buttons and configuration will be added to the model dynamically
73
-
# in the `chat_completion`` handler via the class decorator "form".
70
+
# Note that the form doesn't have any buttons, since the moves are determined dynamically.
71
+
# The buttons will be added to the model dynamically
72
+
# in the `chat_completion` handler via the class decorator "form".
0 commit comments