o
    i[                     @   s.   d dl Zd dlmZmZ G dd dejZdS )    N)
migrationsmodelsc                   @   s  e Zd ZdZddgZejddejdddddfd	ej	dd
dfdej	dddfdej
eddfdej
eddfdej
eddfdejddddfdejdg dddddfdej
eddfdej
ed dfd!ejdd"fd#ejdd$fd%ejd&ejjjjd'd(d)fgd*d+gid,ejd-dejdddddfd.ejg d/d0dd1fd2ejd3d4d5fd6ej	d7d8fd9ej
ed:dfd;ejd<d=dfd!ejdd"fd#ejdd$fd>ejd?ejjjjd@dAd)fg	d*dBd+gid,ejdCdejdddddfdDejg dEdFdd1fd2ejdGd4d5fdHej	dId8fdJejd<dKdfdLej
edMdfdNejdOdPdfdQejddRddfd!ejdd"fd#ejdd$fd'ejdSejjjjdTdUd)fd>ejdVejjjjdTdAd)fgdWd+gdXhdYd,gZdZS )[	MigrationT)calls0001_initial)seniorsr   ConversationidFID)auto_createdprimary_key	serializeverbose_name
transcriptz#Full transcript of the conversation)blank	help_textsummaryz(AI-generated summary of the conversationtopics_discussedz0List of topics discussed during the conversation)defaultr   key_memoriesz6Key memories or stories shared during the conversationemotions_detectedz)Emotions detected during the conversationsentiment_scorez!Overall sentiment score (-1 to 1))r   r   nullengagement_level))lowLow)mediumMedium)highHighz+Level of engagement during the conversation   )r   choicesr   
max_lengthr   follow_up_topicsz!Topics to discuss in future callsfollow_up_questionsz Questions to ask in future calls
created_at)auto_now_add
updated_at)auto_nowcallz%The call this conversation belongs toconversationz
calls.call)r   	on_deleterelated_nametoorderingz-created_at)namefieldsoptionsConversationInsightinsight_type))
mood_trendz
Mood Trend)interest_changezInterest Change)health_concernzHealth Concern)social_patternzSocial Pattern)memory_patternzMemory Pattern)communication_stylezCommunication StylezType of insight)r!   r   r"   titlezTitle of the insight   )r   r"   descriptionzDescription of the insight)r   datazSupporting data for the insightconfidence_scoreg      ?z&Confidence score (0-1) for the insightseniorz"The senior this insight belongs toinsightszseniors.seniorz-confidence_scoreMemorymemory_type))storyStory)factFact)
preference
Preference)relationshipRelationship)
experience
Experience)achievementAchievementzType of memoryzShort title for the memorycontentzThe memory contentimportance_scorez0Importance score (0-1) for prioritizing memoriestagsz Tags for categorizing the memorytimes_referencedr   z@Number of times this memory has been referenced in conversationslast_referencedz$When this memory was last referencedz/The conversation this memory was extracted frommemorieszconversations.conversationz!The senior this memory belongs toz-importance_score)r?   r:   )r.   unique_togetherN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoField	TextField	JSONFieldlist
FloatField	CharFieldDateTimeFieldOneToOneFielddjangodbdeletionCASCADEdict
ForeignKeyPositiveIntegerField
operations rl   rl   >/var/www/html/philips/conversations/migrations/0001_initial.pyr      sv    r   )django.db.models.deletionrd   	django.dbr   r   r   rl   rl   rl   rm   <module>   s   