lite ai client
Project description
LiteAI
提供比LiteLLM更简洁、范围更广的API,并支持更多的AI模型。
- 增加国内厂商的sdk接入
- 增加embedding/agent等接口
- 简化模型的输入输出信息,方便下游处理
厂商 | chat | 流式chat | Image输入 | Image输出 | Embedding | ToolUse | TTS | ASR |
---|---|---|---|---|---|---|---|---|
ZhipuAI | ✅ | ✅ | ✅ | ✅ | ✅ | |||
Qwen | ✅ | ✅ | ✅ | |||||
OpenAI | ✅ | ✅ | ||||||
Doubao | ✅ | ✅ | ||||||
MiniMax | ✅ | ✅ | ✅ | |||||
Xunfei | ✅ | |||||||
Ollama | ✅ | ✅ | ||||||
SiliconFlow | ✅ | ✅ |
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
查看
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liteai-0.2.0.tar.gz
(357.4 kB
view details)
Built Distribution
liteai-0.2.0-py3-none-any.whl
(32.3 kB
view details)
File details
Details for the file liteai-0.2.0.tar.gz
.
File metadata
- Download URL: liteai-0.2.0.tar.gz
- Upload date:
- Size: 357.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a148554a4f0956adea9893b793e4593d0f8d3f7bce90e86f3e318bb18b6d30 |
|
MD5 | 5a858b96fdf6aa4a67657a2d858e749e |
|
BLAKE2b-256 | fa025534d9a1f7725fced7a6915033ac1481282ea737e6d6e0e7e6d2df77bf28 |
File details
Details for the file liteai-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: liteai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6164a83fe2dfabf8efeb23ff9eae019e51158b1bd8a875342b84bc2c444b9973 |
|
MD5 | 8e8880b195b57f7a2ae916261a2c797e |
|
BLAKE2b-256 | e7e2bb601daaccf2007bec8ebef5ad0f463b73b435477bd7d800608b628c1f51 |