From 07ec2e441d4355719740cc468b7d4b70b6ebc932 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 5 May 2023 18:42:08 -0400 Subject: [PATCH] mini fix - OpenAI documentation url (#200) --- api/openai.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/openai.go b/api/openai.go index d98dc56..213607b 100644 --- a/api/openai.go +++ b/api/openai.go @@ -166,7 +166,7 @@ func completionEndpoint(cm ConfigMerger, debug bool, loader *model.ModelLoader, } } -// https://platform.openai.com/docs/api-reference/completions +// https://platform.openai.com/docs/api-reference/embeddings func embeddingsEndpoint(cm ConfigMerger, debug bool, loader *model.ModelLoader, threads, ctx int, f16 bool) func(c *fiber.Ctx) error { return func(c *fiber.Ctx) error { config, input, err := readConfig(cm, c, loader, debug, threads, ctx, f16)