- Introduction of TRACIE_KO_INTERVIEW_DEFINITION_SPECIALIST

- Re-introduction of EveAIAsset
- Make translation services resistent for situation with and without current_event defined.
- Ensure first question is asked in eveai_chat_client
- Start of version 1.4.0 of TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
Josako
2025-07-02 16:58:43 +02:00
parent fbc9f44ac8
commit 51d029d960
34 changed files with 1292 additions and 302 deletions

View File

@@ -0,0 +1,15 @@
version: "1.0.0"
name: "Traicie KO Criteria Questions"
file_type: "yaml"
dynamic: true
configuration:
specialist_id:
name: "Specialist ID"
type: "int"
description: "The Specialist this asset is created for"
required: True
metadata:
author: "Josako"
date_added: "2025-07-01"
description: "Asset that defines a KO Criteria Questions and Answers"
changes: "Initial version"

View File

@@ -0,0 +1,14 @@
version: "1.0.0"
content: >
Check if additional information or questions are available in the answer (answer in {language}), additional to the
following question:
"{question}"
Answer with True or False, without additional information.
llm_model: "mistral.mistral-medium-latest"
metadata:
author: "Josako"
date_added: "2025-06-23"
description: "An assistant to check if the answer to a question is affirmative."
changes: "Initial version"

View File

@@ -0,0 +1,13 @@
version: "1.0.0"
content: >
Determine if there is an affirmative answer on the following question in the provided answer (answer in {language}):
{question}
Answer with True or False, without additional information.
llm_model: "mistral.mistral-medium-latest"
metadata:
author: "Josako"
date_added: "2025-06-23"
description: "An assistant to check if the answer to a question is affirmative."
changes: "Initial version"

View File

@@ -0,0 +1,29 @@
version: "1.1.0"
name: "Traicie KO Criteria Interview Definition Specialist"
framework: "crewai"
partner: "traicie"
chat: false
configuration:
arguments:
specialist_id:
name: "specialist_id"
description: "ID of the specialist for which to define KO Criteria Questions and Asnwers"
type: "integer"
required: true
results:
asset_id:
name: "asset_id"
description: "ID of the Asset containing questions and answers for each of the defined KO Criteria"
type: "integer"
required: true
agents:
- type: "TRAICIE_RECRUITER_AGENT"
version: "1.0"
tasks:
- type: "TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK"
version: "1.0"
metadata:
author: "Josako"
date_added: "2025-07-01"
changes: "Initial Version"
description: "Specialist assisting in questions and answers definition for KO Criteria"

View File

@@ -2,7 +2,7 @@ version: "1.0.0"
name: "Traicie Selection Specialist"
framework: "crewai"
partner: "traicie"
chat: false
chat: true
configuration:
name:
name: "Name"
@@ -111,4 +111,4 @@ metadata:
author: "Josako"
date_added: "2025-05-27"
changes: "Updated for unified competencies and ko criteria"
description: "Assistant to create a new Vacancy based on Vacancy Text"
description: "Assistant to assist in candidate selection"

View File

@@ -2,7 +2,7 @@ version: "1.1.0"
name: "Traicie Selection Specialist"
framework: "crewai"
partner: "traicie"
chat: false
chat: true
configuration:
name:
name: "Name"
@@ -117,4 +117,4 @@ metadata:
author: "Josako"
date_added: "2025-05-27"
changes: "Add make to the selection specialist"
description: "Assistant to create a new Vacancy based on Vacancy Text"
description: "Assistant to assist in candidate selection"

View File

@@ -2,7 +2,7 @@ version: "1.3.0"
name: "Traicie Selection Specialist"
framework: "crewai"
partner: "traicie"
chat: false
chat: true
configuration:
name:
name: "Name"
@@ -117,4 +117,4 @@ metadata:
author: "Josako"
date_added: "2025-06-16"
changes: "Realising the actual interaction with the LLM"
description: "Assistant to create a new Vacancy based on Vacancy Text"
description: "Assistant to assist in candidate selection"

View File

@@ -2,7 +2,7 @@ version: "1.3.0"
name: "Traicie Selection Specialist"
framework: "crewai"
partner: "traicie"
chat: false
chat: true
configuration:
name:
name: "Name"
@@ -117,4 +117,4 @@ metadata:
author: "Josako"
date_added: "2025-06-18"
changes: "Add make to the selection specialist"
description: "Assistant to create a new Vacancy based on Vacancy Text"
description: "Assistant to assist in candidate selection"

View File

@@ -0,0 +1,124 @@
version: "1.4.0"
name: "Traicie Selection Specialist"
framework: "crewai"
partner: "traicie"
chat: true
configuration:
name:
name: "Name"
description: "The name the specialist is called upon."
type: "str"
required: true
role_reference:
name: "Role Reference"
description: "A customer reference to the role"
type: "str"
required: false
make:
name: "Make"
description: "The make for which the role is defined and the selection specialist is created"
type: "system"
system_name: "tenant_make"
required: true
competencies:
name: "Competencies"
description: "An ordered list of competencies."
type: "ordered_list"
list_type: "competency_details"
required: true
tone_of_voice:
name: "Tone of Voice"
description: "The tone of voice the specialist uses to communicate"
type: "enum"
allowed_values: ["Professional & Neutral", "Warm & Empathetic", "Energetic & Enthusiastic", "Accessible & Informal", "Expert & Trustworthy", "No-nonsense & Goal-driven"]
default: "Professional & Neutral"
required: true
language_level:
name: "Language Level"
description: "Language level to be used when communicating, relating to CEFR levels"
type: "enum"
allowed_values: ["Basic", "Standard", "Professional"]
default: "Standard"
required: true
welcome_message:
name: "Welcome Message"
description: "Introductory text given by the specialist - but translated according to Tone of Voice, Language Level and Starting Language"
type: "text"
required: false
closing_message:
name: "Closing Message"
description: "Closing message given by the specialist - but translated according to Tone of Voice, Language Level and Starting Language"
type: "text"
required: false
competency_details:
title:
name: "Title"
description: "Competency Title"
type: "str"
required: true
description:
name: "Description"
description: "Description (in context of the role) of the competency"
type: "text"
required: true
is_knockout:
name: "KO"
description: "Defines if the competency is a knock-out criterium"
type: "boolean"
required: true
default: false
assess:
name: "Assess"
description: "Indication if this competency is to be assessed"
type: "boolean"
required: true
default: true
arguments:
region:
name: "Region"
type: "str"
description: "The region of the specific vacancy"
required: false
working_schedule:
name: "Work Schedule"
type: "str"
description: "The work schedule or employment type of the specific vacancy"
required: false
start_date:
name: "Start Date"
type: "date"
description: "The start date of the specific vacancy"
required: false
language:
name: "Language"
type: "str"
description: "The language (2-letter code) used to start the conversation"
required: true
interaction_mode:
name: "Interaction Mode"
type: "enum"
description: "The interaction mode the specialist will start working in."
allowed_values: ["Job Application", "Seduction"]
default: "Job Application"
required: true
results:
competencies:
name: "competencies"
type: "List[str, str]"
description: "List of vacancy competencies and their descriptions"
required: false
agents:
- type: "TRAICIE_RECRUITER_AGENT"
version: "1.0"
- type: "RAG_AGENT"
version: "1.0"
tasks:
- type: "TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK"
version: "1.0"
- type: "RAG_TASK"
version: "1.0"
metadata:
author: "Josako"
date_added: "2025-06-30"
changes: "Add 'RAG' to the selection specialist"
description: "Assistant to assist in candidate selection"

View File

@@ -11,7 +11,7 @@ task_description: >
Apply the following tone of voice in both questions and answers: {tone_of_voice}
Apply the following language level in both questions and answers: {language_level}
Use {language} as language for both questions and answers.
Respect the language of the competencies, and return all output in the same language.
```{competencies}```

View File

@@ -17,7 +17,7 @@ task_description: >
Apply the following language level in both questions and answers: {language_level}, i.e. {language_level_context}
Use {language} as language for both questions and answers.
Use the language used in the competencies as language for your answer / output. We call this the original language.
```{ko_criteria}```
@@ -26,9 +26,9 @@ task_description: >
expected_output: >
For each of the ko criteria, you provide:
- the exact title as specified in the original language
- the question in {language}
- a positive answer, resulting in a positive evaluation of the criterium. In {language}.
- a negative answer, resulting in a negative evaluation of the criterium. In {language}.
- the question in the original language
- a positive answer, resulting in a positive evaluation of the criterium, in the original language.
- a negative answer, resulting in a negative evaluation of the criterium, in the original langauge.
{custom_expected_output}
metadata:
author: "Josako"

View File

@@ -1,5 +1,5 @@
# Agent Types
AGENT_TYPES = {
ASSET_TYPES = {
"DOCUMENT_TEMPLATE": {
"name": "Document Template",
"description": "Asset that defines a template in markdown a specialist can process",
@@ -8,4 +8,9 @@ AGENT_TYPES = {
"name": "Specialist Configuration",
"description": "Asset that defines a specialist configuration",
},
"TRAICIE_KO_CRITERIA_QUESTIONS": {
"name": "Traicie KO Criteria Questions",
"description": "Asset that defines KO Criteria Questions and Answers",
"partner": "traicie"
},
}

View File

@@ -36,4 +36,12 @@ PROMPT_TYPES = {
"name": "translation_without_context",
"description": "An assistant to translate text without context",
},
"check_affirmative_answer": {
"name": "check_affirmative_answer",
"description": "An assistant to check if the answer to a question is affirmative",
},
"check_additional_information": {
"name": "check_additional_information",
"description": "An assistant to check if the answer to a question includes additional information or questions",
},
}

View File

@@ -20,5 +20,9 @@ SPECIALIST_TYPES = {
"TRAICIE_SELECTION_SPECIALIST": {
"name": "Traicie Selection Specialist",
"description": "Recruitment Selection Assistant",
}
},
"TRAICIE_KO_INTERVIEW_DEFINITION_SPECIALIST": {
"name": "Traicie KO Interview Definition Specialist",
"description": "Specialist assisting in questions and answers definition for KO Criteria",
},
}