Skip to content

Commit

Permalink
experimental[patch]: Fixed typos in SmartLLMChain ideation and critiq…
Browse files Browse the repository at this point in the history
…ue prompts (#11507)

Noticed and fixed a few typos in the SmartLLMChain default ideation and
critique prompts

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
  • Loading branch information
Mattt394 and hwchase17 committed Feb 14, 2024
1 parent 86d3e42 commit 7c6009b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libs/experimental/langchain_experimental/smart_llm/base.py
Expand Up @@ -215,7 +215,7 @@ def get_prompt_strings(
HumanMessagePromptTemplate,
"You are a researcher tasked with investigating the "
f"{self.n_ideas} response options provided. List the flaws and "
"faulty logic of each answer options. Let'w work this out in a step"
"faulty logic of each answer option. Let's work this out in a step"
" by step way to be sure we have all the errors:",
),
]
Expand All @@ -229,10 +229,10 @@ def get_prompt_strings(
HumanMessagePromptTemplate,
"You are a resolver tasked with 1) finding which of "
f"the {self.n_ideas} answer options the researcher thought was "
"best,2) improving that answer and 3) printing the answer in full. "
"Don't output anything for step 1 or 2, only the full answer in 3. "
"Let's work this out in a step by step way to be sure we have "
"the right answer:",
"best, 2) improving that answer and 3) printing the answer in "
"full. Don't output anything for step 1 or 2, only the full "
"answer in 3. Let's work this out in a step by step way to "
"be sure we have the right answer:",
),
]
)
Expand Down

0 comments on commit 7c6009b

Please sign in to comment.