smart_compose
ComposeMessageRequest
Bases: TypedDict
A request to compose a message.
Attributes:
Name | Type | Description |
---|---|---|
prompt |
str
|
The prompt that smart compose will use to generate a message suggestion. |
Source code in nylas/models/smart_compose.py
7 8 9 10 11 12 13 14 15 |
|
ComposeMessageResponse
dataclass
A response from composing a message.
Attributes:
Name | Type | Description |
---|---|---|
suggestion |
str
|
The message suggestion generated by smart compose. |
Source code in nylas/models/smart_compose.py
18 19 20 21 22 23 24 25 26 27 28 |
|