- Full implementation of Traicie Selection Specialist - VA version
- Improvements to CrewAI specialists and Specialists in general - Addition of reusable components to check or get answers to questions from the full Human Message - HumanAnswerServices
This commit is contained in:
22
config/agents/globals/RAG_AGENT/1.1.0.yaml
Normal file
22
config/agents/globals/RAG_AGENT/1.1.0.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "1.0.0"
|
||||
name: "Rag Agent"
|
||||
role: >
|
||||
{tenant_name} Spokesperson. {custom_role}
|
||||
goal: >
|
||||
You get questions by a human correspondent, and give answers based on a given context, taking into account the history
|
||||
of the current conversation. {custom_goal}
|
||||
backstory: >
|
||||
You are the primary contact for {tenant_name}. You are known by {name}, and can be addressed by this name, or you. You are
|
||||
a very good communicator, and adapt to the style used by the human asking for information (e.g. formal or informal).
|
||||
You always stay correct and polite, whatever happens. And you ensure no discriminating language is used.
|
||||
You are perfectly multilingual in all known languages, and do your best to answer questions in {language}, whatever
|
||||
language the context provided to you is in. You are participating in a conversation, not writing e.g. an email. Do not
|
||||
include a salutation or closing greeting in your answer.
|
||||
{custom_backstory}
|
||||
full_model_name: "mistral.mistral-small-latest"
|
||||
temperature: 0.3
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-01-08"
|
||||
description: "An Agent that does RAG based on a user's question, RAG content & history"
|
||||
changes: "Initial version"
|
||||
25
config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.1.yaml
Normal file
25
config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.1.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: "1.0.1"
|
||||
name: "Traicie Recruiter"
|
||||
role: >
|
||||
You are an Expert Recruiter working for {tenant_name}, known as {name}. You can be addressed as {name}
|
||||
{custom_role}
|
||||
goal: >
|
||||
As an expert recruiter, you identify, attract, and secure top talent by building genuine relationships, deeply
|
||||
understanding business needs, and ensuring optimal alignment between candidate potential and organizational goals
|
||||
, while championing diversity, culture fit, and long-term retention.
|
||||
{custom_goal}
|
||||
backstory: >
|
||||
You started your career in a high-pressure agency setting, where you quickly learned the art of fast-paced hiring and
|
||||
relationship building. Over the years, you moved in-house, partnering closely with business leaders to shape
|
||||
recruitment strategies that go beyond filling roles—you focus on finding the right people to drive growth and culture.
|
||||
With a strong grasp of both tech and non-tech profiles, you’ve adapted to changing trends, from remote work to
|
||||
AI-driven sourcing. You’re more than a recruiter—you’re a trusted advisor, a brand ambassador, and a connector of
|
||||
people and purpose.
|
||||
{custom_backstory}
|
||||
full_model_name: "mistral.magistral-medium-latest"
|
||||
temperature: 0.3
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-07-03"
|
||||
description: "Traicie Recruiter Agent"
|
||||
changes: "Ensure recruiter can be addressed by a name"
|
||||
@@ -1,9 +1,13 @@
|
||||
version: "1.0.0"
|
||||
content: >
|
||||
Check if additional information or questions are available in the answer (answer in {language}), additional to the
|
||||
following question:
|
||||
Check if additional information or questions are available in the following answer (answer in between triple
|
||||
backquotes):
|
||||
|
||||
```{answer}```
|
||||
|
||||
in addition to answers to the following question (in between triple backquotes):
|
||||
|
||||
"{question}"
|
||||
```{question}```
|
||||
|
||||
Answer with True or False, without additional information.
|
||||
llm_model: "mistral.mistral-medium-latest"
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
version: "1.0.0"
|
||||
content: >
|
||||
Determine if there is an affirmative answer on the following question in the provided answer (answer in {language}):
|
||||
Determine if there is an affirmative answer on the following question (in between triple backquotes):
|
||||
|
||||
{question}
|
||||
```{question}```
|
||||
|
||||
in the provided answer (in between triple backquotes):
|
||||
|
||||
```{answer}```
|
||||
|
||||
Answer with True or False, without additional information.
|
||||
llm_model: "mistral.mistral-medium-latest"
|
||||
|
||||
16
config/prompts/globals/get_answer_to_question/1.0.0.yaml
Normal file
16
config/prompts/globals/get_answer_to_question/1.0.0.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: "1.0.0"
|
||||
content: >
|
||||
Provide us with the answer to the following question (in between triple backquotes) from the text provided to you:
|
||||
|
||||
```{question}````
|
||||
|
||||
Reply in exact wordings and in the same language. If no answer can be found, reply with "No answer provided"
|
||||
|
||||
Text provided to you:
|
||||
```{answer}```
|
||||
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"
|
||||
@@ -14,7 +14,7 @@ content: >
|
||||
|
||||
I only want you to return the translation. No explanation, no options. I need to be able to directly use your answer
|
||||
without further interpretation. If more than one option is available, present me with the most probable one.
|
||||
llm_model: "mistral.ministral-8b-latest"
|
||||
llm_model: "mistral.mistral-medium-latest"
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-06-23"
|
||||
|
||||
@@ -11,7 +11,7 @@ content: >
|
||||
|
||||
I only want you to return the translation. No explanation, no options. I need to be able to directly use your answer
|
||||
without further interpretation. If more than one option is available, present me with the most probable one.
|
||||
llm_model: "mistral.ministral-8b-latest"
|
||||
llm_model: "mistral.mistral-medium-latest"
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-06-23"
|
||||
|
||||
@@ -45,11 +45,6 @@ configuration:
|
||||
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"
|
||||
@@ -98,8 +93,8 @@ arguments:
|
||||
name: "Interaction Mode"
|
||||
type: "enum"
|
||||
description: "The interaction mode the specialist will start working in."
|
||||
allowed_values: ["Job Application", "Seduction"]
|
||||
default: "Job Application"
|
||||
allowed_values: ["orientation", "seduction"]
|
||||
default: "orientation"
|
||||
required: true
|
||||
results:
|
||||
competencies:
|
||||
@@ -108,17 +103,13 @@ results:
|
||||
description: "List of vacancy competencies and their descriptions"
|
||||
required: false
|
||||
agents:
|
||||
- type: "TRAICIE_RECRUITER_AGENT"
|
||||
version: "1.0"
|
||||
- type: "RAG_AGENT"
|
||||
version: "1.0"
|
||||
version: "1.1"
|
||||
tasks:
|
||||
- type: "TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK"
|
||||
version: "1.0"
|
||||
- type: "RAG_TASK"
|
||||
version: "1.0"
|
||||
version: "1.1"
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-06-30"
|
||||
changes: "Add 'RAG' to the selection specialist"
|
||||
date_added: "2025-07-03"
|
||||
changes: "Update for a Full Virtual Assistant Experience"
|
||||
description: "Assistant to assist in candidate selection"
|
||||
23
config/tasks/globals/RAG_TASK/1.1.0.yaml
Normal file
23
config/tasks/globals/RAG_TASK/1.1.0.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "1.0.0"
|
||||
name: "RAG Task"
|
||||
task_description: >
|
||||
Answer the question based on the following context, and taking into account the history of the discussion. Try not to
|
||||
repeat answers already given in the recent history, unless confirmation is required or repetition is essential to
|
||||
give a coherent answer.
|
||||
{custom_description}
|
||||
Use the following {language} in your communication, and cite the sources used at the end of the full conversation.
|
||||
If the question cannot be answered using the given context, answer "I have insufficient information to answer this
|
||||
question."
|
||||
Context (in between triple backquotes):
|
||||
```{context}```
|
||||
History (in between triple backquotes):
|
||||
```{history}```
|
||||
Question (in between triple backquotes):
|
||||
```{question}```
|
||||
expected_output: >
|
||||
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-01-08"
|
||||
description: "A Task that gives RAG-based answers"
|
||||
changes: "Initial version"
|
||||
Reference in New Issue
Block a user