Scholar Search
Scholarly and web search with result explanations.
Scholar Search 操作
結合網路與學術結果的智慧搜尋
同時搜尋網路與學術來源,適用於橫跨兩者的問題。⚠️ 參數放在查詢字串中:query(必填)、max_num_results、as_ylo/as_yhi。傳回搜尋 id 與 results[];項目結構因來源而異——每筆結果都有 title、link 與 snippet,學術結果還額外帶有 authors 與 number_of_citations,因此請將這兩項視為可選,不要假設它們一定存在。當無法預先判斷哪類來源能回答時使用。若能判斷,post_scholar_search_web 或 post_scholar_search_scholar 更可預測。請保留 id,供 post_scholar_search_explain 使用。
定價參考
- 計量方式:以成功請求為固定成本基礎。
- 參考請求預估:USD 0.01。
- 參考客戶乘數:1.0。不得再次套用於已結算的客戶金額。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
查詢參數
- 類型: integer | nullas
_yhi 最小值:1900最大值:2030出版年份上限
- 類型: integer | nullas
_ylo 最小值:1900最大值:2030出版年份下限
- 類型: integermax
_num _results 最小值:1最大值:100要傳回的搜尋結果數量上限,最多 100
- 類型: stringquery必填
學術資料的搜尋查詢
回應
- 類型: object · Response8Da310D1D213_SmartSearchResponse200
搜尋成功回應
- 類型: stringid必填
搜尋請求的唯一識別碼
- 類型: array object[] · Response8Da310D1D213_SmartResult[]results必填
結合網路與學術內容的智慧搜尋結果清單
- link類型: string 格式: uri必填
取得內容的 URL
- snippet類型: string必填
簡要總結或摘要
- title類型: string必填
結果標題
- authors類型: array string[]
作者清單(學術內容)
- number類型: integer
_of _citations 最小值:0引用次數(學術內容)
- relevance類型: number
_score 最小值:0最大值:1結果的相關性分數
- type類型: string 列舉
結果類型
值- web
- academic
- 類型: string 列舉search
_type 包含的搜尋結果類型
值- web
- academic
- hybrid
application/json - 400
無法處理該要求。請檢查請求參數。
- 401
需要有效的 Felo API 金鑰。
- 402
由於未符合計費要求,要求無法繼續。
- 403
該帳戶無權執行此操作。
- 429
已達到要求或支出上限。
- 502
服務無法完成該要求。
- 503
API 或計費服務暫時無法使用。
- 504
服務在處理要求時逾時。
- default
錯誤回應;上游透傳回應可能採用供應商格式
application/json
Request Example for post/v1/beta/scholar/search/mixed
curl 'https://openapi.felo.ai/v1/beta/scholar/search/mixed?query=machine%20learning' \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"results": [
{
"title": "string",
"link": "https://example.com",
"snippet": "string",
"authors": [
"string"
],
"number_of_citations": 0,
"type": "web",
"relevance_score": 0
}
],
"search_type": "web"
}