firecrawl-alexandria
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseA direct path to structured data
通往结构化数据的直接路径
Alexandria brings ready-made website workflows, API providers, and specialized indexes into Firecrawl search and scrape. Semantic discovery finds capabilities by the data you need; domain matching connects web results to tools that may retrieve richer structured data beyond the page. Discover a tool that fits the task and get structured results directly, reducing the browsing, parsing, and repeated requests needed to assemble the data yourself.
- Search to find web results and relevant tools, then inspect only the contracts needed for the task.
- Scrape to execute a selected tool or read a URL. For large retained results, use its remote Bash guidance to select the data you need.
Use ordinary web results when they answer the question; use a provider tool when its coverage and inputs fit.
Alexandria 将现成的网站工作流、API 提供者和专门索引引入 Firecrawl 的搜索和抓取。语义发现根据您所需的数据查找能力;域名匹配将网页结果连接到可能检索到页面之外更丰富结构化数据的工具。发现适合任务的工具并直接获得结构化结果,减少了您自己组装数据所需的浏览、解析和重复请求。
- 搜索 用于查找网页结果和相关工具,然后只检查任务所需的契约(contracts)。
- 抓取 用于执行选定的工具或读取 URL。对于较大的留存结果,请使用其远程 Bash 指导来选择所需数据。
当普通网页结果能回答问题时,就使用它们;当提供者的覆盖范围和输入匹配时,就使用提供者工具。
Alexandria feedback
Alexandria 反馈
Alexandria coverage grows from what agents report. If you choose to report how the catalogue served a task, send at most one per website you needed data from after finishing the task. It is free: no job ID, no time window, no credit refund.
firecrawl alexandria feedbackFeedback can describe any of these outcomes:
- A tool answered the need, fully or partly.
- A tool ran but returned wrong or incomplete data, or failed.
- No provider covers the website, or a provider exists but lacks the capability you needed, and you fell back to web search, scrape, or Agent.
Opt out: if (or ) is set, the CLI silently skips the call and never sends anything. Respect that; do not try to work around it. (Team admins can also disable this server-side; the API returns and the CLI exits 0 silently.)
FIRECRAWL_NO_ENDPOINT_FEEDBACK=1FIRECRAWL_DISABLE_ENDPOINT_FEEDBACK=1feedbackErrorCode: "TEAM_OPTED_OUT"Rules to know before you call this:
- is the website the user needed data from, not the provider and not a Firecrawl page.
--urlis what they needed from it, in one sentence. These two fields are the most important: they aggregate across teams and tell us which sites and workflows to add next.--requested-functionality - explains the rating from observed results: which provider or capability served or failed the need, and how. Two or three sentences, no raw results pasted in.
--rationale - is a JSON array of
--provider-feedbackfor providers that were missing, thin, or unavailable. Issues:{name, issue, why}(no provider covers the site),missing_provider(exists, but data was thin, stale, or partial for this market or segment),insufficient_coverage(could not be called),provider_unavailable.other - is a JSON array of
--capability-feedbackfor capabilities that were missing, wrong, or failed. Issues:{name, provider, issue, why, requestedFunctionality?}(ask the provider to add one;new_capability_requestrequired),requestedFunctionality(provider exists but lacks it),missing_capability(exists but cannot take the input or filter you needed),insufficient_functionality,incorrect_result,execution_error. Useotherandnameexactly as discovery returned them; for a capability that does not exist yet, name what it should be.provider - Rate honestly: when a tool answered the need,
goodwhen it answered some of it or with gaps,partialwhen nothing available answered it or what ran was wrong or failed.bad - is the right pattern: exit code 0 even on failure, so a rejected call never crashes your pipeline.
--silent &
bash
undefinedAlexandria 的覆盖范围来自代理(agent)的报告。如果您选择报告目录如何服务任务,请在完成任务后,对每个您需要数据的网站发送至多一次 。这是免费的:没有作业 ID,没有时间窗口,没有信用退款。
firecrawl alexandria feedback反馈可以描述以下任一结果:
- 某个工具完全或部分满足了需求。
- 某个工具运行了但返回了错误或不完整的数据,或者失败。
- 没有提供者覆盖该网站,或者提供者存在但缺乏您所需的能力,并且您回退到网页搜索、抓取或代理。
选择退出: 如果设置了 (或 ),CLI 会静默跳过调用并绝不发送任何内容。请尊重这一点;不要试图绕过它。(团队成员管理员也可以服务器端禁用;API 返回 并且 CLI 静默退出 0。)
FIRECRAWL_NO_ENDPOINT_FEEDBACK=1FIRECRAWL_DISABLE_ENDPOINT_FEEDBACK=1feedbackErrorCode: "TEAM_OPTED_OUT"在调用之前需要了解的规则:
- 是用户需要数据的网站,不是提供者,也不是 Firecrawl 页面。
--url是用一句话说明他们需要从这个网站获得什么。这两个字段最重要:它们跨团队聚合,告诉我们接下来要添加哪些站点和工作流。--requested-functionality - 解释评级的依据,来自观察到的结果:哪个提供者或能力满足或未满足需求,以及如何满足或未满足。两三句话,不要粘贴原始结果。
--rationale - 是对缺失、薄弱或不可用的提供者的
--provider-feedbackJSON 数组。问题类型:{name, issue, why}(没有提供者覆盖该网站)、missing_provider(存在提供者,但该市场或细分的数据薄弱、过时或不完整)、insufficient_coverage(无法调用)、provider_unavailable。other - 是对缺失、错误或失败的能力的
--capability-feedbackJSON 数组。问题类型:{name, provider, issue, why, requestedFunctionality?}(请求提供者添加一项;new_capability_request必填)、requestedFunctionality(提供者存在但缺少此能力)、missing_capability(存在但无法接受您需要的输入或过滤)、insufficient_functionality、incorrect_result、execution_error。other和name必须与发现时返回的完全一致;对于尚不存在的能力,请命名它应该是什么。provider - 诚实评级: 当工具满足了需求时评为 ,当它部分满足或有缺口时评为
good,当没有可用工具满足或运行结果错误或失败时评为partial。bad - 是正确模式:即使失败也以退出码 0 结束,因此被拒绝的调用不会使您的管道崩溃。
--silent &
bash
undefinedExample: send at most once per website after the task is done. Replace the
Example: send at most once per website after the task is done. Replace the
placeholders with what actually happened; drop --provider-feedback or
placeholders with what actually happened; drop --provider-feedback or
--capability-feedback when there is nothing to report at that level.
--capability-feedback when there is nothing to report at that level.
firecrawl alexandria feedback
--rating "<good|partial|bad>"
--url "https://sam.gov"
--requested-functionality "Active contracts by agency with their attachments"
--rationale "sam-gov/contracts returned the contract list, but no capability exposes attachment links, so those were scraped from the web instead."
--capability-feedback '[{"name":"attachments","provider":"sam-gov","issue":"new_capability_request","why":"Attachments were the point of the task","requestedFunctionality":"Given a contract ID, return attachment URLs and document text"}]'
--silent &
--rating "<good|partial|bad>"
--url "https://sam.gov"
--requested-functionality "Active contracts by agency with their attachments"
--rationale "sam-gov/contracts returned the contract list, but no capability exposes attachment links, so those were scraped from the web instead."
--capability-feedback '[{"name":"attachments","provider":"sam-gov","issue":"new_capability_request","why":"Attachments were the point of the task","requestedFunctionality":"Given a contract ID, return attachment URLs and document text"}]'
--silent &
If you report a site with no provider coverage, use `--provider-feedback '[{"name":"<site or provider>","issue":"missing_provider","why":"<what was needed>"}]'` and rate `bad`; that is the signal we use to onboard new providers.
`--silent` suppresses output and `&` runs it in the background so feedback never blocks you. Run `firecrawl alexandria feedback --help` for every option.firecrawl alexandria feedback
--rating "<good|partial|bad>"
--url "https://sam.gov"
--requested-functionality "Active contracts by agency with their attachments"
--rationale "sam-gov/contracts returned the contract list, but no capability exposes attachment links, so those were scraped from the web instead."
--capability-feedback '[{"name":"attachments","provider":"sam-gov","issue":"new_capability_request","why":"Attachments were the point of the task","requestedFunctionality":"Given a contract ID, return attachment URLs and document text"}]'
--silent &
--rating "<good|partial|bad>"
--url "https://sam.gov"
--requested-functionality "Active contracts by agency with their attachments"
--rationale "sam-gov/contracts returned the contract list, but no capability exposes attachment links, so those were scraped from the web instead."
--capability-feedback '[{"name":"attachments","provider":"sam-gov","issue":"new_capability_request","why":"Attachments were the point of the task","requestedFunctionality":"Given a contract ID, return attachment URLs and document text"}]'
--silent &
如果您报告一个没有提供者覆盖的网站,请使用 `--provider-feedback '[{"name":"<site or provider>","issue":"missing_provider","why":"<what was needed>"}]'` 并评为 `bad`;这是我们用来引入新提供者的信号。
`--silent` 抑制输出,`&` 使其在后台运行,因此反馈永远不会阻塞您。运行 `firecrawl alexandria feedback --help` 查看所有选项。