llm-chain 0.13.0

A library for running chains of LLMs (such as ChatGPT) in series to complete complex tasks, such as text summation.
Documentation
Build #970940 2023-11-15T20:51:42.134870+00:00
# rustc version
rustc 1.76.0-nightly (dd430bc8c 2023-11-14)# docs.rs version
docsrs 0.6.0 (a7020daf 2023-11-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/llm-chain-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/llm-chain-0.13.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231114-1.76.0-nightly-dd430bc8c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1440ccdc22f4d6fb7cc2ded3861f82f425d257c8f9a73558965387ca1ad4a005
[INFO] running `Command { std: "docker" "start" "-a" "1440ccdc22f4d6fb7cc2ded3861f82f425d257c8f9a73558965387ca1ad4a005", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: tool_derive_describe, tools_prompt, multitool, google_serper, extract_labeled_text, bing_search
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting llm-chain v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unclosed HTML tag `String`
[INFO] [stderr]   --> src/chains/conversation.rs:35:102
[INFO] [stderr]    |
[INFO] [stderr] 35 |     /// Constructs a new `Chain` with the given conversation state by passing a ChatMessageCollection<String> (clone).
[INFO] [stderr]    |                                                                                                      ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 35 |     /// Constructs a new `Chain` with the given conversation state by passing a `ChatMessageCollection<String>` (clone).
[INFO] [stderr]    |                                                                                 +                             +
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]   --> src/chains/sequential.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |   //! ```ignore
[INFO] [stderr]    |  _____^
[INFO] [stderr] 14 | | //!
[INFO] [stderr] 15 | | //! // Assuming an executor `executor` that implements the `Executor` trait.
[INFO] [stderr] 16 | | //! let step1 = Step::new(prompt!("Write a summary for this text: {{text}}"));
[INFO] [stderr] ...  |
[INFO] [stderr] 24 | | //! let result = chain.run(parameters, &executor).await;
[INFO] [stderr] 25 | | //! ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]   --> src/chains/sequential.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | //! ```ignore
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    = note: error from rustc: this file contains an unclosed delimiter
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Opt`
[INFO] [stderr]    --> src/options.rs:165:14
[INFO] [stderr]     |
[INFO] [stderr] 165 |     /// A Vec<Opt> field that holds the options to be added to the `Options` instance.
[INFO] [stderr]     |              ^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 165 |     /// A `Vec<Opt>` field that holds the options to be added to the `Options` instance.
[INFO] [stderr]     |           +        +
[INFO] [stderr] 
[INFO] [stderr] warning: `llm-chain` (lib doc) generated 3 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.08s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/llm_chain/index.html
[INFO] running `Command { std: "docker" "inspect" "1440ccdc22f4d6fb7cc2ded3861f82f425d257c8f9a73558965387ca1ad4a005", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1440ccdc22f4d6fb7cc2ded3861f82f425d257c8f9a73558965387ca1ad4a005", kill_on_drop: false }`
[INFO] [stdout] 1440ccdc22f4d6fb7cc2ded3861f82f425d257c8f9a73558965387ca1ad4a005