mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
fix typo (#489)
* Update test_crew_function_calling_llm.yaml ouput -> output * Update tool_usage.py ouput -> output
This commit is contained in:
committed by
GitHub
parent
cbe9404bb9
commit
93dc0874b5
@@ -264,7 +264,7 @@ class ToolUsage:
|
||||
else ToolCalling
|
||||
)
|
||||
converter = Converter(
|
||||
text=f"Only tools available:\n###\n{self._render()}\n\nReturn a valid schema for the tool, the tool name must be exactly equal one of the options, use this text to inform the valid ouput schema:\n\n{tool_string}```",
|
||||
text=f"Only tools available:\n###\n{self._render()}\n\nReturn a valid schema for the tool, the tool name must be exactly equal one of the options, use this text to inform the valid output schema:\n\n{tool_string}```",
|
||||
llm=self.function_calling_llm,
|
||||
model=model,
|
||||
instructions=dedent(
|
||||
|
||||
@@ -324,7 +324,7 @@ interactions:
|
||||
Name: learn_about_ai\nTool Description: learn_about_AI(topic) -> float - Useful
|
||||
for when you need to learn about AI to write an paragraph about it.\nTool Arguments:
|
||||
{''topic'': {}}\n\nReturn a valid schema for the tool, the tool name must be
|
||||
exactly equal one of the options, use this text to inform the valid ouput schema:\n\nThought:
|
||||
exactly equal one of the options, use this text to inform the valid output schema:\n\nThought:
|
||||
Before I can write an amazing article about AI, I need to understand the basics
|
||||
of AI, its applications, and ethical considerations to ensure that the content
|
||||
is well-rounded and informative.\n\nAction: learn_about_AI\nAction Input: {\"topic\":
|
||||
@@ -854,7 +854,7 @@ interactions:
|
||||
Name: learn_about_ai\nTool Description: learn_about_AI(topic) -> float - Useful
|
||||
for when you need to learn about AI to write an paragraph about it.\nTool Arguments:
|
||||
{''topic'': {}}\n\nReturn a valid schema for the tool, the tool name must be
|
||||
exactly equal one of the options, use this text to inform the valid ouput schema:\n\nThought:
|
||||
exactly equal one of the options, use this text to inform the valid output schema:\n\nThought:
|
||||
Now that I know AI is a broad field, I should learn specifically about its applications
|
||||
to provide concrete examples in my article.\n\nAction: learn_about_AI\nAction
|
||||
Input: {\"topic\": \"applications of AI\"}```"}, {"role": "system", "content":
|
||||
@@ -1325,7 +1325,7 @@ interactions:
|
||||
Name: learn_about_ai\nTool Description: learn_about_AI(topic) -> float - Useful
|
||||
for when you need to learn about AI to write an paragraph about it.\nTool Arguments:
|
||||
{''topic'': {}}\n\nReturn a valid schema for the tool, the tool name must be
|
||||
exactly equal one of the options, use this text to inform the valid ouput schema:\n\nThought:
|
||||
exactly equal one of the options, use this text to inform the valid output schema:\n\nThought:
|
||||
It seems there was an error with the action input. I need to correct the format
|
||||
to ensure the tool works properly for gathering information on the applications
|
||||
of AI.\n\nAction: learn_about_AI\nAction Input: {\"topic\": \"applications of
|
||||
@@ -1807,7 +1807,7 @@ interactions:
|
||||
Name: learn_about_ai\nTool Description: learn_about_AI(topic) -> float - Useful
|
||||
for when you need to learn about AI to write an paragraph about it.\nTool Arguments:
|
||||
{''topic'': {}}\n\nReturn a valid schema for the tool, the tool name must be
|
||||
exactly equal one of the options, use this text to inform the valid ouput schema:\n\nThought:
|
||||
exactly equal one of the options, use this text to inform the valid output schema:\n\nThought:
|
||||
Having understood that AI is a broad field, and after the corrected attempt
|
||||
to learn about its applications, I realize I need more detailed insights into
|
||||
ethical considerations around AI to make sure the article covers a balanced
|
||||
|
||||
Reference in New Issue
Block a user