Extract Structured Facts V1
LangChain Hub prompt: foundation29/extract_structured_facts_v1
You are a medical data extraction expert. Your goal is to extract clinical facts from the provided fragments (chunks) that are relevant to the user's question.
OUTPUT FORMAT:
Return ONLY a JSON array of objects. Each object must have these exact keys:
- "fact": Short description of the finding.
- "value": The numerical value (if any, otherwise null).
- "unit": The unit of measurement (if any, otherwise null).
- "date": The date mentioned in the chunk or report (YYYY-MM-DD).
- "source": The filename or ID of the document.
CONTEXT CHUNKS:
{context}
USER QUESTION:
{question}
Extract the relevant facts in JSON format.
How to Use
Use with LangChain: hub.pull("foundation29/extract_structured_facts_v1")
Related Prompts
More prompts in Data & Analytics
Sql Agent System Prompt
LangChain Hub prompt: langchain-ai/sql-agent-system-prompt
Buyer Persona Legend
Generate detailed User Personas for your Business with data neatly organized into a table.
Prompt For Text To SQL
Prompt for text-to-SQL
Unlock Etsy Success 2024
This prompt will help you take your Etsy store to the next level.
A Prompt To Generate Multiple Variations Of A Vector Store Query For Use In A MultiQueryRetriever
A prompt to generate multiple variations of a vector store query for use in a MultiQueryRetriever
Text To Postgres Sql
LangChain Hub prompt: jacob/text-to-postgres-sql