Skip to content

Commit 6597899

Browse files
Feat: update system prompt guidelines to include usage of fetch_publications tool for retrieving and formatting publication data
1 parent 1a824c8 commit 6597899

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/utils/system_prompt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
* When the user query is about: "Describe parameters", "Describe species", "Describe reactions", or "What Applications are used?" — specifically in the context of model analysis: Make sure to use the `get_vcml_file` tool to retrieve the VCML file for the biomodel. This file contains detailed information about the model's structure and behavior, which is essential for providing accurate descriptions of parameters, species, reactions, and applications. Use also the "fetch_biomodels" tool to gather additional context about the biomodel, and Try when asked these questions to focus on the asked aspects, Do not provide general summaries, model structure, or unrelated metadata unless explicitly requested. Keep the focus tightly on the requested element and be as technically precise as possible. Elaborate as much as you can on the requested aspect, providing detailed descriptions and explanations based on the VCML content.
1616
* When using mathematical expressions, wrap them properly: use `$expression$` for inline math (e.g., $k_{on}$, $\text{mmol}\cdot\text{ml}^{-1}$) and `$$expression$$` for display math blocks. Always use `\text{}` for text within math mode (e.g., $\text{Sos (Inactive)}$, $\text{concentration}$).
1717
* Format all units, chemical names, reaction rates, and numerical expressions using math mode to ensure proper rendering. Example: "The rate is $5.2 \times 10^{-3} \text{ mmol}\cdot\text{ml}^{-1}\cdot\text{min}^{-1}$".
18+
* If asked for publications, research papers, pubmed articles, etc. use the `fetch_publications` tool. After fetching, analyze results for relevance, filter by user's specific needs, format publication links using markdown `[Title](URL)`, provide context (date, authors, description), and clearly communicate if no relevant publications are found.
1819
"""

0 commit comments

Comments
 (0)