Skip to main content

sz-researcher是一款为中文研究而设计的自主智能体,适用于多种任务。

Project description

🔎 sz-researcher

sz-researcher是一款为中文研究而设计的自主智能体,适用于多种任务。

该智能体能够生成详尽、真实、无偏见的研究报告,并提供定制选项,专注于相关资源、大纲和课程。受最近发布的计划与解决RAG论文的启发,sz-researcher解决了速度、确定性和可靠性的问题,通过并行化智能体工作,而非同步操作,提供了更稳定的性能和更快的处理速度。

主要参考源自:GPT Researcher

我们的使命是通过利用人工智能的力量,为个人和组织提供准确、无偏见、真实的信息。

PIP软件包

步骤0 - 安装Python 3.11或更高版本。点击这里 查看逐步指南。 步骤1 - 安装sz-researcher软件包 PyPI页面

$ pip install sz-researcher

步骤2 - 创建.env文件并填入您的OpenAI密钥和Tavily API密钥,或者直接导出它们

$ export OPENAI_API_KEY={您的OpenAI API密钥}

步骤3 - 在您自己的代码中开始使用sz-researcher,示例:

from sz_researcher import SZResearcher
import asyncio

async def get_report(query: str, report_type: str) -> str:
    researcher = SZResearcher(query, report_type)
    report = await researcher.run()
    return report

if __name__ == "__main__":
    query = "北溪天然气管道是谁炸的?"
    report_type = "研究"

    report = asyncio.run(get_report(query, report_type))
    print(report)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sz-researcher-0.7.4.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sz_researcher-0.7.4-py3-none-any.whl (58.8 kB view details)

Uploaded Python 3

File details

Details for the file sz-researcher-0.7.4.tar.gz.

File metadata

  • Download URL: sz-researcher-0.7.4.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for sz-researcher-0.7.4.tar.gz
Algorithm Hash digest
SHA256 2552ed04158bb34f88a171e4dee552f18ff0cc3b5053a193e3bcea2aa0aaea2a
MD5 261a5141e578b4c692c891bc22736f11
BLAKE2b-256 accb064a8f81a5134cc248b5e69f2333284aa858893260ee5cbf6f3813ad3fb2

See more details on using hashes here.

File details

Details for the file sz_researcher-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: sz_researcher-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for sz_researcher-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 18c39f1bda8274b2a66ab9bf2a8ed182939e8d699c8fce6c14be7b7631d38601
MD5 74c32b5f8dae9b690e408da4eb5fb4cb
BLAKE2b-256 d9fb6f343527de6c0913735950a0ff599a6d799fbae1ec52de5ad26b1fec7d28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page