Create a chat completion - Messages
The table below shows additional fields related to the Messages field in the Create a chat completion action
Messages
Field |
Subfields |
Data type |
Required? |
---|---|---|---|
Role - Choose the role of the author of this message |
|
Choice |
|
Content - Enter the contents of the message |
|
String |
|
Name - Enter the name of the author of this message |
|
String |
|
Tool call - Enter the tool calls generated by the model, such as function calls |
Arguments - Enter the arguments to call the function with, as generated by the model in JSON format |
String |
|
Name - Enter the name of the function to call |
String |
|
|
Type - Enter the type of the tool. Currently, only function is supported. |
String |
|
|
ID - The ID of the tool call |
String |
|