web-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Web Search & Extraction

网页搜索与内容提取

Search the web and extract content via inference.sh CLI.
通过inference.sh CLI进行网页搜索与内容提取。

Quick Start

快速开始

bash
curl -fsSL https://cli.inference.sh | sh && infsh login
bash
curl -fsSL https://cli.inference.sh | sh && infsh login

Search the web

Search the web

infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'
undefined
infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'
undefined

Available Apps

可用应用

Tavily

Tavily

AppApp IDDescription
Search Assistant
tavily/search-assistant
AI-powered search with answers
Extract
tavily/extract
Extract content from URLs
应用应用ID描述
搜索助手
tavily/search-assistant
带答案的AI驱动搜索
提取工具
tavily/extract
从URL提取内容

Exa

Exa

AppApp IDDescription
Search
exa/search
Smart web search with AI
Answer
exa/answer
Direct factual answers
Extract
exa/extract
Extract and analyze web content
应用应用ID描述
搜索
exa/search
AI驱动的智能网页搜索
答案生成
exa/answer
直接返回事实性答案
提取工具
exa/extract
提取并分析网页内容

Examples

示例

Tavily Search

Tavily 搜索

bash
infsh app run tavily/search-assistant --input '{
  "query": "What are the best practices for building AI agents?"
}'
Returns AI-generated answers with sources and images.
bash
infsh app run tavily/search-assistant --input '{
  "query": "What are the best practices for building AI agents?"
}'
返回带来源和图片的AI生成答案。

Tavily Extract

Tavily 提取

bash
infsh app run tavily/extract --input '{
  "urls": ["https://example.com/article1", "https://example.com/article2"]
}'
Extracts clean text and images from multiple URLs.
bash
infsh app run tavily/extract --input '{
  "urls": ["https://example.com/article1", "https://example.com/article2"]
}'
从多个URL提取干净的文本和图片。

Exa Search

Exa 搜索

bash
infsh app run exa/search --input '{
  "query": "machine learning frameworks comparison"
}'
Returns highly relevant links with context.
bash
infsh app run exa/search --input '{
  "query": "machine learning frameworks comparison"
}'
返回带上下文的高相关性链接。

Exa Answer

Exa 答案生成

bash
infsh app run exa/answer --input '{
  "question": "What is the population of Tokyo?"
}'
Returns direct factual answers.
bash
infsh app run exa/answer --input '{
  "question": "What is the population of Tokyo?"
}'
直接返回事实性答案。

Exa Extract

Exa 提取

bash
infsh app run exa/extract --input '{
  "url": "https://example.com/research-paper"
}'
Extracts and analyzes web page content.
bash
infsh app run exa/extract --input '{
  "url": "https://example.com/research-paper"
}'
提取并分析网页内容。

Workflow: Research + LLM

工作流:调研 + LLM

bash
undefined
bash
undefined

1. Search for information

1. Search for information

infsh app run tavily/search-assistant --input '{ "query": "latest developments in quantum computing" }' > search_results.json
infsh app run tavily/search-assistant --input '{ "query": "latest developments in quantum computing" }' > search_results.json

2. Analyze with Claude

2. Analyze with Claude

infsh app run openrouter/claude-sonnet-45 --input '{ "prompt": "Based on this research, summarize the key trends: <search-results>" }'
undefined
infsh app run openrouter/claude-sonnet-45 --input '{ "prompt": "Based on this research, summarize the key trends: <search-results>" }'
undefined

Workflow: Extract + Summarize

工作流:提取 + 总结

bash
undefined
bash
undefined

1. Extract content from URL

1. Extract content from URL

infsh app run tavily/extract --input '{ "urls": ["https://example.com/long-article"] }' > content.json
infsh app run tavily/extract --input '{ "urls": ["https://example.com/long-article"] }' > content.json

2. Summarize with LLM

2. Summarize with LLM

infsh app run openrouter/claude-haiku-45 --input '{ "prompt": "Summarize this article in 3 bullet points: <content>" }'
undefined
infsh app run openrouter/claude-haiku-45 --input '{ "prompt": "Summarize this article in 3 bullet points: <content>" }'
undefined

Use Cases

适用场景

  • Research: Gather information on any topic
  • RAG: Retrieval-augmented generation
  • Fact-checking: Verify claims with sources
  • Content aggregation: Collect data from multiple sources
  • Agents: Build research-capable AI agents
  • 调研:收集任意主题的信息
  • RAG:检索增强生成
  • 事实核查:通过来源验证主张
  • 内容聚合:从多个来源收集数据
  • Agent开发:构建具备调研能力的AI Agent

Related Skills

相关技能

bash
undefined
bash
undefined

Full platform skill (all 150+ apps)

Full platform skill (all 150+ apps)

npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh

LLM models (combine with search for RAG)

LLM models (combine with search for RAG)

npx skills add inference-sh/skills@llm-models
npx skills add inference-sh/skills@llm-models

Image generation

Image generation

npx skills add inference-sh/skills@ai-image-generation

Browse all apps: `infsh app list`
npx skills add inference-sh/skills@ai-image-generation

浏览所有应用:`infsh app list`

Documentation

文档