From 8ffd25ad7d95a9434366f4270c048bf30a330913 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Fri, 19 Jul 2024 10:05:48 -0700 Subject: [PATCH] Change embeddings doc to embed --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a43016..f869bbf 100644 --- a/README.md +++ b/README.md @@ -175,10 +175,10 @@ ollama.show(request) - `options` ``: (Optional) Options to configure the runtime. - Returns: `` -### embeddings +### embed ```javascript -ollama.embeddings(request) +ollama.embed(request) ``` - `request` ``: The request object containing embedding parameters. @@ -187,7 +187,7 @@ ollama.embeddings(request) - `truncate` ``: (Optional) Truncate the input to fit the maximum context length supported by the model. - `keep_alive` ``: (Optional) How long to keep the model loaded. - `options` ``: (Optional) Options to configure the runtime. -- Returns: `` +- Returns: `` ### ps