Skip to content

Commit d892e20

Browse files
authored
Merge pull request #102 from matt-hendrick/fix-minor-typos-in-system-prompts
Fix four minor typos in system prompts
2 parents 9bb26c0 + 022bd2c commit d892e20

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lida/components/goal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
class GoalExplorer():
26-
"""Generat goals given a summary of data"""
26+
"""Generate goals given a summary of data"""
2727

2828
def __init__(self) -> None:
2929
pass

lida/components/infographer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class Infographer():
14-
"""Generat infographics given a visualization and a summary of data"""
14+
"""Generate infographics given a visualization and a summary of data"""
1515

1616
def __init__(self, model_config: ModelConfig = None) -> None:
1717
self.model = None

lida/components/persona.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
class PersonaExplorer():
18-
"""Generat personas given a summary of data"""
18+
"""Generate personas given a summary of data"""
1919

2020
def __init__(self) -> None:
2121
pass

lida/components/viz/vizeditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate(
3636
{
3737
"role": "system", "content": system_prompt}, {
3838
"role": "system", "content": f"The dataset summary is : \n\n {summary} \n\n"}, {
39-
"role": "system", "content": f"The modifications you make MUST BE CORRECT and based on the '{library}' library and also follow these instructions instructions \n\n{library_instructions} \n\n. The resulting code MUST use the following template \n\n {library_template} \n\n "}, {
39+
"role": "system", "content": f"The modifications you make MUST BE CORRECT and based on the '{library}' library and also follow these instructions \n\n{library_instructions} \n\n. The resulting code MUST use the following template \n\n {library_template} \n\n "}, {
4040
"role": "user", "content": f"ALL ADDITIONAL LIBRARIES USED MUST BE IMPORTED.\n The code to be modified is: \n\n{code} \n\n. YOU MUST THINK STEP BY STEP, AND CAREFULLY MODIFY ONLY the content of the plot(..) method TO MEET EACH OF THE FOLLOWING INSTRUCTIONS: \n\n {instruction_string} \n\n. The completed modified code THAT FOLLOWS THE TEMPLATE above is. \n"}]
4141

4242
completions: TextGenerationResponse = text_gen.generate(

0 commit comments

Comments
 (0)