mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Fix typos (#2977)
This commit is contained in:
parent
9d8ab28837
commit
9a03f00e6c
@ -106,7 +106,7 @@
|
|||||||
" def from_llm(cls, llm: BaseLLM, verbose: bool = True) -> LLMChain:\n",
|
" def from_llm(cls, llm: BaseLLM, verbose: bool = True) -> LLMChain:\n",
|
||||||
" \"\"\"Get the response parser.\"\"\"\n",
|
" \"\"\"Get the response parser.\"\"\"\n",
|
||||||
" task_creation_template = (\n",
|
" task_creation_template = (\n",
|
||||||
" \"You are an task creation AI that uses the result of an execution agent\"\n",
|
" \"You are a task creation AI that uses the result of an execution agent\"\n",
|
||||||
" \" to create new tasks with the following objective: {objective},\"\n",
|
" \" to create new tasks with the following objective: {objective},\"\n",
|
||||||
" \" The last completed task has the result: {result}.\"\n",
|
" \" The last completed task has the result: {result}.\"\n",
|
||||||
" \" This result was based on this task description: {task_description}.\"\n",
|
" \" This result was based on this task description: {task_description}.\"\n",
|
||||||
@ -141,7 +141,7 @@
|
|||||||
" def from_llm(cls, llm: BaseLLM, verbose: bool = True) -> LLMChain:\n",
|
" def from_llm(cls, llm: BaseLLM, verbose: bool = True) -> LLMChain:\n",
|
||||||
" \"\"\"Get the response parser.\"\"\"\n",
|
" \"\"\"Get the response parser.\"\"\"\n",
|
||||||
" task_prioritization_template = (\n",
|
" task_prioritization_template = (\n",
|
||||||
" \"You are an task prioritization AI tasked with cleaning the formatting of and reprioritizing\"\n",
|
" \"You are a task prioritization AI tasked with cleaning the formatting of and reprioritizing\"\n",
|
||||||
" \" the following tasks: {task_names}.\"\n",
|
" \" the following tasks: {task_names}.\"\n",
|
||||||
" \" Consider the ultimate objective of your team: {objective}.\"\n",
|
" \" Consider the ultimate objective of your team: {objective}.\"\n",
|
||||||
" \" Do not remove any tasks. Return the result as a numbered list, like:\"\n",
|
" \" Do not remove any tasks. Return the result as a numbered list, like:\"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user