From 3cb7b951bb74281ae9e014449cc8e9f4670219b0 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 28 Oct 2024 08:57:51 -0400 Subject: Add llm binary to dev environment I forgot to add llm to this, instead I just added the extra libraries, which meant I had the libraries present but not the binary for running them! And llm is important in the base dev environment because I need to experiment with the various llms independent of my application code. --- Omni/Bild.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Omni/Bild.nix b/Omni/Bild.nix index 1a31e1e..7821dba 100644 --- a/Omni/Bild.nix +++ b/Omni/Bild.nix @@ -97,7 +97,8 @@ let git-branchless gitlint groff guile hlint indent jq lolcat mypy nixfmt ormolu pkg-config ripgrep rustc tree wemux; llama-cpp = unstable.llama-cpp; - llm = python3.withPackages (p: with p; [ p.llm-ollama ]); + llm = python3.withPackages + (p: [ p.llm p.llm-ollama p.llm-sentence-transformers ]); ollama = unstable.ollama; ruff = unstable.ruff; shellcheck = unstable.shellcheck; -- cgit v1.2.3