Create embeddings using the Azure OpenAI API
Install this plugin in the same environment as LLM.
llm install llm-azure-api-embed
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.
llm install -e .
Confirm installation:
llm plugins