25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
version: "1.0.0"
|
|
name: "RAG Task"
|
|
task_description: >
|
|
Answer the query based on the following context, delimited between triple backquotes, and taking into account
|
|
the history of the discussion, in between triple %. 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:
|
|
```{context}```
|
|
History:
|
|
%%%{history}%%%
|
|
Query:
|
|
{query}
|
|
expected_output: >
|
|
- Answer
|
|
- A list of sources used in generating the answer, citations
|
|
- An indication (True or False) if there's insufficient information to give an answer.
|
|
metadata:
|
|
author: "Josako"
|
|
date_added: "2025-01-08"
|
|
description: "A Task that gives RAG-based answers"
|
|
changes: "Initial version"
|