- Add additional configuration options to agent (temperature and model choice) - Define new PROOFREADING Agents and Tasks
50 lines
1.7 KiB
YAML
50 lines
1.7 KiB
YAML
version: "1.0.0"
|
|
name: "RAG Task"
|
|
task_description: >
|
|
Answer the following question (in between triple £):
|
|
|
|
£££
|
|
{question}
|
|
£££
|
|
|
|
Base your answer on the context below, in between triple '$'.
|
|
Take into account the history of the conversion , in between triple '€'. The parts in the history preceded by 'HUMAN'
|
|
indicate the interactions by the end user, the parts preceded with 'AI' are your interactions.
|
|
|
|
Best Practices are:
|
|
|
|
- Answer the provided question, combining elements of the provided context.
|
|
- Always focus your answer on the actual question.
|
|
- Try not to repeat your historic answers, unless absolutely necessary.
|
|
- Always be friendly and helpful for the end user.
|
|
|
|
Tune your answer with 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}
|
|
- The purpose of the conversation is to be {conversation_purpose}, i.e. {conversation_purpose_context}
|
|
- We expect you to answer with the following depth: {response_depth}, i.e. {response_depth_context}
|
|
|
|
{custom_description}
|
|
|
|
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." and give the appropriate indication.
|
|
|
|
Context:
|
|
$$$
|
|
{context}
|
|
$$$
|
|
|
|
History:
|
|
€€€
|
|
{history}
|
|
€€€
|
|
expected_output: >
|
|
Your answer.
|
|
metadata:
|
|
author: "Josako"
|
|
date_added: "2025-01-08"
|
|
description: "A Task that gives RAG-based answers"
|
|
changes: "Initial version"
|