Skip to content

feat(backend): improve publication formatting prompt for predictable UI rendering#41

Open
M-V-RAGHUPATHI-SAI wants to merge 1 commit intovirtualcell:mainfrom
M-V-RAGHUPATHI-SAI:publication-formatting
Open

feat(backend): improve publication formatting prompt for predictable UI rendering#41
M-V-RAGHUPATHI-SAI wants to merge 1 commit intovirtualcell:mainfrom
M-V-RAGHUPATHI-SAI:publication-formatting

Conversation

@M-V-RAGHUPATHI-SAI
Copy link

Fixes #40

I have updated the system_prompt in backend/app/utils/system_prompt.py to enforce a strict, highly readable Markdown structure when the LLM returns publication data.

specifically this update:

  • Return strict, predictable Markdown.
  • Generate working DOI links.
  • Hide missing data fields to keep the UI clean.

Please let me know if you want any changes.

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.

Improve LLM publication formatting for cleaner UI rendering

1 participant