From be02980ed1b82b109283433ae0a8901c81e9574f Mon Sep 17 00:00:00 2001 From: tanyav2 Date: Sun, 26 Jan 2025 21:53:01 -0800 Subject: [PATCH] Whitelist OpenAI embeddings endpoint --- README.md | 1 + config.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f33fa8..6ee2e58 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ And exposes the following endpoints for inference: - `/v1/chat/completions` - `/api/generate` - `/api/embed` +- `/v1/embeddings` As shown in `config.json`. diff --git a/config.json b/config.json index 9cfe06a..ff00ce0 100644 --- a/config.json +++ b/config.json @@ -9,6 +9,7 @@ "/api/chat", "/v1/chat/completions", "/api/generate", - "/api/embed" + "/api/embed", + "/v1/embeddings" ] } \ No newline at end of file