New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

liteai

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liteai

lite ai client

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

LiteAI

提供比LiteLLM更简洁、范围更广的API,并支持更多的AI模型。

  • 增加国内厂商的sdk接入
  • 增加embedding/agent等接口
  • 简化模型的输入输出信息,方便下游处理
厂商chat流式chatImage输入Image输出EmbeddingToolUseTTSASR
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查看

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc