Merge bc1b0d5351
into db49ff8ed7
This commit is contained in:
commit
4f7273c882
1 changed files with 9 additions and 0 deletions
|
@ -110,6 +110,15 @@
|
|||
type = "app";
|
||||
program = "${self.packages.${system}.default}/bin/llama-server";
|
||||
};
|
||||
apps.llama-server-openai-proxy = {
|
||||
type = "app";
|
||||
program = "${
|
||||
(let pythonWithPkgs = pkgs.python3.withPackages (ps: with ps; [ flask requests ]);
|
||||
in pkgs.writeShellScriptBin "run-openai-proxy" ''
|
||||
${pythonWithPkgs}/bin/python3 ${self}/examples/server/api_like_OAI.py
|
||||
'')
|
||||
}/bin/run-openai-proxy";
|
||||
};
|
||||
apps.llama-embedding = {
|
||||
type = "app";
|
||||
program = "${self.packages.${system}.default}/bin/embedding";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue