Skip to content

Commit da9e550

Browse files
committed
clean up
1 parent 6fa6e58 commit da9e550

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/llm_change_agent/llm_agent.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ def _validate_and_get_model(llm_model, get_models_func, default_model=OPEN_AI_MO
7878
def run(self):
7979
"""Run the LLM Change Agent."""
8080
llm_config = self._get_llm_config()
81-
self.prompt = """
82-
Add a new exact synonym gastric cancer for MONDO_0001056.
83-
"""
8481
new_prompt = "Give me all relevant KGCL commands based on this request: " + self.prompt
8582
self.llm = llm_factory(llm_config)
8683
response = execute_agent(llm=self.llm, prompt=new_prompt)

src/llm_change_agent/templates/templates.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ def get_issue_analyzer_template():
88
template = """
99
{input}
1010
You are an semantic engineer. Based on the text you are given,
11-
you will analyze it and categorize the text into categories.
11+
you will analyze it.
1212
The different categories along with their description are provided by the
1313
following LinkML schema:
1414
{schema}
15-
All that is expected of you is to categorize the text into one of the above categories and
16-
form relevant KGCL commands in a list.
15+
All that is expected of you is to form relevant KGCL commands in a list.
1716
You have the following tools at your disposal to help you with this task:
1817
{tools}
1918
You also have the grammar in lark format: {grammar} along with an explanation of the grammar: {explanation}
20-
I want NO verbosity in your response. The final answer should be a dictionary with the category
21-
as key an command or list of commands as value.
19+
I want NO verbosity in your response. The final answer should be a list of commands.
2220
2321
Use the following format:
2422

0 commit comments

Comments
 (0)