简体中文 | English
高能AI框架HepAI
HepAI提供了一个AI开源框架,是高能AI平台的核心技术,应用此技术可以加速多学科场景的科学研究,简化模型迭代和流程,是开发AI算法和应用的共性基础。
HepAI平台本身是一个软件系统,承载AI算法模型,提供AI计算能力,打通数据通道,并开展AI培训。
HepAI框架集成了高能物理领域的经典和最先进(SOTA)的人工智能算法。用户可以通过统一接口访问相关的算法模型、数据集和计算资源,使AI的应用变得简单高效。
News
-
[2025.04.27] v1.1.34 支持原opendrsai智能体与多智能体协作框架,将from drsai 改为 from hepai.agents即可,具体见 https://code.ihep.ac.cn/hepai/drsai
-
[2024.12.22] v1.1.16 支持远程模型!点此查看详情
-
[2024.05.16] v1.1.9 HepAI Client支持GPT-4o系列模型。
-
[2024.03.26] v1.0.21 Make LLM request like OpenAI via HepAI object.
-
[2023.10.24] v1.0.18 接入dalle文生图模型,调用方法教程见此处。
-
[2023.04.21] v1.0.7通过hepai使用GPT-3.5,hepai_api.md.
-
[2023.02.09] 基于ChatGPT的HaiChatGPT已上线,使用简单,无需梯子!详情查看:HaiChatGPT.
-
[2023.01.16] 支持华为NPU服务器,如有算法国产化需求,请查阅NPU文档。
-
[2022.10.20] HAI v1.0.6-Beta 第一个测试版本发布,4个算法和3个数据集
-
[2022.08.23] HAI v1.0.0
-
详细更新日志:update_log
快速开始
pip install hepai --upgrade
hepai -V # 查看版本
1. 调用HepAI模型
from hepai import HepAI
client = HepAI(api_key="your_api_key")
models = client.list_models()
response = client.chat.completions.create(
model="hepai/deepseek-r1:671b",
prompt="你好",
)
print(response.choices[0].text)
- api_key在HepAI平台中自行创建获取
2. 使用算力资源
X. 智能体
TODO xx
workers
- PDF, PPT, Word等解析器:https://code.ihep.ac.cn/xdb/markitdown_worker
Metadata
Release files for hepai 1.4.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hepai-1.4.11.tar.gz | 562.2 kB | Without provenance | Details for hepai-1.4.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hepai-1.4.11-py3-none-any.whl | Python 3 | none | any | Details for hepai-1.4.11-py3-none-any.whl |
Total release size: 1.4 MB
Release files / hepai-1.4.11.tar.gz
| Download URL | hepai-1.4.11.tar.gz |
|---|---|
| Size | 562.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0bf16f110fcdf9ba5ce3c724a79ba6bc9584252cf63bcad0b6a32b8e798e5b4
|
|
BLAKE2b-256 checksum How to use checksums |
8052e70dec84a2fa7c3c5956db0d52793c3c53cd1dbb6c553932bc91638bed58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / hepai-1.4.11-py3-none-any.whl
| Download URL | hepai-1.4.11-py3-none-any.whl |
|---|---|
| Size | 809.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28209e7b5f1a97562af2ef07adfb4e793f352e23b732484d252587461052eba9
|
|
BLAKE2b-256 checksum How to use checksums |
9067ab7eef892598875df723b521ec8799f458445ca11f7be443c7b37cf23998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Security for hepai 1.4.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.