From bd7bf7f6b07301c599721cc543498d5d96745256 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 16 Aug 2024 12:46:41 -0700 Subject: [PATCH] fix endpoint name on router --- docs/my-website/docs/routing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/routing.md b/docs/my-website/docs/routing.md index d83755e68..b24a0f63e 100644 --- a/docs/my-website/docs/routing.md +++ b/docs/my-website/docs/routing.md @@ -88,8 +88,8 @@ print(response) ### Available Endpoints - `router.completion()` - chat completions endpoint to call 100+ LLMs - `router.acompletion()` - async chat completion calls -- `router.embeddings()` - embedding endpoint for Azure, OpenAI, Huggingface endpoints -- `router.aembeddings()` - async embeddings calls +- `router.embedding()` - embedding endpoint for Azure, OpenAI, Huggingface endpoints +- `router.aembedding()` - async embeddings calls - `router.text_completion()` - completion calls in the old OpenAI `/v1/completions` endpoint format - `router.atext_completion()` - async text completion calls - `router.image_generation()` - completion calls in OpenAI `/v1/images/generations` endpoint format