Skip to main content

🔎 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)

Metadata

Release files for sz-researcher 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sz-researcher 0.7.5
File Size Uploaded
sz_researcher-0.7.5.tar.gz 41.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sz-researcher 0.7.5
File Interpreter ABI Platform
sz_researcher-0.7.5-py3-none-any.whl Python 3 none any Details

Total release size: 100.3 kB

Release files / sz_researcher-0.7.5.tar.gz

Download URL sz_researcher-0.7.5.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e4801ef3867a04fbdc21e14700b13c4cd7d1a454d9c768a177a7210f85a28ec7
BLAKE2b-256 checksum
How to use checksums
a4c18639a375a811e5ee4446970daf7da5dbcd1f89eefdd636fda6ae2b1d3848
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / sz_researcher-0.7.5-py3-none-any.whl

Download URL sz_researcher-0.7.5-py3-none-any.whl
Size 59.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
492f34e6ec8f865af3c91e99941a9351740ead1472e9580e0a3979f94ded34a9
BLAKE2b-256 checksum
How to use checksums
304d062d03ffa6761d70ada7529abc78c9e09824bafe8d7538312886ca36bc6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.7.5 This release

2 release files

0.7.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page