Thanks to visit codestin.com
Credit goes to github.com

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)