Metadata-Version: 2.4
Name: lang-model-cli
Version: 0.1.3
Summary: Language Model Command Line Interface
Author-email: Gabriel Altay <gabriel.altay@gmail.com>
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: litellm==1.55.12
Requires-Dist: openai>=1.59.6
Requires-Dist: rich>=13.9.4
Requires-Dist: typer>=0.15.1
Provides-Extra: ipython
Requires-Dist: ipython>=8.31.0; extra == 'ipython'
Description-Content-Type: text/markdown

# Lang Model CLI

A command line interface for interacting with large language models.


# Quick Start

## Install with pip
```bash
pip install lang-model-cli
```

## Export provider API keys
```bash
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-..."
...
```

## Use the CLI

You can construct user messages in several ways.

Pass in a prompt directly,
```bash
lmc -p hello
```

Pipe input in,
```bash
cat <filename> | lmc
```

Or combine the two,
```bash
cat <filename> | lmc -p "Explain the following text: @pipe"
```
Here `@pipe` will be replaced with the contents of `<filename>`.
