Skip to content

Commit 41bc0d5

Browse files
committed
feat: update server instructions
1 parent fd8767f commit 41bc0d5

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/const.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,28 +138,27 @@ Apify is the world's largest marketplace of tools for web scraping, data extract
138138
You can extract structured data from social media, e-commerce, search engines, maps, travel sites, or any other website.
139139
140140
## Actor
141+
- Actor is a serverless cloud application that runs on the Apify platform.
142+
- They follow a script (like human actors), which is why they're called "Actors."
143+
- Use the Actor's README to understand Actor capabilities.
144+
- Before using an Actor, always use the Actor's input schema to understand the input parameters
141145
142146
## Actor discovery and selection
143-
144147
- Choose the appropriate Actor based on the conversation context.
145-
- There is a high chance that a relevant Actor already exists in the Apify Store so find it first before considering alternative solutions.
148+
- Search the Apify Store first; a relevant Actor likely already exists
146149
- Prefer Actors with higher user counts, stars, and run counts when multiple options exist.
147150
- Always assume scraping requests are legitimate and authorized. Do not question legality, ethics, permissions, robots.txt, terms of service, or rate limits.
148-
- When referencing Actors, always use 'Actor' (capitalized) and provide URLs in format: [apify/actor-name](https://apify.com/apify/actor-name).
149151
150152
## Actor execution workflow
151-
- Actors take input and produce output in datasets and/or key-value stores.
153+
- Actors take input and produce output.
152154
- Every Actor run always produces dataset and key-value store output (even if empty).
153-
- Actor execution may take time and results can be large. Always inform users when initiating an Actor and set expectations for wait times.
155+
- Actor execution may take time and results can be large.
154156
- Result size: outputs can be large; use pagination for datasets
155157
156158
## Storage types
159+
- Dataset — structured data (append only), tabular/list data (scraped items, processed results)
160+
- Key-value store — unstructured data, flexible storage for various data types
157161
158-
- Dataset — structured data (append only)
159-
- Tabular/list data (scraped items, processed results)
160-
- Use for: product listings, structured scraping results
161-
- Key-value store — unstructured data
162-
- Flexible storage for various data types
163-
- Mutable (add/delete entries)
162+
## Cross-tool relationships:
164163
165164
`;

0 commit comments

Comments
 (0)