Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve llamacpp embeddings (#12972)
- **Description:** Improve llamacpp embedding class by adding the `device` parameter so it can be passed to the model and used with `gpu`, `cpu` or Apple metal (`mps`). Improve performance by making use of the bulk client api to compute embeddings in batches. - **Dependencies:** none - **Tag maintainer:** @hwchase17 --------- Co-authored-by: Harrison Chase <[email protected]> Co-authored-by: Chester Curme <[email protected]>
- Loading branch information