Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf1fdd8

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.