Inferensys

Prompt

SEC Filing Evidence Prioritization Prompt Template

A practical prompt playbook for prioritizing SEC filing disclosures by quantitative materiality and temporal proximity in production financial analysis AI workflows.
Operations team reviewing AI workflow automation on laptop, workflow builder visible, casual office setup.
PROMPT PLAYBOOK

When to Use This Prompt

Define the job, reader, and constraints for the SEC Filing Evidence Prioritization prompt.

This prompt is designed for financial analysis and investor-relations AI tools that need to extract and rank evidence from SEC filings. The core job-to-be-done is prioritizing risk factors, Management Discussion & Analysis (MD&A) statements, and footnote disclosures by their quantitative materiality and temporal proximity. The ideal user is an engineering lead or AI builder integrating this into a product that serves analysts, portfolio managers, or compliance officers who require a structured, defensible evidence set, not just a text summary.

Use this prompt when your application must produce a disclosure-priority evidence set from one or more SEC filing documents (10-K, 10-Q, 8-K, etc.). It is appropriate when the downstream task is risk assessment, investment memo drafting, or financial due diligence. The prompt requires a specific [FILING_TEXT] input and works best when you also provide a [REPORTING_DATE] to anchor temporal relevance. Do not use this prompt for general financial news summarization, real-time market data interpretation, or as a replacement for a qualified financial analyst's judgment. It is not designed for non-SEC documents like earnings call transcripts or press releases without adaptation.

The primary constraint is distinguishing specific, company-written disclosure language from generic, boilerplate regulatory text. A successful implementation must include an evaluation step that penalizes the selection of boilerplate risk factors (e.g., 'economic conditions may adversely affect our business') unless they are accompanied by specific, quantified impact statements. The prompt is a component in a larger grounding pipeline; it assumes you have already retrieved or segmented the relevant filing sections. It does not perform document retrieval itself. Before integrating, ensure your system can handle the large context windows required for full filing sections and that you have a clear schema for the output evidence objects.

Next, copy the prompt template and adapt the placeholders to your specific filing types and output requirements. Pay close attention to the [MATERIALITY_THRESHOLD] and [TEMPORAL_WEIGHT] variables, as these directly control the ranking behavior and must be tuned for your use case.

PRACTICAL GUARDRAILS

Use Case Fit

Where the SEC Filing Evidence Prioritization Prompt works, where it fails, and the operational preconditions required before wiring it into a financial intelligence product.

01

Good Fit: Structured Disclosure Analysis

Use when: extracting and ranking risk factors, MD&A statements, and footnote disclosures from 10-K, 10-Q, and 8-K filings. Why: the prompt is designed to distinguish boilerplate from specific disclosure language and weight by quantitative materiality and temporal proximity.

02

Bad Fit: Unstructured Earnings Commentary

Avoid when: processing live earnings call transcripts, investor presentations, or press releases without first extracting structured claims. Risk: the prompt relies on filing-specific section semantics and quantitative thresholds that do not exist in conversational or marketing material.

03

Required Inputs: Structured Filing Text Plus Metadata

What you need: full filing text with identifiable sections, filing date, reporting period, and quantitative thresholds for materiality. Guardrail: without section boundaries and date metadata, the prompt cannot apply temporal proximity or distinguish risk factors from business overview.

04

Operational Risk: Boilerplate Pass-Through

What to watch: the model may rank standard risk-factor boilerplate as highly material because it contains quantitative language. Guardrail: implement a boilerplate detection eval that flags passages appearing verbatim across multiple filings from the same issuer or peer group.

05

Operational Risk: Stale Disclosure Weighting

What to watch: older filings with large quantitative disclosures may outrank newer, more relevant qualitative disclosures. Guardrail: apply a temporal decay function in the ranking logic and require the prompt to explain why a newer but smaller disclosure should supersede an older one.

06

Human Review Gate: Materiality Judgment

What to watch: the prompt assigns quantitative materiality scores, but materiality is ultimately a legal and audit judgment. Guardrail: route all priority-ranked evidence sets to a human reviewer when the top-ranked disclosure exceeds a materiality threshold or contradicts management guidance.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A reusable prompt for prioritizing SEC filing excerpts by quantitative materiality and temporal proximity.

The following template is designed to be dropped into a financial analysis or investor-relations AI workflow. It instructs the model to rank evidence passages extracted from SEC filings—such as risk factors, MD&A sections, and footnote disclosures—by their financial materiality and recency. The prompt uses square-bracket placeholders for all dynamic inputs, making it straightforward to integrate into a retrieval-augmented generation (RAG) pipeline or a document intelligence harness.

text
You are a financial evidence analyst. Your task is to prioritize excerpts from SEC filings for a downstream analysis or answer-generation step.

You will receive a set of passages extracted from one or more SEC filings. Each passage includes a source label, a filing date, and the extracted text.

[INPUT]

For each passage, assign a priority score from 1 (lowest) to 5 (highest) based on the following criteria:
- Quantitative materiality: Does the passage contain specific dollar amounts, percentage changes, or other quantified financial impacts?
- Temporal proximity: How recent is the disclosure relative to the current analysis date? More recent disclosures generally carry higher priority.
- Disclosure specificity: Does the passage contain company-specific, non-boilerplate language, or is it generic risk-factor language?
- Regulatory prominence: Is the passage from a section with higher disclosure prominence, such as Item 1A Risk Factors, Item 7 MD&A, or a footnote to the financial statements?

[CONSTRAINTS]
- Do not invent or assume financial figures not present in the provided text.
- If a passage is entirely boilerplate with no company-specific quantification, assign it a priority of 1.
- If two passages contain conflicting information, flag the conflict in your reasoning but do not resolve it.
- If a passage references a date more than two fiscal years before the most recent filing date in the input, reduce its temporal proximity score by at least 1 point.

[OUTPUT_SCHEMA]
Return a JSON array of objects with the following fields:
- passage_id: string (the identifier from the input)
- priority_score: integer (1-5)
- materiality_rationale: string (one sentence explaining the score, citing specific figures or language from the passage)
- boilerplate_flag: boolean (true if the passage is primarily boilerplate disclosure)
- conflict_flag: boolean (true if this passage conflicts with another passage in the set; include the conflicting passage_id in conflict_with)
- conflict_with: string or null (passage_id of the conflicting passage, if any)

[EXAMPLES]
Example input:
[
  {
    "passage_id": "p1",
    "source": "10-K FY2024 Item 7",
    "filing_date": "2025-02-15",
    "text": "Revenue increased 12% to $4.2 billion, driven primarily by higher subscription volumes in North America."
  },
  {
    "passage_id": "p2",
    "source": "10-K FY2024 Item 1A",
    "filing_date": "2025-02-15",
    "text": "Our business is subject to risks associated with economic downturns, which could materially and adversely affect our results of operations."
  }
]

Example output:
[
  {
    "passage_id": "p1",
    "priority_score": 5,
    "materiality_rationale": "Contains specific 12% revenue growth and $4.2B figure with geographic driver detail.",
    "boilerplate_flag": false,
    "conflict_flag": false,
    "conflict_with": null
  },
  {
    "passage_id": "p2",
    "priority_score": 1,
    "materiality_rationale": "Generic risk-factor language with no company-specific quantification.",
    "boilerplate_flag": true,
    "conflict_flag": false,
    "conflict_with": null
  }
]

To adapt this template for your own pipeline, replace the [INPUT] placeholder with your retrieved passage set, including passage IDs, source labels, filing dates, and extracted text. Adjust the [CONSTRAINTS] block to reflect your specific materiality thresholds, temporal windows, or regulatory filing types. The [OUTPUT_SCHEMA] can be extended with additional fields such as section_type, filing_type, or confidence_score if your downstream application requires them. Always validate the output against the schema before passing it to an answer-generation or summarization step.

Before deploying, run this prompt against a golden dataset of SEC filings that includes both boilerplate and specific disclosure language. Measure whether the model correctly assigns low priority to generic risk factors and high priority to quantified MD&A statements. If the model over-prioritizes recent but immaterial disclosures, tighten the quantitative materiality criterion in the [CONSTRAINTS] block. For high-stakes financial analysis workflows, route priority-5 passages through a human review step before they influence investment conclusions or public-facing outputs.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the SEC Filing Evidence Prioritization prompt. Each placeholder must be populated before the prompt is sent. Validation notes describe how to check input quality before execution.

PlaceholderPurposeExampleValidation Notes

[FILING_TEXT]

Raw SEC filing section text to analyze (10-K, 10-Q, 8-K, S-1, etc.)

Item 1A. Risk Factors: Our international operations expose us to currency fluctuations...

Must be non-empty string. Strip HTML/XML markup before passing. Reject if under 50 characters or contains only boilerplate headers.

[FILING_TYPE]

SEC form type to set disclosure expectations and materiality thresholds

10-K

Must match valid SEC form type enum: 10-K, 10-Q, 8-K, S-1, S-3, S-4, DEF 14A, 20-F, 6-K. Reject unknown types.

[FILING_DATE]

Filing date in ISO 8601 format for temporal proximity scoring

2025-01-15

Must be valid ISO 8601 date string (YYYY-MM-DD). Must not be in the future. Compare against [COMPARISON_DATE] if provided.

[COMPANY_NAME]

Registrant name for entity-specific context and cross-reference checks

ExampleCorp Inc.

Non-empty string. Used to detect entity-specific disclosures versus generic industry language. Null allowed if analyzing anonymized filings.

[COMPARISON_DATE]

Reference date for temporal proximity calculation, typically current analysis date

2025-06-01

Must be valid ISO 8601 date string. If null, temporal proximity scoring uses [FILING_DATE] only. Must be equal to or later than [FILING_DATE].

[MATERIALITY_THRESHOLD]

Minimum quantitative threshold for flagging disclosures as material

5% of revenue or $10M

Must be parseable as numeric value with unit context. Used to filter immaterial disclosures. Null allowed if qualitative ranking only.

[OUTPUT_SCHEMA]

Expected JSON schema for the ranked evidence output

{ evidence_items: [{ passage, priority_score, materiality_flag, temporal_score, is_boilerplate }] }

Must be valid JSON Schema or TypeScript interface string. Validate parseability before prompt assembly. Reject if schema requires fields not produced by the prompt.

[BOILERPLATE_REFERENCE]

Optional corpus of known boilerplate language for comparison

We may be adversely affected by...

If provided, must be array of strings or single concatenated reference. Used to detect generic risk language. Null allowed if boilerplate detection relies on model judgment alone.

PRACTICAL GUARDRAILS

Common Failure Modes

What breaks first when using an LLM to prioritize SEC filing evidence, and how to guard against it.

01

Boilerplate Over Substance

What to watch: The model ranks generic risk-factor boilerplate (e.g., 'We face intense competition') as highly material, ignoring specific, quantitative disclosures. This happens because boilerplate is statistically common in training data. Guardrail: Add a constraint that requires a quantitative or temporal anchor for a passage to be ranked 'High Materiality.' Use few-shot examples that explicitly demote boilerplate.

02

Temporal Proximity Blindness

What to watch: The model fails to distinguish a Q3 2024 disclosure from a Q1 2023 disclosure, treating all retrieved text as equally current. This leads to stale risk assessments. Guardrail: Explicitly parse and compare document dates (e.g., 'For the period ended...') in the prompt instructions. Require the output to include the source document date and a 'Temporal Relevance' score.

03

Non-GAAP Metric Misinterpretation

What to watch: The model treats a non-GAAP metric (like 'Adjusted EBITDA') as a primary quantitative materiality signal without flagging its non-standard nature, potentially overstating its comparability. Guardrail: Instruct the prompt to explicitly tag any metric that is not defined by GAAP and to require reconciliation to the nearest GAAP figure before using it as a primary ranking signal.

04

Cross-Reference Omission

What to watch: The model ranks a statement from the MD&A in isolation, missing that it is qualified by a critical footnote or risk factor elsewhere in the filing. This produces an incomplete and potentially misleading evidence set. Guardrail: Add a step in the prompt to check for explicit cross-references (e.g., 'See Note 5') and retrieve the referenced section before finalizing the priority score.

05

Quantitative Threshold Hallucination

What to watch: The model invents a specific percentage-change threshold or a 'material' dollar amount that is not stated in the source text to justify a ranking decision. Guardrail: Require strict quote extraction for any quantitative claim. Implement a post-processing validation step that checks if the quoted number exists verbatim in the source passage.

06

Forward-Looking Statement Conflation

What to watch: The model ranks a forward-looking statement (e.g., 'We expect revenue to grow...') with the same evidentiary weight as a historical fact, ignoring the safe-harbor language and inherent uncertainty. Guardrail: Instruct the prompt to classify each passage as 'Historical Fact' or 'Forward-Looking Statement' and to cap the materiality score of forward-looking statements unless they are supported by specific, committed obligations.

IMPLEMENTATION TABLE

Evaluation Rubric

Criteria for testing output quality of the SEC Filing Evidence Prioritization prompt before production deployment. Each row defines a pass standard, a failure signal, and a concrete test method.

CriterionPass StandardFailure SignalTest Method

Materiality Quantification

Every ranked item includes a quantitative materiality indicator extracted from the filing

Ranking relies on qualitative boilerplate without numeric thresholds or percentage-of-revenue anchors

Parse output for numeric values in materiality fields; flag items where materiality justification is purely textual

Temporal Proximity Scoring

Items from the most recent filing period receive higher temporal proximity scores than items from prior periods

Forward-looking statements from older filings outrank specific disclosures from the current period

Compare filing-date metadata against temporal scores; verify monotonic ordering for same-topic disclosures

Boilerplate Detection

Output explicitly flags or deprioritizes standard risk-factor boilerplate that appears verbatim across multiple filings

Generic risk-factor language receives the same priority score as company-specific disclosure

Diff output text against prior-year filings; flag items with >80% string similarity that are not marked as boilerplate

Disclosure Type Discrimination

Risk factors, MD&A statements, and footnote disclosures are correctly classified and scored by distinct criteria

All disclosure types receive identical scoring weights regardless of regulatory significance

Check disclosure-type labels against source section headers; verify scoring weights differ by type in prompt configuration

Citation Traceability

Every evidence item includes a specific filing reference with section, page, or item number

Evidence items lack source locators or cite only the filing name without section granularity

Validate each output item contains a non-empty source-locator field matching the filing's table of contents structure

Confidence Calibration

Low-confidence items include explicit uncertainty flags when extraction is ambiguous or data is incomplete

All items report high confidence regardless of extraction quality or missing quantitative data

Check confidence field distribution; fail if no items fall below the configured low-confidence threshold when test filings contain ambiguous disclosures

XBRL Tag Alignment

Prioritized items reference applicable XBRL taxonomy tags where quantitative facts are involved

Numeric disclosures appear without any XBRL tag reference when the source filing includes tagged data

Cross-reference extracted numeric values against XBRL fact list; flag untagged numeric claims that have corresponding tags in the filing

Cross-Reference Integrity

Interdependent disclosures are linked and scored with awareness of cross-referenced items

Cross-referenced risk factors and footnote details are scored independently without relationship awareness

Parse cross-reference fields in output; verify that linked items share a relationship key and that combined materiality is assessed

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the SEC Filing Evidence Prioritization prompt into a production financial analysis or investor-relations AI application.

This prompt is designed to operate as a post-retrieval ranking and filtering step inside a larger RAG pipeline, not as a standalone chatbot. The typical flow is: (1) user query or analysis task arrives, (2) a retrieval system pulls candidate passages from a SEC filing corpus (10-K, 10-Q, 8-K, S-1, proxy statements), (3) this prompt ranks and prioritizes those passages by quantitative materiality and temporal proximity, and (4) the ranked evidence set is passed to a downstream answer-generation or report-drafting prompt. The harness must enforce that the model never sees raw filings directly; it only sees pre-retrieved passages plus filing metadata.

Input assembly requires three structured fields injected into the prompt template: [FILING_METADATA] (ticker, filing type, period end date, filing date), [RETRIEVED_PASSAGES] (an array of objects with passage_id, section_type, text, and page_number), and [ANALYSIS_OBJECTIVE] (the user's task, e.g., 'Identify top 5 risk factors for revenue concentration'). The harness should validate that section_type is one of the SEC-standard categories—Risk Factors, MD&A, Footnotes, Legal Proceedings, Quantitative Disclosures—before the prompt is assembled. Reject passages with missing or unrecognized section types rather than letting the model guess. The [OUTPUT_SCHEMA] placeholder should be replaced with a strict JSON schema requiring ranked_evidence (ordered array of passage IDs with priority scores 0-1 and materiality flags), boilerplate_flags (boolean per passage indicating generic vs. specific disclosure language), and temporal_proximity_days (days between passage reference date and filing date).

Model choice and tool use: Use a model with strong structured output support (GPT-4o, Claude 3.5 Sonnet, or equivalent) and enable JSON mode or structured outputs with the schema above. This prompt does not require tool calls, but the harness should wrap it in a retry loop with schema validation. If the output fails JSON schema validation, retry once with the validation error appended to [CONSTRAINTS]. If the second attempt fails, log the failure and escalate to a human review queue rather than silently falling back to unstructured text. For high-stakes financial analysis, never skip validation—a malformed evidence ranking can propagate materiality errors into downstream reports.

Logging and observability: Log every invocation with prompt_version, model_id, filing_accession_number, passage_count, output_ranked_count, boilerplate_ratio (fraction of passages flagged as boilerplate), and latency_ms. This data is essential for detecting prompt drift when the SEC updates filing requirements or when a new model version changes ranking behavior. Set an alert if boilerplate_ratio exceeds 0.7, as this indicates the retrieval step is pulling too many generic risk-factor paragraphs and needs tuning. For audit trails, store the full ranked evidence set alongside the downstream generated output so that compliance reviewers can trace every claim back to its source passage.

Human review gates: If the prompt's [RISK_LEVEL] is set to high (e.g., material weakness analysis, going-concern assessment, or fraud risk factor review), the harness must route the ranked evidence set to a human analyst for approval before it feeds into any answer-generation step. The review interface should display each ranked passage with its section type, materiality flag, and boilerplate status, and allow the analyst to re-rank, remove, or annotate passages. Only after approval should the evidence set proceed. For medium risk, log and sample 10% of outputs for retrospective human review. For low risk (e.g., general industry comparison), automated flow is acceptable but still requires the observability logging described above.

What to avoid: Do not use this prompt as a single-step answer generator—it ranks evidence, it does not synthesize answers. Do not skip the boilerplate detection eval; SEC filings are dense with legally required generic language that looks relevant but carries no company-specific signal. Do not treat all sections as equally authoritative; the harness should weight Risk Factors and MD&A higher than Exhibit indices or signature pages by pre-filtering retrieval candidates before they reach this prompt. Finally, do not deploy without a temporal freshness check: if the filing date in [FILING_METADATA] is more than 90 days old for a quarterly analysis task, the harness should warn the user and suggest retrieving more recent filings before proceeding.

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Start with the base prompt using a frontier model (GPT-4o, Claude 3.5 Sonnet). Remove strict output schema constraints initially—accept markdown tables or bulleted lists. Use a single 10-K or 10-Q filing as [SOURCE_DOCUMENT]. Skip multi-filing comparison logic. Focus on getting materiality ranking and temporal proximity right before adding footnote cross-referencing.

Prompt snippet modification: Replace structured JSON output instructions with: Output a ranked list of disclosures with materiality score (1-5), temporal proximity (current quarter / prior year / historical), and a one-sentence justification.

Watch for

  • Model conflating boilerplate risk factors with company-specific disclosures
  • Missing quantitative thresholds—model may rank all risk factors equally
  • Temporal proximity errors when filing references prior-period comparisons
  • Over-ranking recently added but immaterial disclosures
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.