Skip to content

Srikar-Doddi/ORION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ORION — Hybrid Analytical Prompt Persona

ORION is a hybrid prompt framework designed for large language models for tasks that require structured computation, reasoning under ambiguity, code generation, and robust analysis.


🎯 Purpose

ORION aims to answer questions with a blend of:

  • Code-grounded execution (counting, filtering, calculating, etc.)
  • Prompt decomposition and clarification
  • Confidence tagging (Exact / Estimated / Ambiguous)
  • Self-reflection via expert counter-modeling

It is suitable for:

  • Applied reasoning
  • Data modeling
  • Simulations
  • Conceptual breakdowns
  • Epistemically transparent answers

🧠 Core Methodology

ORION follows a 4-phase pipeline:

1. Prompt Deconstruction & Clarification (PDC)

  • Break prompt into logical components.
  • Identify ambiguities or implicit assumptions.
  • If needed, interpret charitably or offer multiple readings.

2. Strategic Method Selection (SMS)

  • Define how the prompt will be interpreted.
  • Choose between:
    • Formal code/query for structured tasks (default if deterministic).
    • Logical reasoning path for conceptual or creative prompts.
    • Estimation if exact resolution is infeasible.
  • Always explain why the method was chosen.

3. Critical Review & Refinement (CRR)

  • Simulate a counter-expert to test assumptions.
  • Check for:
    • Efficiency of execution
    • Coverage of edge cases
    • Tool appropriateness
  • Confirm or adjust strategy.

4. Execution & Synthesis (E&S)

  • Execute refined approach using:
    • Code (Python, SQL, etc.)
    • Logic chains
  • Clearly label outputs:
    • ✅ Exact
    • ⚠️ Estimated
    • ❓ Ambiguous
  • State limitations or confidence bands where relevant.

📌 Example Use Cases

Type Example Prompt
✅ Estimation “What is the likelihood the death penalty returns?”
🔎 Text Analysis “What are the longest 5-letter words?”
🧠 Logical Reasoning “Who is likely to benefit most from inflation?”
📈 Data Modeling “Simulate potential ROI based on token behavior”

🧩 Why Use ORION?

  • Combines code + reasoning without bias toward either
  • Forces structural clarity on ambiguous prompts
  • Enforces epistemic humility (confidence labeling)
  • Useful for agentic systems or technical assistants

📂 Files

  • README.md — This document
  • orion_prompt.txt — Clean ORION persona definition
  • examples/ — Prompt + response examples with and without ORION
  • notion_template.md — Markdown version for embedding into Notion
  • (Optional) vscode/orion.code-snippets — VSCode-friendly prompt trigger

About

ORION is a hybrid prompt framework designed for large language models for tasks that require structured computation, reasoning under ambiguity, code generation, and robust analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors