The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs assembly ai eu endpoints
Ishaan Jaff229f270dd6e9
diff --git a/docs/my-website/docs/pass_through/assembly_ai.md b/docs/my-website/docs/pass_through/assembly_ai.mdindex 5f7f1c07e6c..364afdea8b1 100644--- a/docs/my-website/docs/pass_through/assembly_ai.md+++ b/docs/my-website/docs/pass_through/assembly_ai.md@@ -35,6 +35,8 @@ litellmLet's call the Assembly AI `/v2/transcripts` endpoint```python+import assemblyai as aai+LITELLM_VIRTUAL_KEY = "sk-1234" # <your-virtual-key>LITELLM_PROXY_BASE_URL = "http://0.0.0.0:4000/assemblyai" # <your-proxy-base-url>/assemblyai@@ -53,3 +55,28 @@ print(transcript)print(transcript.id)```+## Calling Assembly AI EU endpoints++If you want to send your request to the Assembly AI EU endpoint, you can do so by setting the `LITELLM_PROXY_BASE_URL` to `<your-proxy-base-url>/eu.assemblyai`+++```python+import assemblyai as aai++LITELLM_VIRTUAL_KEY = "sk-1234" # <your-virtual-key>+LITELLM_PROXY_BASE_URL = "http://0.0.0.0:4000/eu.assemblyai" # <your-proxy-base-url>/eu.assemblyai++aai.settings.api_key = f"Bearer {LITELLM_VIRTUAL_KEY}"+aai.settings.base_url = LITELLM_PROXY_BASE_URL++# URL of the file to transcribe+FILE_URL = "https://assembly.ai/wildfires.mp3"++# You can also transcribe a local file by passing in a file path+# FILE_URL = './path/to/file.mp3'++transcriber = aai.Transcriber()+transcript = transcriber.transcribe(FILE_URL)+print(transcript)+print(transcript.id)+```