pixano.features.schemas.entities.conversation
    
              Conversation(created_at=None, updated_at=None, **data)
    
              Bases: Entity
A Conversation entity.
A conversation is an object holding messages ordered by their attribute number.
The Message annotations refer to the conversatioin via their entity_ref attribute.
Attributes:
| Name | Type | Description | 
|---|---|---|
kind | 
            
                  str
             | 
            
               Agnostic metadata to store information of the conversation.  | 
          
Source code in pixano/features/schemas/base_schema.py
                    
            create_conversation(kind, id='', item_ref=ItemRef.none(), view_ref=ViewRef.none(), parent_ref=EntityRef.none())
    Create a Conversation instance.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
                kind
             | 
            
                  str
             | 
            
               Agnostic metadata to store information of the conversation.  | 
            required | 
                id
             | 
            
                  str
             | 
            
               Conversation ID.  | 
            
                  ''
             | 
          
                item_ref
             | 
            
                  ItemRef
             | 
            
               Item reference.  | 
            
                  none()
             | 
          
                view_ref
             | 
            
                  ViewRef
             | 
            
               View reference.  | 
            
                  none()
             | 
          
                parent_ref
             | 
            
                  EntityRef
             | 
            
               Entity reference.  | 
            
                  none()
             | 
          
Returns:
| Type | Description | 
|---|---|
                  Conversation
             | 
            
               The created   | 
          
Source code in pixano/features/schemas/entities/conversation.py
              
            is_conversation(cls, strict=False)
    Check if the given class is a Conversation or a subclass of Conversation.