home/roleplay/deepset-question-answering-with-document-scores

Deepset Question Answering With Document Scores

GPTClaudeGemini··449 copies·updated 2026-07-14
deepset-question-answering-with-document-scores.prompt
This prompt is intended to be used in a `PromptNode` which receives documents with corresponding scores. For example, a pipeline with a `Retriever` which returnes scored documents is a good candidate to use in combination with this prompt.

## How to use in Haystack

For example, given a query, the `WebRetriever` will return documents from the web, with scores. This prompt might be used in the following pipeline:

when to use it

Community prompt sourced from the open-source GitHub repo deepset-ai/prompthub (Apache-2.0). A "Deepset Question Answering With Document Scores" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

deepset-ai/prompthub · Apache-2.0