Metadata-Version: 2.3
Name: llm-zhipu
Version: 0.4
Summary: ChatGLM
Project-URL: Homepage, https://github.com/noahlias/llm-zhipu
Project-URL: Changelog, https://github.com/noahlias/llm-zhipu/releases
Project-URL: Issues, https://github.com/noahlias/llm-zhipu/issues
Project-URL: CI, https://github.com/noahlias/llm-zhipu/actions
Author: noahlias
License: Apache-2.0
License-File: LICENSE
Classifier: License :: OSI Approved :: Apache Software License
Requires-Dist: llm
Requires-Dist: zhipuai
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

# llm-zhipu

[![PyPI](https://img.shields.io/pypi/v/llm-zhipu.svg)](https://pypi.org/project/llm-zhipu/)
[![Changelog](https://img.shields.io/github/v/release/noahlias/llm-zhipu?include_prereleases&label=changelog)](https://github.com/noahlias/llm-zhipu/releases)
[![Tests](https://github.com/noahlias/llm-zhipu/actions/workflows/test.yml/badge.svg)](https://github.com/noahlias/llm-zhipu/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/noahlias/llm-zhipu/blob/main/LICENSE)

ChatGLM(_智浦清言_)


## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-zhipu
```
## Usage

Usage instructions go here.

![example](./assets/example.webp)

```
llm image-identify-chatglm -l 'https://img1.baidu.com/it/u=1369931113,3388870256&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1703696400&t=f3028c7a1dca43a080aeb8239f09cc2f'
```
![output](./assets/output.jpg)


## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-zhipu
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
pytest
```
