Metadata-Version: 2.1
Name: llm-azure-api-embed
Version: 0.1
Summary: Create embeddings using the Azure API
Author: Ronald Luitwieler
License: Apache-2.0
Project-URL: Homepage, https://github.com/orangewise/llm-azure-api-embed
Project-URL: Changelog, https://github.com/orangewise/llm-azure-api-embed/releases
Project-URL: Issues, https://github.com/orangewise/llm-azure-api-embed/issues
Classifier: License :: OSI Approved :: Apache Software License
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: llm

# llm-azure-api-embed

Create embeddings using the Azure OpenAI API

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).

```bash
llm install llm-azure-api-embed
```
## Usage

Setup your deployemnts in ``

```json
[
  {
    "deployment": "ada",
    "api_base": "https://<endpoint name>.openai.azure.com",
    "api_version": "2023-05-15",
    "api_key_name": "<your key name>"
  }
]
```

You can then use your Azure embedding models like this:

```bash
llm embed -m azure/ada -c "hello world"
```

See [the LLM embeddings documentation](https://llm.datasette.io/en/stable/embeddings/index.html) for more you can do with the tool.


## Development

### Install 

```
llm install -e .
```

Confirm installation:

```
llm plugins
```
