No project description provided
Project description
sparkdesk 讯飞星火大模型api
安装
TODO ...
讯飞星火 API 申请
讯飞星火的API需要前往官网进行申请。 新用户可获取一定量都免费额度。
CLI 使用方法
> python -m sparkdesk.cli --help
Usage: python -m sparkdesk.cli [OPTIONS]
Options:
--app-id TEXT [required]
--api-secret TEXT [required]
--api-key TEXT [required]
--help Show this message and exit.
API使用方法
参考: sparkdesk/cli.py
接口返回数据结构参考官方文档 https://www.xfyun.cn/doc/spark/Web.html
TODO
- 添加 async API
- 添加返回JSON数据对应的 dataclass
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
sparkdesk-0.1.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sparkdesk-0.1.0.tar.gz.
File metadata
- Download URL: sparkdesk-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b4c8a476f06616e1d6b4c3235265524d6253398adbad57137882aeba589ef3
|
|
| MD5 |
95c97a437b9cabdf36e3b1bd46fcfb4a
|
|
| BLAKE2b-256 |
5b0afeaf15365acd4b9bece859b424d1ebf1f41a0f17aa1257946dfb4157c6b4
|
File details
Details for the file sparkdesk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sparkdesk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b197228234afc53f1f4a9ea00530f624f375d9219c4b20886f53734fbebb6a83
|
|
| MD5 |
c7351ebfab86a4aa6b47fa9eb506c1f9
|
|
| BLAKE2b-256 |
16a54078b6206633ec4b0daa4d4d9188af606afd57ed1d558ed7c2f8d9f4e1bc
|