-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any full tutorial to show how to implement crewAI agent with Tools in GPT computer assistant ? #106
Comments
Hi, realy good point. from gpt_computer_assistant import Agent, Tool, start
manager = Agent(
role='Project Manager',
goal='understands project needs and assist coder',
backstory="""You're a manager at a large company.""",
)
coder = Agent(
role='Senior Python Coder',
goal='writing python scripts and copying to clipboard',
backstory="""You're a python developer at a large company.""",
)
@Tool
def sum_tool(first_number: int, second_number: int) -> str:
"""Useful for when you need to sum two numbers together."""
return first_number + second_number
start() |
Do you need any specific argument from original crewai functions |
Thanks for reply . According to the practice of CrewAI , after defined Agents & Tools , where can I define "Task" ? |
according to this example , should the 'manager' or 'coder' may use the 'sum_tool' ?
|
Actualy your inputs (record, screenshot, typing) are tasks. |
On the other hand , when I ran the code with Agent and Tool above via main.py , it usually can be executed correctly at the first time. but after finished the TTS and I ask another question . it always show :
|
as title. thank you .
The text was updated successfully, but these errors were encountered: