From 7a27c936de49a6eeac99e90799a88c5764d568de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Curn?= Date: Fri, 7 Mar 2025 08:41:54 +0100 Subject: [PATCH 1/2] Update apifyactorstool.mdx --- docs/tools/apifyactorstool.mdx | 37 ++++++++++++++++------------------ 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/docs/tools/apifyactorstool.mdx b/docs/tools/apifyactorstool.mdx index 7a406f0299..2cf707133f 100644 --- a/docs/tools/apifyactorstool.mdx +++ b/docs/tools/apifyactorstool.mdx @@ -1,22 +1,19 @@ --- title: Apify Actors -description: ApifyActorsTool integrates Apify Actors into CrewAI for web scraping, data extraction, and automation. +description: The `ApifyActorsTool` lets you call Apify Actors to provide your CrewAI workflows with web scraping, crawling, data extraction, and web automation capabilities. icon: toolbox --- # `ApifyActorsTool` -Integrate [Apify Actors](https://apify.com/) into your CrewAI workflows. +Integrate [Apify Actors](https://apify.com/actors) into your CrewAI workflows. ## Description -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. +The `ApifyActorsTool` connects [Apify Actors](https://apify.com/actors), cloud-based programs for web scraping and automation, to your CrewAI workflows. +Use any of 4,000+ Actors from [Apify Store](https://apify.com/store) for use cases such as extracting data from social media, search engines, online maps, e-commerce sites, travel portals, or general websites. -**Key features**: -- **Run Actors** directly, like the [RAG Web Browser](https://apify.com/apify/rag-web-browser), with CrewAI agents. -- **Access real-time data** for tasks that need fresh web content or automation. - -See the [Apify CrewAI documentation](https://docs.apify.com/platform/integrations/crewai) for a detailed integration guide. +For details, see the [Apify CrewAI integration](https://docs.apify.com/platform/integrations/crewai) in Apify documentation. ## Steps to get started @@ -24,17 +21,17 @@ See the [Apify CrewAI documentation](https://docs.apify.com/platform/integration Install `crewai[tools]` and `langchain-apify` using pip: `pip install 'crewai[tools]' langchain-apify`. - - Sign up at [Apify](https://apify.com/) and obtain your API token by following the [Apify API documentation](https://docs.apify.com/platform/integrations/api). + + Sign up to [Apify Console](https://console.apify.com/) and get your [Apify API token](https://console.apify.com/settings/integrations).. - Set your API token as an environment variable (`APIFY_API_TOKEN`) to enable the tool's functionality. + Set your Apify API token as the `APIFY_API_TOKEN` environment variable to enable the tool's functionality. ## Usage example -Use the `ApifyActorsTool` manually to run the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) and perform a web search: +Use the `ApifyActorsTool` manually to run the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) to perform a web search: ```python from crewai_tools import ApifyActorsTool @@ -78,23 +75,23 @@ agent = Agent( ) ``` -Experiment with other Actors from the [Apify Store](https://apify.com/store) by changing the `actor_name` and, when using it manually, adjusting the `run_input` based on the Actor input schema. +You can run other Actors from [Apify Store](https://apify.com/store) simply by changing the `actor_name` and, when using it manually, adjusting the `run_input` based on the Actor input schema. -For an example of usage with agents, see the [CrewAI Apify Actor template](https://apify.com/templates/python-crewai). +For an example of usage with agents, see the [CrewAI Actor template](https://apify.com/templates/python-crewai). ## Configuration The `ApifyActorsTool` requires these inputs to work: - **`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 all Actors in [Apify Store](https://apify.com/store). - **`run_input`** A dictionary of input parameters for the Actor when running the tool manually. - - For example for the `apify/rag-web-browser`: `{"query": "search term", "maxResults": 5}` - - See each Actor [input schema](https://apify.com/apify/rag-web-browser/input-schema) for details. + - For example for the `apify/rag-web-browser` Actor: `{"query": "search term", "maxResults": 5}` + - See Actor's [input schema](https://apify.com/apify/rag-web-browser/input-schema) for the list of input parameters. ## Resources -- **[Apify Platform](https://apify.com/)**: Dive into the Apify ecosystem. -- **[RAG Web Browser Actor](https://apify.com/apify/rag-web-browser)**: Test this popular Actor for web data retrieval. -- **[CrewAI Integration Guide](https://docs.apify.com/platform/integrations/crewai)**: Follow the official guide for Apify and CrewAI. +- **[Apify](https://apify.com/)**: Dive into the Apify platform. +- **[RAG Web Browser Actor](https://apify.com/apify/rag-web-browser)**: A popular Actor for web search for LLMs. +- **[CrewAI Integration Guide](https://docs.apify.com/platform/integrations/crewai)**: Follow the official guide for integrating Apify and CrewAI. From 264c82366f99aba81d157c39338411b54cc69d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Curn?= Date: Fri, 7 Mar 2025 08:42:56 +0100 Subject: [PATCH 2/2] Update apifyactorstool.mdx --- docs/tools/apifyactorstool.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tools/apifyactorstool.mdx b/docs/tools/apifyactorstool.mdx index 2cf707133f..b8f49b1ba3 100644 --- a/docs/tools/apifyactorstool.mdx +++ b/docs/tools/apifyactorstool.mdx @@ -1,6 +1,6 @@ --- title: Apify Actors -description: The `ApifyActorsTool` lets you call Apify Actors to provide your CrewAI workflows with web scraping, crawling, data extraction, and web automation capabilities. +description: `ApifyActorsTool` lets you call Apify Actors to provide your CrewAI workflows with web scraping, crawling, data extraction, and web automation capabilities. icon: toolbox ---