Create embeddings using the Azure API
Project description
llm-azure-api-embed
Create embeddings using the Azure OpenAI API
Installation
Install this plugin in the same environment as LLM.
llm install llm-azure-api-embed
Usage
Setup your deployemnts in ``
[
{
"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:
llm embed -m azure/ada -c "hello world"
See the LLM embeddings documentation for more you can do with the tool.
Development
Install
llm install -e .
Confirm installation:
llm plugins
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_azure_api_embed-0.1.tar.gz.
File metadata
- Download URL: llm_azure_api_embed-0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a9c6ce4fa5de42f009aa82732d646ee5b471f0cebbc105512550594b90ea118
|
|
| MD5 |
928538992b968173a3e5abf380e6ba95
|
|
| BLAKE2b-256 |
2da23ffde38bde8545c5ae40e3b6abdc635e89ae0aff53ce5fa4eeacedee34fe
|
File details
Details for the file llm_azure_api_embed-0.1-py3-none-any.whl.
File metadata
- Download URL: llm_azure_api_embed-0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644e390ea59f53eadc37f93683b715e72fb8549efcb8157d7feb521d75eada23
|
|
| MD5 |
7337ca4841a90444ded59ade9d9f175b
|
|
| BLAKE2b-256 |
c5f8236ae1488fa00bb745b8f61a37879c7cc8342fed1f0252142ddc0363f0a3
|