- Updated reasoning handling in the Anthropic and OpenAI clients to support real-time streaming of reasoning tokens.
- Refactored reasoning structures to improve integration with existing models, ensuring consistent behavior across different LLM implementations.
- Added comprehensive tests for reasoning and caching functionalities, validating the expected behavior in various scenarios.
- Removed deprecated files related to previous caching implementations to streamline the codebase.
This update improves the overall performance and reliability of reasoning capabilities in LLM interactions.
- Added support for a new chunk type, ChunkTypeDone, to signal the completion of streaming sessions.
- Updated various examples and tests to handle the new done chunk, ensuring proper signaling of stream completion.
- Refactored streaming functions to include calls to CallWithDone, improving the clarity and reliability of streaming responses.
- Enhanced documentation to reflect the changes in chunk types and their usage in streaming contexts.
llms: Add support for using the whisper model to transcribe audio
Squashed commit of the following:
Author: Alexandre E Souza <alexandre@dev2learn.com>
Date: Fri Mar 29 23:27:33 2024 -0300
chore: remove language
chore: move whiper to documentloaders
feat: update comments
feat:add link for audio formats
llms: Wisper model
documentloaders: ms office docs
Squashed commit of the following:
Author: Simun Strukan <simun.strukan@gmail.com>
Date: Tue May 6 16:46:40 2025 +0200
Reduced the size of docx and pptx files
Author: Simun Strukan <simun.strukan@gmail.com>
Date: Tue Apr 22 01:03:19 2025 +0200
Added custom regex based parsers for XML based documents,
added constant for asci text extraction, separated EOF check
from errors while reading doc and ppt document buffers
Author: Simun Strukan <simun.strukan@gmail.com>
Date: Mon Nov 18 14:57:36 2024 +0100
Added loader for all the common office doc types, doc, docx, ppt, pptx,
xls, xlsx
Author: Simun Strukan <simun.strukan@gmail.com>
Date: Tue Nov 5 00:01:54 2024 +0100
Added core office docs documentloader
* all: add broad httprr coverage, update dependencies, organize go.mod file, bump to 1.23
update go version to 1.23
add lots of test coverage via httprr recordings
update dependencies and organize go.mod
add testutil/testctr which helps work around a testcontainers-go+colima bug
expand the huggingface implementation and tests
expand capabilities of the ollama package