mini fix - OpenAI documentation url (#200)

agent
Dave 2 years ago committed by GitHub
parent 38d7e0b43c
commit 07ec2e441d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save