outlines-core 0.2.9

Structured Generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# If you plan to use `nix-shell` you have first to:
#
# $ nix-channel --add https://github.com/oxalica/rust-overlay/archive/master.tar.gz rust-overlay
# $ nix-channel --update
{ pkgs ? import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; }
, system ? builtins.currentSystem }:
with pkgs;
let
    toolchain = (rust-bin.fromRustupToolchainFile ./rust-toolchain).override {
        extensions = [ "rust-src" "rust-analyzer" "clippy" ];
    };
in mkShell {
    buildInputs = [ toolchain openssl pre-commit pkg-config python3 uv ];
}