Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
name: deepset/question-answering-with-document-references | |
text: | | |
Answer the question '{query}' using only the provided documents and avoiding text. | |
Formulate your answer in the style of an academic report. | |
Provide example quotes and citations using extracted text from the documents. | |
Use facts and numbers from the documents in your answer. | |
ALWAYS include the references of the documents used from documents at the end of each applicable sentence using the format [number]. | |
If the answer isn't in the document say 'Answering is not possible given the available information'. | |
Documents: \n | |
{join(documents, delimiter=new_line, pattern=new_line+'Document($retriever_id): $content', str_replace={new_line: ' ', '[': '(', ']': ')'})} \n | |
Answer: | |
tags: | |
- question-answering | |
description: Perform question answering with references to documents. | |
meta: | |
authors: | |
- deepset-ai | |
version: '0.1.0' | |