OBJECT
ChatConversationEntity
Conversation of a user with the AI assistant, either general or about a specific record.
link GraphQL Schema definition
- type ChatConversationEntity {
- # True when the record is protected against deletion because it must always exist
- # in the space. Deleting a record that is not protected can still fail on other
- # checks. Read-only.
- : Boolean!
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # User the conversation belongs to.
- : ClientEntity
- # Record context the conversation was started in (entity type, entity id and the
- # AI screen view). Empty for conversations not bound to a record.
- : AiContext
- # Id of the owning user.
- : ID!
- # Kind of AI chat: a general conversation with the AI assistant, or one about a
- # specific record identified by context.
- : ChatConversationTypeEnum
- # Messages exchanged in the conversation, in chronological order.
- #
- # Arguments
- # filter: Filter TextMessage relations by target TextMessage
- # attributes.
- # orderBy: Order TextMessage relations by target TextMessage
- # attributes.
- # includeDeleted: Returns deleted target records as well. Default
- # is true.
- # before: Cursor until which to take entities to result set.
- # after: Cursor after which to start taking entities to result
- # set.
- # first: Number of entities to return from beginning of the
- # result set.
- # last: Return only the "last" number of entities from result
- # set.
- (
- : TextMessageFilterInput,
- : [TextMessageOrderByInput!],
- : Boolean,
- : String,
- : String,
- : Int,
- : Int
- ): TextMessageEntityConnection
- # Permissions the current user has on this record, out of the requested ones.
- #
- # Arguments
- # permissions: Permissions to check; the result lists those the
- # current user has.
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- }
link Require by
- ChatConversationEntityEdgeA Relay edge containing a `ChatConversationEntity` and its cursor.
- ChatConversationRepositoryRead operations for ChatConversation records.
- CreateChatConversationPayloadResult of the createChatConversation mutation.
- DeleteChatConversationPayloadResult of the deleteChatConversation mutation.
- TextMessageEntityMessage sent or received in a text message conversation or in an AI assistant chat.
- UpdateChatConversationPayloadResult of the updateChatConversation mutation.