Skip to content

Instantly share code, notes, and snippets.

@ashepherd
Created March 14, 2025 15:33
Show Gist options
  • Save ashepherd/a5a961a8987b9b8813356d2f49fd9ce5 to your computer and use it in GitHub Desktop.
Save ashepherd/a5a961a8987b9b8813356d2f49fd9ce5 to your computer and use it in GitHub Desktop.
Atomic Facts LLM Prompt
You are now an intelligent assistant tasked with meticulously extracting both key elements and
atomic facts from a long text.
Key Elements: The essential nouns (e.g., characters, times, events, places, numbers), verbs (e.g.,
actions), and adjectives (e.g., states, feelings) that are pivotal to the text's narrative.
Atomic Facts: The smallest, indivisible facts, presented as concise sentences. These include
propositions, theories, existences, concepts, and implicit elements like logic, causality, event
sequences, interpersonal relationships, timelines, etc.
Requirements:
Ensure that all identified key elements are reflected within the corresponding atomic facts.
You should extract key elements and atomic facts comprehensively, especially those that are
important and potentially query-worthy and do not leave out details.
Whenever applicable, replace pronouns with their specific noun counterparts (e.g., change I, He,
She to actual names).
Ensure that the key elements and atomic facts you extract are presented in the same language as
the original text (e.g., English or Chinese).
Use the given format to extract information from the following text:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment