LiteAI
提供比LiteLLM更简洁、范围更广的API,并支持更多的AI模型。
- 增加国内厂商的sdk接入
- 增加embedding/agent等接口
- 简化模型的输入输出信息,方便下游处理
| 厂商 | chat | 流式chat | Image输入 | Image输出 | Embedding | ToolUse | TTS | ASR |
|---|---|---|---|---|---|---|---|---|
| ZhipuAI | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Qwen | ✅ | ✅ | ✅ | |||||
| OpenAI | ✅ | ✅ | ||||||
| Doubao | ✅ | ✅ | ||||||
| MiniMax | ✅ | ✅ | ✅ | |||||
| Xunfei | ✅ | |||||||
| Ollama | ✅ | ✅ | ||||||
| SiliconFlow | ✅ | ✅ | ||||||
| DeepSeek | ✅ | ✅ | ||||||
| Coze | ✅ | ✅ |
Install
pip install -U liteai
批量请求模型
liteai batch \
-d liteai/data/batch_test.jsonl \
-m glm-4v \
-w 2 \
--input_column text \
--image_column image \
--image_dir liteai/data \
--system "用英文回答" \
--output_path output/bath_test_glm4v.xlsx
具体参数定义使用
bash liteai batch --help查看
Metadata
Release files for liteai 0.2.2
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 |
|---|---|---|---|---|
| liteai-0.2.2.tar.gz | 227.1 kB | Without provenance | Details for liteai-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| liteai-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for liteai-0.2.2-py3-none-any.whl |
Total release size: 261.8 kB
Release files / liteai-0.2.2.tar.gz
| Download URL | liteai-0.2.2.tar.gz |
|---|---|
| Size | 227.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93781e32184652040cde439a942095f5811409b84e906dd2262fe54d2f6013a6
|
|
BLAKE2b-256 checksum How to use checksums |
308b0cb432a8be120d27c30b1e5c8b8fa5d4281303d9f0a2ef2ddc851afd78c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / liteai-0.2.2-py3-none-any.whl
| Download URL | liteai-0.2.2-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d194faafb79d0d57ee8eaa86513d8c21f969d7d706372c41992a664b8c7d3039
|
|
BLAKE2b-256 checksum How to use checksums |
3233cbd51ef12843fb30f3d464683c6603acb3633477f84becfab6e2e71ee057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for liteai 0.2.2
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.