mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
Updated Agent Tools (markdown)
@@ -19,6 +19,8 @@ Example:
|
||||
```python
|
||||
import json
|
||||
import requests
|
||||
|
||||
from crewai import Agent
|
||||
from langchain.tools import tool
|
||||
from unstructured.partition.html import partition_html
|
||||
|
||||
@@ -40,7 +42,7 @@ class BrowserTools():
|
||||
return content[:5000]
|
||||
|
||||
|
||||
# Create an agent and assign the search tool
|
||||
# Create an agent and assign the scrapping tool
|
||||
agent = Agent(
|
||||
role='Research Analyst',
|
||||
goal='Provide up-to-date market analysis',
|
||||
|
||||
Reference in New Issue
Block a user