33from __future__ import annotations
44from glean .api_client .types import BaseModel
55import pydantic
6- from typing import Optional
6+ from typing import Dict , Optional
77from typing_extensions import Annotated , NotRequired , TypedDict
88
99
@@ -16,6 +16,8 @@ class FollowupActionTypedDict(TypedDict):
1616 r"""The ID of the action instance that will be invoked."""
1717 action_id : NotRequired [str ]
1818 r"""The ID of the associated action."""
19+ parameters : NotRequired [Dict [str , str ]]
20+ r"""Map of assistant predicted parameters and their corresponding values."""
1921 recommendation_text : NotRequired [str ]
2022 r"""Text to be displayed to the user when recommending the action instance."""
2123 action_label : NotRequired [str ]
@@ -38,6 +40,9 @@ class FollowupAction(BaseModel):
3840 action_id : Annotated [Optional [str ], pydantic .Field (alias = "actionId" )] = None
3941 r"""The ID of the associated action."""
4042
43+ parameters : Optional [Dict [str , str ]] = None
44+ r"""Map of assistant predicted parameters and their corresponding values."""
45+
4146 recommendation_text : Annotated [
4247 Optional [str ], pydantic .Field (alias = "recommendationText" )
4348 ] = None
0 commit comments