CreateMessageInput
A new chat message.
input CreateMessageInput {
content: String!
conversationId: String!
metadata: JSON
role: String!
}
Fields
CreateMessageInput.content ● String! non-null scalar
The text of the message.
CreateMessageInput.conversationId ● String! non-null scalar
The ID of the conversation.
CreateMessageInput.metadata ● JSON scalar
Additional data attached to the record, as JSON.
CreateMessageInput.role ● String! non-null scalar
The role of the sender.
Member Of
createMessage mutation