Skip to main content

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
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查看

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

liteai-0.2.2.tar.gz (227.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liteai-0.2.2-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file liteai-0.2.2.tar.gz.

File metadata

  • Download URL: liteai-0.2.2.tar.gz
  • Upload date:
  • Size: 227.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for liteai-0.2.2.tar.gz
Algorithm Hash digest
SHA256 93781e32184652040cde439a942095f5811409b84e906dd2262fe54d2f6013a6
MD5 f9fcb86aebc4ad29d2d927a858c7cec7
BLAKE2b-256 308b0cb432a8be120d27c30b1e5c8b8fa5d4281303d9f0a2ef2ddc851afd78c1

See more details on using hashes here.

File details

Details for the file liteai-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: liteai-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for liteai-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d194faafb79d0d57ee8eaa86513d8c21f969d7d706372c41992a664b8c7d3039
MD5 096dd70f3fb2a11cfa9f809011b63d6a
BLAKE2b-256 3233cbd51ef12843fb30f3d464683c6603acb3633477f84becfab6e2e71ee057

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page