diff options
author | Ben Sima <ben@bsima.me> | 2024-10-28 08:57:51 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-12-21 10:07:56 -0500 |
commit | 3cb7b951bb74281ae9e014449cc8e9f4670219b0 (patch) | |
tree | 367788445b6e5c528ed15489ad437069a1ed1c7d | |
parent | 6513755670892983db88a6633b8c1ea6019c03d1 (diff) |
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.
-rw-r--r-- | Omni/Bild.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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; |