"""
Email Templates used by the LiteLLM Email Service in slack_alerting.py
"""
KEY_CREATED_EMAIL_TEMPLATE = """
Hi {recipient_email},
I'm happy to provide you with an OpenAI Proxy API Key, loaded with ${key_budget} per month.
Key: {key_token}
import openai client = openai.OpenAI( api_key="{key_token}", base_url={{base_url}} ) response = client.chat.completions.create( model="gpt-3.5-turbo", # model to send to the proxy messages = [ {{ "role": "user", "content": "this is a test request, write a short poem" }} ] )If you have any questions, please send an email to {email_support_contact}
Hi {recipient_email},
You were invited to use OpenAI Proxy API for team {team_name}
Get Started here
If you have any questions, please send an email to {email_support_contact}
Best,
The LiteLLM team
"""