- Move global config files to globals iso global folder, as the name global conflicts with python language
- Creation of Traicie Vancancy Definition specialist - Allow to invoke non-interaction specialists from withing Evie's mgmt interface (eveai_app) - Improvements to crewai specialized classes - Introduction to json editor for showing specialists arguments and results in a better way - Introduction of more complex pagination (adding extra arguments) by adding a global 'get_pagination_html' - Allow follow-up of ChatSession / Specialist execution - Improvement in logging of Specialists (but needs to be finished)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
class ListItem(BaseModel):
|
||||
title: str = Field(..., description="The title or name of the item")
|
||||
description: str = Field(..., description="A descriptive explanation of the item")
|
||||
@@ -0,0 +1,13 @@
|
||||
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 BehaviouralCompetencies(BaseModel):
|
||||
competencies: List[ListItem] = Field(
|
||||
default_factory=list,
|
||||
description="A list of behavioural competencies."
|
||||
)
|
||||
@@ -0,0 +1,13 @@
|
||||
from typing import List, Optional
|
||||
from pydantic import BaseModel, Field
|
||||
from eveai_chat_workers.outputs.globals.basic_types.list_item import ListItem
|
||||
|
||||
# class KnockoutCriterion(BaseModel):
|
||||
# title: str = Field(..., description="The title of the knockout criterion.")
|
||||
# description: Optional[str] = Field(None, description="Further explanation of the knockout criterion.")
|
||||
|
||||
class KnockoutCriteria(BaseModel):
|
||||
criteria: List[ListItem] = Field(
|
||||
default_factory=list,
|
||||
description="A prioritized list of the 5 most critical knockout criteria, ranked by importance."
|
||||
)
|
||||
Reference in New Issue
Block a user