From b23cfbf53bbeabc4a0602b791cf5c2d855521cfd Mon Sep 17 00:00:00 2001 From: Douglas Hanley Date: Wed, 28 Feb 2024 16:30:43 -0500 Subject: [PATCH] Fix typo in README.md embeddings example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d0980e0d..32c624f49 100644 --- a/README.md +++ b/README.md @@ -525,7 +525,7 @@ To generate text embeddings use [`create_embedding`](http://localhost:8000/api-r ```python import llama_cpp -llm = llama_cpp.Llama(model_path="path/to/model.gguf", embeddings=True) +llm = llama_cpp.Llama(model_path="path/to/model.gguf", embedding=True) embeddings = llm.create_embedding("Hello, world!")