- Finalised podman migration

- Some minor feature requests in the selection specialist
This commit is contained in:
Josako
2025-08-13 07:39:21 +02:00
parent 7e35549262
commit ebf92b0474
4 changed files with 98 additions and 75 deletions

View File

@@ -50,6 +50,29 @@ START_SELECTION_QUESTIONS = [
"Would you be open to answering a few questions to learn more about the role and your fit?",
"Would you like to continue and start the first part of the application journey?"
]
START_SELECTION_QUESTIONS_CTD = [
"Do you have any other questions, or shall we start the interview to see if theres a match with the job?",
"Do you have any questions, or shall we begin to explore if this job suits you?",
"Would you like to know anything else first, or shall we start the interview to see if the role feels like a good fit?",
"Are there any remaining questions, or shall we find out whether this job is something for you?",
"Is there anything still on your mind, or shall we begin the conversation to explore the match?",
"Feel free to ask if you still have any questions; otherwise, shall we begin the interview?",
"Is everything clear for you, or shall we now take a look together to see if this role is made for you?",
"Are you ready, or is there anything else youd like clarified before we get started?",
"No more questions, or shall we start discovering if theres a connection with this role?",
"Are you ready to begin and see if you and this job are a good match?",
# Extra variants
"Before we move on, is there anything youd like to ask? Or shall we begin?",
"Shall we get started, or is there something else youd like to clarify first?",
"Would you like to go over anything else before we start the interview?",
"Is now a good time to begin, or do you have more questions before we proceed?",
"Do you feel ready to start, or should we address any remaining questions first?",
"Would you prefer to discuss any final points, or shall we begin the selection process?",
"Is there anything we should clear up before starting, or shall we dive right in?",
"Would you like to ask anything else before we begin exploring the role together?",
"Do you want to go over anything else first, or shall we kick off the interview?",
"Are we good to start, or is there anything else youd like to cover?"
]
TRY_TO_START_SELECTION_QUESTIONS = [
"That's a pity — we can only move forward if we start the selection process. Would you like to begin now?",
"We understand, though its worth mentioning that the only way to continue is to start the procedure. Shall we get started after all?",
@@ -83,7 +106,17 @@ KO_CRITERIA_NOT_MET_MESSAGES = [
"Thanks so much for answering our questions. This role may not be the right fit, but wed love for you to consider applying again when new positions become available.",
"We value your interest in this position. While we wont be moving forward in this case, we warmly invite you to explore other roles with us in the future.",
"Your input has been very helpful. Although we're not proceeding at this time, we thank you for your interest and hope to see you again for other opportunities.",
"Thank you for taking part in the process. We wont continue with your application for this role, but we invite you to stay informed about future openings through our website."
"Thank you for taking part in the process. We wont continue with your application for this role, but we invite you to stay informed about future openings through our website.",
# Nieuwe varianten
"Thank you for providing some additional clarification. For this role, the previously mentioned requirement remains essential. We hope youll continue to follow our other vacancies!",
"We appreciate your engagement. For this specific role, we do have to end the process here. Wishing you the best of luck with your next step!",
"Thank you for your additional information. Unfortunately, this does not change the selection process for this position. We look forward to possibly meeting you again in the future!",
"Thank you for taking the time to respond. For this vacancy, we can only proceed with candidates who meet all the requirements. We wish you all the very best!",
"Weve reviewed your answers carefully. Unfortunately, we cant continue with your application for this role, but we encourage you to check our site for future openings.",
"Were grateful for your time and interest. Sadly, this position requires criteria that werent met, but wed love to see your application for other roles.",
"Thank you for sharing more details. For this specific position, the original requirements still apply. Please keep an eye out for roles that might suit you better.",
"We value the effort youve put into this process. While we cant move forward this time, wed be happy to see your application for future opportunities.",
"Your answers gave us a good understanding of your background. Unfortunately, we cant proceed with this position, but we hope to connect again in the future."
]
KO_CRITERIA_MET_MESSAGES = [
"Thank you for your answers. They correspond to some key elements of the role. Would you be open to sharing your contact details so we can continue the selection process?",
@@ -608,7 +641,7 @@ class SpecialistExecutor(CrewAIBaseSpecialistExecutor):
question = None
match self.previous_interview_phase:
case "start_selection_procedure":
question = random.choice(START_SELECTION_QUESTIONS)
question = random.choice(START_SELECTION_QUESTIONS_CTD)
case "personal_contact_data_preparation":
question = random.choice(CONTACT_DATA_QUESTIONS)
case "candidate_selected":