Update README.md
Browse files
README.md
CHANGED
@@ -34,4 +34,4 @@ from llama_cpp import Llama
|
|
34 |
model = Llama(gguf_path, embedding=True)
|
35 |
embed = model.embed(texts)
|
36 |
```
|
37 |
-
Here `texts` can either be a string or a list of strings, and the return value is a list of embedding vectors. The inputs are grouped into batches automatically for efficient execution.
|
|
|
34 |
model = Llama(gguf_path, embedding=True)
|
35 |
embed = model.embed(texts)
|
36 |
```
|
37 |
+
Here `texts` can either be a string or a list of strings, and the return value is a list of embedding vectors. The inputs are grouped into batches automatically for efficient execution. There is also LangChain integration through `langchain_community.embeddings.LlamaCppEmbeddings`.
|