mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
minor consistency improvements
This commit is contained in:
@@ -4,7 +4,7 @@ Integrate [Apify Actors](https://apify.com/) into your CrewAI workflows.
|
|||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
ApifyActorsTool connects [Apify Actors](https://apify.com/), cloud-based programs for web scraping and automation, to your CrewAI workflows. You can extract data, crawl websites, and automate tasks, all without requiring infrastructure management.
|
The `ApifyActorsTool` connects [Apify Actors](https://apify.com/), cloud-based programs for web scraping and automation, to your CrewAI workflows. You can extract data, crawl websites, and automate tasks, all without requiring infrastructure management.
|
||||||
|
|
||||||
**Key features**:
|
**Key features**:
|
||||||
- **Run Actors** directly, like the [RAG Web Browser](https://apify.com/apify/rag-web-browser), with CrewAI agents.
|
- **Run Actors** directly, like the [RAG Web Browser](https://apify.com/apify/rag-web-browser), with CrewAI agents.
|
||||||
@@ -14,19 +14,15 @@ See the [Apify CrewAI documentation](https://docs.apify.com/platform/integration
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To use ApifyActorsTool, install the necessary packages and set up your Apify API token. Follow the [Apify API documentation](https://docs.apify.com/platform/integrations/api) for steps to obtain the token.
|
To use `ApifyActorsTool`, install the necessary packages and set up your Apify API token. Follow the [Apify API documentation](https://docs.apify.com/platform/integrations/api) for steps to obtain the token.
|
||||||
|
|
||||||
### Steps
|
### Steps
|
||||||
|
|
||||||
1. **Install dependencies**
|
1. **Install dependencies**
|
||||||
Use pip to install `crewai[tools]` and `langchain-apify`:
|
Install `crewai[tools]` and `langchain-apify`:
|
||||||
```bash
|
```bash
|
||||||
pip install 'crewai[tools]' langchain-apify
|
pip install 'crewai[tools]' langchain-apify
|
||||||
```
|
```
|
||||||
Or, with `uv`:
|
|
||||||
```bash
|
|
||||||
uv pip install 'crewai[tools]' langchain-apify
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **Set your API token**
|
2. **Set your API token**
|
||||||
Export the token as an environment variable:
|
Export the token as an environment variable:
|
||||||
@@ -36,7 +32,7 @@ To use ApifyActorsTool, install the necessary packages and set up your Apify API
|
|||||||
|
|
||||||
## Usage example
|
## Usage example
|
||||||
|
|
||||||
Use ApifyActorsTool to run the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) and perform a web search:
|
Use `ApifyActorsTool` to run the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) and perform a web search:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from crewai_tools import ApifyActorsTool
|
from crewai_tools import ApifyActorsTool
|
||||||
@@ -70,7 +66,7 @@ For an example of usage with agents, see the [CrewAI Apify Actor template](https
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
ApifyActorsTool requires these inputs to work:
|
The `ApifyActorsTool` requires these inputs to work:
|
||||||
|
|
||||||
- **`actor_name`**
|
- **`actor_name`**
|
||||||
The ID of the Apify Actor to run, e.g., `"apify/rag-web-browser"`. Browse options in the [Apify Store](https://apify.com/store).
|
The ID of the Apify Actor to run, e.g., `"apify/rag-web-browser"`. Browse options in the [Apify Store](https://apify.com/store).
|
||||||
|
|||||||
Reference in New Issue
Block a user