File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed
Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # Jina Reader 工具
2+
3+ 使用 Jina AI Reader 将 URL 转换为 LLM 友好的 Markdown 格式。
4+
5+ ## 功能特点
6+
7+ - URL 转 Markdown
8+ - 智能内容提取
9+ - 自动清理噪音
10+ - 支持中文优化
11+
12+ ## 参数说明
13+
14+ ** 输入参数** : url, return_format
15+ ``` python
16+ def read_url_with_jina (
17+ url : str ,
18+ return_format : str ,
19+ api_key : Optional[str ] = None
20+ ) -> Dict[str , Any]:
21+ """ 使用 Jina Reader 读取 URL 内容
22+
23+ Args:
24+ url: 要读取的网页 URL
25+ api_key: Jina API 密钥 (可选)
26+ return_format: 返回格式 markdown/html
27+
28+ Returns:
29+ Dict[str, Any]: 包含读取结果的字典
30+ """
31+ ```
32+ ** 启动参数** : api_key (可选)
33+
34+ ## 使用示例
35+
36+ ```
37+ url: https://example.com/article
38+ return_format: markdown
39+ ```
Original file line number Diff line number Diff line change 1+ name : Jina Reader
2+ tags :
3+ - 内容处理
4+ title : Jina AI Reader
5+ description : 使用 Jina AI Reader 将任意 URL 转换为 LLM 友好的 Markdown 格式,支持全文提取和智能清理
You can’t perform that action at this time.
0 commit comments