You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to add at the tasks:
expected_output="What ever you want",
Try:
Define your tasks with their specific descriptions and expected outputs
task1 = Task(
description="Research about open source LLMs vs closed source LLMs. Your final answer MUST be a full analysis report.",
expected_output="A detailed report on open source LLMs vs closed source LLMs.",
agent=researcher
)
task2 = Task(
description="Using the insights provided, develop an engaging blog post that highlights the most significant facts and differences between open-source LLMs and closed-source LLMs. Your post should be informative yet accessible, catering to a tech-savvy audience. Make it sound cool, and avoid complex words so it doesn't sound like AI. Your final answer MUST be the full blog post of at least 4 paragraphs. The target word count for the blog post should be between 1,500 and 2,500 words, with a sweet spot at around 2,450 words.",
expected_output="A blog post of at least 4 paragraphs highlighting the most significant facts and differences between open-source LLMs and closed-source LLMs.",
agent=writer
)
"from langchain.llms import Ollama" is now "from langchain_community.llms import Ollama"
"from langchain.tools import DuckDuckGoSearchRun" is now "from langchain_community.tools import DuckDuckGoSearchRun"
need one more parameter "expected_ouput=" in Task function
The text was updated successfully, but these errors were encountered: