- Refinement of the chat client to have better visible clues for user vs chatbot messages

- Introduction of interview_phase and normal phase in TRAICIE_SELECTION_SPECIALIST to make interaction with bot more human.
- More and random humanised messages to TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
Josako
2025-08-02 16:36:41 +02:00
parent 998ddf4c03
commit 9a88582fff
50 changed files with 2064 additions and 384 deletions

View File

@@ -0,0 +1,43 @@
version: "1.0.0"
name: "Advanced RAG Task"
task_description: >
Answer the following question (in between triple £):
£££{question}£££
Base your answer on the following context (in between triple $):
$$${context}$$$
Take into account the following history of the conversation (in between triple €):
€€€{history}€€€
The HUMAN parts indicate the interactions by the end user, the AI parts are your interactions.
Best Practices are:
- Answer the provided question as precisely and directly as you can, combining elements of the provided context.
- Always focus your answer on the actual question.
- Limit repetition in your answers to an absolute minimum, unless absolutely necessary.
- Always be friendly and helpful for the end user.
Tune your answers to the following:
- You use the following Tone of Voice for your answer: {tone_of_voice}, i.e. {tone_of_voice_context}
- You use the following Language Level for your answer: {language_level}, i.e. {language_level_context}
Use the following language in your communication: {language}
If the question cannot be answered using the given context, answer "I have insufficient information to answer this
question." and give the appropriate indication.
{custom_description}
expected_output: >
metadata:
author: "Josako"
date_added: "2025-07-30"
description: "A Task that performs RAG and checks for human answers"
changes: "Initial version"

View File

@@ -1,19 +1,32 @@
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.
Answer the following question (in between triple £):
£££{question}£££
Base your answer on the following context (in between triple $):
$$${context}$$$
Take into account the following history of the conversation (in between triple €):
€€€{history}€€€
The HUMAN parts indicate the interactions by the end user, the AI parts are your interactions.
Best Practices are:
- Answer the provided question as precisely and directly as you can, combining elements of the provided context.
- Always focus your answer on the actual HUMAN question.
- Try not to repeat your answers (preceded by AI), unless absolutely necessary.
- Focus your answer on the question at hand.
- Always be friendly and helpful for the end user.
{custom_description}
Use the following {language} in your communication, and cite the sources used at the end of the full conversation.
Use the following {language} in your communication.
If the question cannot be answered using the given context, answer "I have insufficient information to answer this
question."
Context (in between triple $):
$$${context}$$$
History (in between triple €):
€€€{history}€€€
Question (in between triple £):
£££{question}£££
question." and give the appropriate indication.
expected_output: >
Your answer.
metadata: