from typing import List, Optional
from pydantic import BaseModel, Field
from eveai_chat_workers.outputs.globals.basic_types.list_item import ListItem


# class BehaviouralCompetence(BaseModel):
#     title: str = Field(..., description="The title of the behavioural competence.")
#     description: Optional[str] = Field(None, description="The description of the behavioural competence.")

class Competencies(BaseModel):
    competencies: List[ListItem] = Field(
        default_factory=list,
        description="A list of competencies and their descriptions."
    )
