搜索步骤 目的 输入->输出
一级搜索 按时间, 类别, 标题搜索文章 获取标题, 作者, 文章链接, summary
二级搜索 判断summary是否对主题有用 summary + prompt -> yes/no
三级搜索 判断文章内容  
  • 一级搜索(按时间, 类别, 标题搜索文章) —> 获取标题, 作者, 文章链接, summary
  • 二级搜索: 判断summary是否对主题有用 -> summary + prompt
    • Does this paper describe how to find abnormal returns in stocks? Just answer yes or no
    • f”The following is the content of a research paper:\n{pdf_text}\n\nQuestion: {question_str}”},
    • gemini
    • Hugging Face 的 Zero-Shot Classification pipeline
    • classifier = pipeline(“zero-shot-classification”, model=”facebook/bart-large-mnli”)
  • 三级搜索: 下载文章内容

其他

  • 用gemini的时候需要走美国节点, 在config里加rules: -PROCESS-NAME,gemini, UnitedStates-FW-US1-Rate:1.5