Skip to main content

ZLAI

Python package Python PyPI - Downloads GitHub star chart GitHub Forks Doc Issue Discussions CONTRIBUTING License: MIT

适配中文大模型的Langchain-Agent

简介

  1. LLM: 调用大模型的便捷方法,包括本地大模型与线上大模型,其中包括主流大模型API,GLM/Qwen/Yi/MoonShot等100多种大模型。采用了统一的调用风格与方式,使得大模型调用更加便捷。
  2. Message: 消息管理机制,方便管理System/User/Assistant Message,并进行大模型对话的记忆管理。
  3. Embedding: 提供一系列向量化方法,包括本地与API向量化模型的调用,以及文本的各类向量化匹配、与向数据库对接等功能。
  4. RAG: 提供一系列文档知识库问答方法。
  5. AgentTask: 提供Agent任务流的调度,实现Agent任务的各种自动化流转。
  6. AgentTools: 提供一系列Agent工具函数,实现更方便的Agent使用,如让大模型实现股票期货数据查询问答、数据分析作图等。
  7. Other: 其他便捷方法。

详细文档


如何安装?

# [推荐] 安装最新版本ZLAI的所有模块
pip install zlai[all] -U
# [推荐] 最轻量化安装
pip install zlai[tiny] -U
# [推荐] 安装全部大模型API依赖
pip install zlai[api] -U

您也可以在GitHub/PyPi查看最新代码与最新发行版本。

Quick Start

版本计划

Star History

Star History Chart


Wechat

微信群

@2024/03/27

Metadata

Release files for zlai 0.3.116

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zlai 0.3.116
File Size Uploaded Provenance
zlai-0.3.116.tar.gz 293.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zlai 0.3.116
File Interpreter ABI Platform
zlai-0.3.116-py3-none-any.whl Python 3 none any Details

Total release size: 789.0 kB

Release files / zlai-0.3.116.tar.gz

Download URL zlai-0.3.116.tar.gz
Size 293.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0912208ced6f117f4bec4d6779ad11317948fe7d8a53863f4c7d12ae670f1c61
BLAKE2b-256 checksum
How to use checksums
e1c9822e2e211c2402c21a8563b9e2a07ea5f7c5fd0f558a551f9374e3b44c7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.15 Linux/6.8.0-1014-azure

Release files / zlai-0.3.116-py3-none-any.whl

Download URL zlai-0.3.116-py3-none-any.whl
Size 495.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6eae2eddee26cdf0d462e40f3a8c558003eb006ea79d0631a4ff757f198a2690
BLAKE2b-256 checksum
How to use checksums
4d6a37389c6e198e7689d572a249da347a0048eca8779917b4973e1fe71f58e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.15 Linux/6.8.0-1014-azure

Security for zlai 0.3.116

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page