Skip to content

update prompts#1

Open
dimalvovs wants to merge 1 commit into
mainfrom
refactor/prompting
Open

update prompts#1
dimalvovs wants to merge 1 commit into
mainfrom
refactor/prompting

Conversation

@dimalvovs

Copy link
Copy Markdown
Contributor

This pull request updates both the interpret.py script and the descriptor_schema.json schema to improve clarity, accuracy, and consistency in how spatial transcriptomics report data and its analysis are described and processed. The changes refine the language in prompts and schema descriptions, add missing instructions, and ensure better guidance for both automated and human interpretation.

Prompt and analysis improvements:

  • Refined the STYLE_GUIDE and analysis prompts in interpret.py for clarity, including explicitly instructing to check that all relevant samples are included in summaries and improving the decisiveness and structure of synthesis instructions. [1] [2] [3] [4]

Schema documentation and instruction enhancements:

  • Improved descriptions and instructions for key entries in descriptor_schema.json, clarifying the role of sample sheets, reference atlases, cell type assignments, and analysis outputs. This includes specifying how to interpret file paths, metadata, and unassigned values, and providing more detailed analysis instructions for ligand-receptor and neighborhood analyses. [1] [2] [3] [4] [5]

These changes collectively make the report generation and interpretation process more robust and user-friendly, reducing ambiguity for downstream users and automated systems.

@dimalvovs dimalvovs requested review from MateoZ05 and Copilot June 30, 2026 20:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants