langchain-rust 4.6.0

LangChain for Rust, the easiest way to write LLM-based programs in Rust
Documentation
Build #1723670 2025-02-08 14:11:16
# rustc version
rustc 1.86.0-nightly (a9e7b3048 2025-02-07)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/langchain-rust-4.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/langchain-rust-4.6.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250207-1.86.0-nightly-a9e7b3048\", \"--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] f536fa9cd56e3089afc820302a870388cca62f85451c3d8ce0ace5dee7b88396
[INFO] running `Command { std: "docker" "start" "-a" "f536fa9cd56e3089afc820302a870388cca62f85451c3d8ce0ace5dee7b88396", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: agent, conversational_chain, conversational_retriever_chain_with_vector_store, conversational_retriever_simple_chain, dynamic_semantic_routes, embedding_azure_open_ai, embedding_fastembed, embedding_mistralai, embedding_ollama, embedding_openai, git_commits, llm_anthropic_claude, llm_azure_open_ai, llm_chain, llm_ollama, llm_openai, open_ai_tools_agent, qa_chain, rcommiter, semantic_routes, sequential_chain, simple_chain, speech2text_openai, sql_chain, streaming_from_chain, vector_store_opensearch, vector_store_postgres, vector_store_qdrant, vector_store_sqlite, vision_llm_chain, wolfram_tool
[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 langchain-rust v4.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unclosed HTML tag `Tool`
[INFO] [stderr]   --> src/schemas/tools_openai_like.rs:31:56
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, Box<Tool>, and direct references
[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] 31 |     /// Generic function that can be used with both `Arc<Tool>`, Box<Tool>, and direct references
[INFO] [stderr]    |                                                     +         +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Tool`
[INFO] [stderr]   --> src/schemas/tools_openai_like.rs:31:67
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, Box<Tool>, and direct references
[INFO] [stderr]    |                                                                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, `Box<Tool>`, and direct references
[INFO] [stderr]    |                                                                +         +
[INFO] [stderr] 
[INFO] [stderr] warning: `langchain-rust` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.77s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/langchain_rust/index.html
[INFO] running `Command { std: "docker" "inspect" "f536fa9cd56e3089afc820302a870388cca62f85451c3d8ce0ace5dee7b88396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f536fa9cd56e3089afc820302a870388cca62f85451c3d8ce0ace5dee7b88396", kill_on_drop: false }`
[INFO] [stdout] f536fa9cd56e3089afc820302a870388cca62f85451c3d8ce0ace5dee7b88396