Agent
一个简单的Agent查询库。
安装
pip install agent
使用方法
from agent import Agent
# 初始化agent
agent = Agent(api_key="your-api-key", agent_id="optional-agent-id", agent_name="optional-agent-name")
# 发送查询
response = agent.query("你的查询内容")
参数说明
api_key: 必需,用于认证的API密钥agent_id: 可选,agent的唯一标识符agent_name: 可选,agent的名称
许可证
MIT
Release files for alpha-agent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alpha_agent-0.1.0.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alpha_agent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 kB
Release files / alpha_agent-0.1.0.tar.gz
| Download URL | alpha_agent-0.1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80da670cc6c7a702f2d15325d73dcbddc2a8b3562ca538701f603affb8539cd5
|
|
BLAKE2b-256 checksum How to use checksums |
1bfe377dd6ac4774b45999fcbbd871343b640323f74ee750e7a136de4b093282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.0rc2
|
Release files / alpha_agent-0.1.0-py3-none-any.whl
| Download URL | alpha_agent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82c919ba425d6ad9c19a87cfce296dea336f49add4052665dc8aebf7e85eff02
|
|
BLAKE2b-256 checksum How to use checksums |
ab84af5e8c39034bd3eb41098ae8f4eb16c8db8a056c22cd214708624326866f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.0rc2
|