Open MypaceEngine opened 5 months ago
Hi @MypaceEngine any chance we can hop on a call to better understand this issue and how we can get litellm to work for you ?
Link to my cal for your convenience https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat?month=2024-02
Hi @MypaceEngine , @ishaan-jaff
I am able to integrate LiteLLM with APIM without any changes in LiteLLM. My configuration
┌───────┐ ┌──────────┐ ┌────────────┐
│LiteLLM├───► │Azure APIM├───► │Azure OpenAI│
└───────┘ └──────────┘ └────────────┘
The key is to deploy Azure OpenAI (AOI) in the APIM URL ending with openai
, example https://apim.public.url/openai
or https://apim.public.url/subpath/sub-subpath/openai
and configure litellm config to use azure
provider, example:
- model_name: gpt4-vision
litellm_params:
model: "azure/gpt4-vision"
custom_llm_provider: "azure"
api_base: "https://apim.public.url/subpath/sub-subpath" # Before stop before openai suffix
api_key: "xxxxx" # This is APIM subscription key
api_version: "2024-02-15-preview"
@ishaan-jaff may be we can add in the Wiki
Hi @cakriwut - yes can you make a PR on this please
@cakriwut any chance we can hop on a call ? I'd love to learn how how we can improve litellm for you. Sharing a link to my cal for your convenience: https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat
The Feature
For security, system engineer need to configure APIM setting on endpoint of Azure OpenAI Service. Some times, Engineer need to assign custom http header and certificate of client authentication . Please support these customizable feature. Sample of configuration: ''' model_list:
Motivation, pitch
litellm is good tool for enterprise llm management. But enterprise user need to configure high security setting. I think litellm support APIM, Litellm will be popular OSS for LLM management.
Twitter / LinkedIn details
No response