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
Release files for llm-azure-api-embed 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_azure_api_embed-0.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_azure_api_embed-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / llm_azure_api_embed-0.1.tar.gz
| Download URL | llm_azure_api_embed-0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a9c6ce4fa5de42f009aa82732d646ee5b471f0cebbc105512550594b90ea118
|
|
BLAKE2b-256 checksum How to use checksums |
2da23ffde38bde8545c5ae40e3b6abdc635e89ae0aff53ce5fa4eeacedee34fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.16
|
Release files / llm_azure_api_embed-0.1-py3-none-any.whl
| Download URL | llm_azure_api_embed-0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
644e390ea59f53eadc37f93683b715e72fb8549efcb8157d7feb521d75eada23
|
|
BLAKE2b-256 checksum How to use checksums |
c5f8236ae1488fa00bb745b8f61a37879c7cc8342fed1f0252142ddc0363f0a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.16
|