Releases: ibm-granite/granite-io
Releases · ibm-granite/granite-io
v0.3.0
granite-io v0.3.0 is a feature release. Users are encouraged to upgrade for the best experience.
Notable Changes
- LoRA certainity support
- Majority voting using Minimum Bayesian Risk Decoding (MBRD)
- Custom IO processor support
- Support for additional backend specific configuration
- Support separate citations referencing the same document
- Some notable bug fixes:
- Colon in citation text causing parsing error
- Custom system prompts being ignored
What's Changed
- build(deps): bump ruff from 0.11.1 to 0.11.2 by @dependabot in #98
- field validators for length and originality by @markstur in #86
- bug: remove httpx dependency and timeout field by @markstur in #96
- feat: add example for how to use Replicate by @markstur in #95
- feat: Add custom IO Processor support by @hickeyma in #83
- ci: move transformers (e2e) to slow tests with examples by @markstur in #81
- doc: Add documentation to explain processors by @hickeyma in #101
- build(deps): bump actions/setup-python from 5.4.0 to 5.5.0 by @dependabot in #105
- build(deps): bump python-dotenv from 1.0.1 to 1.1.0 by @dependabot in #106
- Update CONTRIBUTING.md by @markstur in #113
- fix: swap no_tools_docs and tools_no_docs parts by @michael-desmond in #112
- don't modify backend inputs arg, only return modified inputs by @markstur in #110
- docs: add link to design.md in readme.md by @markstur in #108
- docs: edit the design.md for nits like typos by @markstur in #109
- fix: pin litellm, openai and pydantic to compatible versions by @markstur in #92
- Contrib directory with strawman tox and CI by @markstur in #107
- build(deps): bump step-security/harden-runner from 2.11.0 to 2.11.1 by @dependabot in #120
- feat: add extra_headers to GenerateInputs by @markstur in #85
- build(deps): bump ruff from 0.11.2 to 0.11.3 by @dependabot in #122
- chore: formatting pydantic field doc strings for GenerateInputs by @markstur in #97
- fix: Granite 3.2 parser error - colon in citation text by @hickeyma in #121
- Support seperate citations referencing the same document by @hickeyma in #124
- ci: free disk space in more workflows before install python by @markstur in #133
- Follow up fix to PR #121 by @hickeyma in #132
- Fix for bug with custom system prompts by @frreiss in #130
- Add IO processor for certainty intrinsic by @frreiss in #127
- feat: Add MBRD and ROUGE score technique for majority voting by @hickeyma in #115
- chore: bump litellm/openai past older release range by @markstur in #136
New Contributors
- @michael-desmond made their first contribution in #112
Full Changelog: v0.2.1...v0.3.0
v0.2.1
Features
- Tool parsing
- Majority voting
What's Changed
- Basic tool parsing for Granite 3.2 by @frreiss in #77
- dev: Updates to development environment by @hickeyma in #80
- Initial support of majority voting by @frreiss in #74
- build(deps): bump actions/download-artifact from 4.2.0 to 4.2.1 by @dependabot in #82
- build(deps): bump ruff from 0.11.0 to 0.11.1 by @dependabot in #89
Full Changelog: v0.2.0...v0.2.1
v0.2.0
granite-io v0.2.0 is a feature release. Users are encouraged to upgrade for the best experience.
Notable Changes
- chain-of-thought (CoT) parsing extended to be more robust
- Input and output processors exposed to be called independent of IO processors
- Multiple completion generation added
- Citation and hallucination parsing added
- Asynchronous APIs provided where required
- Parameter passing to backends added
- LiteLLM backend supported added
Breaking Changes
- Return type from
io_processor.create_chat_completion()
changed fromChatCompletionResult
toChatCompletionResults
. In other words there can be "1 to many" results now returned as aList
What's Changed
- docs: Fix ollama pull command in readme by @gabe-l-hart in #23
- fix: Updates following Granite 3.2 release by @hickeyma in #24
- Add owners file by @hickeyma in #26
- Update isort version to 6.0.1 by @hickeyma in #31
- OpenAI optional and allowing env vars and cleanup by @markstur in #13
- Use watsonx with LiteLLM backend by @markstur in #29
- ci: update ruff ver by @hickeyma in #32
- ci: Add workflow to test python script examples by @hickeyma in #45
- CoT robustness by @gabe-l-hart in #46
- Add simple tests to make sure notebooks run by @markstur in #34
- build(deps): bump ruff from 0.9.8 to 0.9.9 by @dependabot in #35
- ci: test examples when code changes by @markstur in #47
- !feat: Support multiple completions in backends by @markstur in #48
- Re-enable asyncio support in backends by @frreiss in #30
- feat: Add support for extracting citation and hallucination information from Granite 3.2 model output by @hickeyma in #51
- build(deps): bump ruff from 0.9.9 to 0.9.10 by @dependabot in #57
- ci: test README snippet and fix it by @markstur in #58
- ci: Refactor examples, notebook and readme tests by @hickeyma in #63
- build(deps): bump ruff from 0.9.10 to 0.10.0 by @dependabot in #69
- doc: Add details on nltk data by @hickeyma in #70
- Refactor: Separate input and output processors from IO processor by @hickeyma in #67
- build(deps): bump ruff from 0.10.0 to 0.11.0 by @dependabot in #71
- Add support for passing parameters to backends by @markstur in #66
- ci: Re-enable disabled example tests by @hickeyma in #68
- Clean up generate input type fields by @markstur in #76
- Export input and output processors by @hickeyma in #75
- build(deps): bump actions/download-artifact from 4.1.9 to 4.2.0 by @dependabot in #78
- Fix failing unit test by @hickeyma in #79
New Contributors
Full Changelog: v0.1.0...v0.2.0
v0.1.0
This is the first release of Granite IO Processor.
Features
- Chat prompt using structured inputs
- Current date/time
- Tools
- Documents
- User
- Control variables:
- Reponse length
- Thinking
- Structured output
- Chain-of-thought output parsing
What's Changed
- ci: Add linting and formatting workflow by @hickeyma in #1
- ci: Add test CI workflow by @hickeyma in #2
- tests: use xfail (xpass) for OpenAI tests by @markstur in #3
- ci: Enable dependabot by @hickeyma in #6
- CI: Add PyPi publishing by @hickeyma in #4
- ci: Add linting for GitHub actions workflows by @hickeyma in #5
- build(deps): bump step-security/harden-runner from 2.10.1 to 2.11.0 by @dependabot in #7
- build(deps): bump actions/setup-python from 5.3.0 to 5.4.0 by @dependabot in #8
- Quick start / setup bugs by @gabe-l-hart in #11
- tests: fix test failing on backend=None by @markstur in #12
- Add example python scripts by @hickeyma in #14
- build(deps): bump hynek/build-and-inspect-python-package from 2.10.0 to 2.12.0 by @dependabot in #15
- build(deps): bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.4 by @dependabot in #16
- build(deps): bump step-security/harden-runner from 2.10.1 to 2.11.0 by @dependabot in #17
- build(deps): bump actions/download-artifact from 4.1.8 to 4.1.9 by @dependabot in #18
- Chain of Thought Parsing by @gabe-l-hart in #19
- Updates to improve usability by @hickeyma in #21
- Remove upper band restriction on Python version by @hickeyma in #22
New Contributors
- @hickeyma made their first contribution in #1
- @markstur made their first contribution in #3
- @dependabot made their first contribution in #7
- @gabe-l-hart made their first contribution in #11
Full Changelog: https://github.com/ibm-granite/granite-io/commits/v0.1.0