Skip to content

Commit cf1fdd8

Browse files
authored
docs: fix typo in README.md embeddings example. (abetlen#1232)
1 parent 8c71725 commit cf1fdd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ To generate text embeddings use [`create_embedding`](http://localhost:8000/api-r
525525
```python
526526
import llama_cpp
527527

528-
llm = llama_cpp.Llama(model_path="path/to/model.gguf", embeddings=True)
528+
llm = llama_cpp.Llama(model_path="path/to/model.gguf", embedding=True)
529529

530530
embeddings = llm.create_embedding("Hello, world!")
531531

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy