版本发布 8
## What's Changed * TokenUsage when using streaming by @linusbierhoff in https://github.com/Abraxas-365/langchain-rust/pull/211 * fix(deps): update rust crate tree-sitter to 0.24 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/241 * fix: chain typo - changed from chian to chain by @StavoS in https://github.com/Abraxas-365/langchain-rust/pull/243 ## New Contributors * @StavoS made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/243 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.5.0...v4.6.0
## What's Changed * [BREAKING CHANGE] fix(deps): update rust crate surrealdb to v2 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/233 * default to llama 3.2 for ollama by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/235 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.4.3...v4.5.0
## What's Changed * fix(deps): update rust crate lopdf to 0.33.0 and pdf_extract to v0.7.8 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/206 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.4.0...v4.4.1
## What's Changed * chore: bump ollama `0.1.9` to `0.2.0` by @erhant in https://github.com/Abraxas-365/langchain-rust/pull/167 * Fix links and spelling by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/168 * Feature gate these so tests can run by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/169 * Fix some warnings and style by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/170 * chore(deps): update rust crate testcontainers to 0.18 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/171 * fix(deps): update rust crate async-openai to 0.23.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/172 * Change max_tokens from u16 to u32 for larger context window in recent models by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/174 * fix(deps): update rust crate text-splitter to 0.14 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/173 * Bump Qdrant dependency to 1.9, preemptively fix 1.10 compiler error by @timvisee in https://github.com/Abraxas-365/langchain-rust/pull/175 * Add Claude 3.5 Sonnet model. by @BWStearns in https://github.com/Abraxas-365/langchain-rust/pull/176 * Support adding images to Message and mapping to ollama ChatMessage images. by @eng-cc in https://github.com/Abraxas-365/langchain-rust/pull/179 * Bump Qdrant dependency to 1.10 with new API client by @timvisee in https://github.com/Abraxas-365/langchain-rust/pull/178 * fix: claude system message error by @cs50victor in https://github.com/Abraxas-365/langchain-rust/pull/180 * fix(deps): update rust crate lopdf to 0.33.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/183 * chore(deps): update rust crate testcontainers to 0.20 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/182 * make lopdf optional by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/184 * tool_choice instead of function_call by @linusbierhoff in https://github.com/Abraxas-365/langchain-rust/pull/181 * add gpt-4o-mini in OpenAIModel enum by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/188 * Add optional MistralAI embedder by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/186 * fix(deps): update rust crate gix to 0.64.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/190 * set default model to gtp4omini by @linusbierhoff in https://github.com/Abraxas-365/langchain-rust/pull/195 * chore(deps): update rust crate testcontainers to 0.21 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/189 * group pgvector and sqlx in renovate config by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/198 * fix(deps): update sqlx by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/201 * fix(deps): update rust crate scraper to 0.20 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/199 * fix(deps): update rust crate text-splitter to 0.15 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/200 * add pdf-extract loader by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/202 * Changed Exclude String filters in favour of Callback Functions. by @aliumujib in https://github.com/Abraxas-365/langchain-rust/pull/204 * fix(deps): update rust crate mistralai-client to 0.13.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/207 * fix(deps): update rust crate gix to 0.66.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/205 * fix(deps): update rust crate fastembed to v4 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/208 * fix pdf-extract feature flag by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/209 ## New Contributors * @fgsch made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/168 * @timvisee made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/175 * @cs50victor made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/180 * @linusbierhoff made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/181 * @aliumujib made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/204 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.2.0...v4.4.0
## What's Changed * chore: bump ollama `0.1.9` to `0.2.0` by @erhant in https://github.com/Abraxas-365/langchain-rust/pull/167 * Fix links and spelling by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/168 * Feature gate these so tests can run by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/169 * Fix some warnings and style by @fgsch in https://github.com/Abraxas-365/langchain-rust/pull/170 * chore(deps): update rust crate testcontainers to 0.18 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/171 * fix(deps): update rust crate async-openai to 0.23.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/172 * Change max_tokens from u16 to u32 for larger context window in recent models by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/174 ## New Contributors * @fgsch made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/168 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.2.0...v4.3.0
## What's Changed * add fastemebed under a feature flag by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/162 * add DuckDuckGoSearchResults Tool by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/164 * make it easy for anyone to start pgvector docker instance by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/163 * fix: make ollama_rs crate visible by @flaviodelgrosso in https://github.com/Abraxas-365/langchain-rust/pull/165 * add fastembed under feature flag to fix build error by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/166 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.1.4...v4.2.0
## What's Changed * add fastembed under feature flag to fix build error by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/166 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.5.0...v4.2.0
## What's Changed * Ollama-rs integration by @erhant in https://github.com/Abraxas-365/langchain-rust/pull/156 * Fix typo in ConversationalChain prompt_builder method name by @flaviodelgrosso in https://github.com/Abraxas-365/langchain-rust/pull/157 * fix spelling and lint in speech2text by @prabirshrestha in https://github.com/Abraxas-365/langchain-rust/pull/158 * fix(deps): update rust crate gix to 0.63.0 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/160 * chore(deps): update rust crate testcontainers to 0.17 by @renovate in https://github.com/Abraxas-365/langchain-rust/pull/159 ## New Contributors * @erhant made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/156 * @flaviodelgrosso made their first contribution in https://github.com/Abraxas-365/langchain-rust/pull/157 **Full Changelog**: https://github.com/Abraxas-365/langchain-rust/compare/v4.1.3...v4.1.4