Jina
JinaToolSpec #
基类: BaseToolSpec
Jina 工具规范。
源代码位于 llama-index-integrations/tools/llama-index-tools-jina/llama_index/tools/jina/base.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
jina_search #
jina_search(query: str) -> List[Document]
向 Jina Search 引擎发起查询以接收结果列表。
参数
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
query
|
str
|
要传递给 Jina Search 的查询。 |
必需 |
返回值
类型 | 描述 |
---|---|
List[Document]
|
[Document]:包含搜索结果的文档列表。 |
源代码位于 llama-index-integrations/tools/llama-index-tools-jina/llama_index/tools/jina/base.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|