diff --git a/common/utils/eveai_exceptions.py b/common/utils/eveai_exceptions.py index 0c912c3..ff6793b 100644 --- a/common/utils/eveai_exceptions.py +++ b/common/utils/eveai_exceptions.py @@ -248,3 +248,14 @@ class EveAIPendingLicensePeriod(EveAIException): message = f"Basic Fee Payment has not been received yet. Please ensure payment has been made, and please wait for payment to be processed." super().__init__(message, status_code, payload) + +class EveAISpecialistExecutionError(EveAIException): + """Raised when an error occurs during specialist execution""" + + def __init__(self, tenant_id, specialist_id, session_id, details, status_code=400, payload=None): + message = (f"Error during specialist {specialist_id} execution \n" + f"with Session ID {session_id} \n" + f"for Tenant {tenant_id}. \n" + f"Details: {details} \n" + f"The System Administrator has been notified. Please try again later.") + super().__init__(message, status_code, payload) diff --git a/config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.0.yaml b/config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.0.yaml index 285b840..752a57b 100644 --- a/config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.0.yaml +++ b/config/agents/traicie/TRAICIE_RECRUITER_AGENT/1.0.0.yaml @@ -16,10 +16,10 @@ backstory: > 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.mistral-medium-latest" +full_model_name: "mistral.magistral-medium-latest" temperature: 0.3 metadata: author: "Josako" date_added: "2025-06-18" - description: "HR BP Agent." + description: "Traicie Recruiter Agent" changes: "Initial version" diff --git a/config/config.py b/config/config.py index 0c59353..abd86a7 100644 --- a/config/config.py +++ b/config/config.py @@ -275,6 +275,7 @@ class DevConfig(Config): # Define the nginx prefix used for the specific apps EVEAI_APP_LOCATION_PREFIX = '/admin' EVEAI_CHAT_LOCATION_PREFIX = '/chat' + CHAT_CLIENT_PREFIX = 'chat-client/chat/' # file upload settings # UPLOAD_FOLDER = '/app/tenant_files' diff --git a/config/tasks/traicie/TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK/1.0.1.yaml b/config/tasks/traicie/TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK/1.0.1.yaml new file mode 100644 index 0000000..e0dd724 --- /dev/null +++ b/config/tasks/traicie/TRAICIE_KO_CRITERIA_INTERVIEW_DEFINITION_TASK/1.0.1.yaml @@ -0,0 +1,37 @@ +version: "1.0.0" +name: "KO Criteria Interview Definition" +task_description: > + In context of a vacancy in your company {tenant_name}, you are provided with a set of competencies + (both description and title). The competencies are in between triple backquotes. The competencies provided should be + handled as knock-out criteria. + For each of the knock-out criteria, you need to define + + - A short (1 sentence), closed-ended question (Yes / No) to ask the recruitment candidate. Use your experience to ask a question that + enables us to verify compliancy to the criterium. + - A set of 2 short answers (1 small sentence each) to that question (positive answer / negative answer), from the + candidates perspective. + The positive answer will result in a positive evaluation of the criterium, the negative answer in a negative evaluation + of the criterium. Try to avoid just using Yes / No as positive and negative answers. + + Apply the following tone of voice in both questions and answers: {tone_of_voice}, i.e. {tone_of_voice_context} + + 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. + + ```{ko_criteria}``` + + {custom_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}. + {custom_expected_output} +metadata: + author: "Josako" + date_added: "2025-06-20" + description: "A Task to define interview Q&A from given KO Criteria" + changes: "Improvement to ensure closed-ended questions and short descriptions" diff --git a/eveai_app/templates/interaction/edit_specialist_magic_link.html b/eveai_app/templates/interaction/edit_specialist_magic_link.html index afc2195..0daa518 100644 --- a/eveai_app/templates/interaction/edit_specialist_magic_link.html +++ b/eveai_app/templates/interaction/edit_specialist_magic_link.html @@ -9,11 +9,30 @@ {% block content %}