<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21754" systemVersion="22E261" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithCloudKit="YES" userDefinedModelVersionIdentifier="">
    <entity name="Chat" representedClassName="Chat" syncable="YES">
        <attribute name="rawAutoCopy" optional="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="rawColor" optional="YES" attributeType="String"/>
        <attribute name="rawCreatedAt" attributeType="Date" defaultDateTimeInterval="699676500" usesScalarValueType="NO"/>
        <attribute name="rawHistoryLengthToSend" attributeType="Integer 16" defaultValueString="20" usesScalarValueType="YES"/>
        <attribute name="rawIcon" optional="YES" attributeType="String"/>
        <attribute name="rawMessagePrefix" optional="YES" attributeType="String"/>
        <attribute name="rawModel" optional="YES" attributeType="String"/>
        <attribute name="rawName" attributeType="String" defaultValueString=""/>
        <attribute name="rawOpenAIModel" optional="YES" attributeType="String"/>
        <attribute name="rawPinOrder" optional="YES" attributeType="Integer 64" defaultValueString="-1" usesScalarValueType="YES"/>
        <attribute name="rawSystemMessage" optional="YES" attributeType="String"/>
        <attribute name="rawTemperature" attributeType="Float" defaultValueString="1" usesScalarValueType="YES"/>
        <attribute name="rawUpdatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <relationship name="rMessages" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Message" inverseName="rChat" inverseEntity="Message"/>
    </entity>
    <entity name="Message" representedClassName="Message" syncable="YES">
        <attribute name="rawContent" optional="YES" attributeType="String"/>
        <attribute name="rawFailedReason" optional="YES" attributeType="String"/>
        <attribute name="rawProcessedContent" optional="YES" attributeType="String"/>
        <attribute name="rawRole" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="rawTimestamp" attributeType="Date" defaultDateTimeInterval="699675840" usesScalarValueType="NO"/>
        <attribute name="tReceiving" transient="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <relationship name="rChat" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Chat" inverseName="rMessages" inverseEntity="Chat"/>
    </entity>
</model>