# no use in the current code


############################################################################
# Import the classes from the classes module
############################################################################


from Ai_Agents.app.classes.mannual_trigger import MannualTrigger
from Ai_Agents.app.classes.section import Section
from Ai_Agents.app.classes.trigger import Trigger
import uuid
from Ai_Agents.app.classes.character_description import CharacterDescription



############################################################################
# Create instances of the classes and define their attributes
############################################################################


trigger_1 = Trigger(
    name="start trigger",
    trigger_id=str(uuid.uuid4()),
    message="user wants to start",
    destination_id=""
)

section_1 = Section(
    name="Welcome Section",
    section_id=str(uuid.uuid4()),
    objective="Welcome and introduce the user to the society in detail, ask if the user wants to visit premium villa or have any other questions",
    decisions=["user do not have any question", "user agrees to visit premium villa"],
    mapping={}  
)

section_2 = Section(
    name="End Tour Section",
    section_id=str(uuid.uuid4()),
    objective="Thank the user for coming and ask if user have any questions",
    decisions=[],
    mapping={}  
)

mannual_trigger_1 = MannualTrigger(
    name="Premium Villas Mannual Trigger",
    mannual_trigger_id=str(uuid.uuid4()),
    destination_id=""
)

section_3 = Section(
    name="Premium Villas Section",
    section_id=str(uuid.uuid4()),
    objective="Introduce the user to the Premium Villas in detail, ask if the user have any other questions",
    decisions=["user do not have any questions"],
    mapping={}  
)


############################################################################
# Define the mapping for each section
############################################################################


trigger_1.destination_id = section_1.section_id

section_1.mapping = {
    "user agrees to visit premium villa": mannual_trigger_1.mannual_trigger_id,
    "user do not have any question": section_2.section_id,
}

mannual_trigger_1.destination_id = section_3.section_id

section_3.mapping = {
    "user do not have any questions": section_2.section_id,
}

character_1 = CharacterDescription(
    name="Alex",
    gender="Male",
    character_id=str(uuid.uuid4()),
    backstory="Alex is a tour guide who is very passionate about his job. He loves to show people around and make them feel comfortable.",
    privacy="private",
    toggle_button=False
)

