Releases: mattt/AnyLanguageModel
Releases · mattt/AnyLanguageModel
0.6.0
What's Changed
- Implement guided generation for
SystemLanguageModelby @mattt in #59 - Fixed build errors under macCatalyst. by @chenyunguiMilook in #96
- Add custom JSON mode generation option for Gemini language model by @mattt in #84
- Fix running tests on macOS 15 by @atdrendel in #100
- Implement prewarm for MLXLanguageModel by @noorbhatia in #97
- Implement structured output generation for both LlamaLanguageModel / MLXLanguageModel by @eastriverlee in #75
- Fix simulator tests on Xcode 26 by @atdrendel in #101
- Fix tool message content format for DeepSeek API compatibility by @ajason in #99
- Add public initializers in
LanguageModelSessionby @mattt in #102
New Contributors
- @chenyunguiMilook made their first contribution in #96
- @atdrendel made their first contribution in #100
- @eastriverlee made their first contribution in #75
- @ajason made their first contribution in #99
Full Changelog: 0.5.4...0.6.0
0.5.4
What's Changed
- Fix PartiallyGenerated for array properties by @ethanhuang13 in #88
- Fix session transcript not being passed into APIs by @nathanborror in #87
- Fix mlx-swift-lm dependency to use semantic versioning by @alexey1312 in #91
- Implement NSCache to cache MLX ModelContext by @noorbhatia in #90
- Add lint step to CI workflow by @mattt in #92
New Contributors
- @alexey1312 made their first contribution in #91
Full Changelog: 0.5.3...0.5.4
0.5.3
What's Changed
- Add custom JSON mode generation option for Gemini language model by @mattt in #80
- Add Identifiable conformance to
PartiallyGeneratedstruct inGenerableMacroby @ethanhuang13 in #73 - Document
@Generablemacro visibility inside#Playgroundby @mattt in #81 - Update CI workflow to build on macOS with all traits enabled by @XMLHexagram in #72
- Revert "Add custom JSON mode generation option for Gemini language model" by @mattt in #83
- Update CI workflow to add
--build-teststo build step by @mattt in #85
New Contributors
- @ethanhuang13 made their first contribution in #73
Full Changelog: 0.5.2...0.5.3
0.5.2
What's Changed
- Update
llama.swiftdependency and rename import toLlamaSwiftby @BarredEwe in #68 - Use convertTranscriptToMLXChat in MLXLanguageModel streamResponse by @noorbhatia in #67
New Contributors
- @BarredEwe made their first contribution in #68
Full Changelog: 0.5.1...0.5.2
0.5.1
What's Changed
- Fix missing iOS availability annotations in SystemLanguageModel extensions by @westonwestenborg in #63
- Refactor message history construction from Transcription in
MLXLanguageModelby @noorbhatia in #66 - Implement streaming response for MLXLanguageModel by @XMLHexagram in #64
- Pass entire transcript to Foundation Models session by @mattt in #61
New Contributors
- @westonwestenborg made their first contribution in #63
- @XMLHexagram made their first contribution in #64
Full Changelog: 0.5.0...0.5.1
0.5.0
What's Changed
- Add custom generation options for language models by @mattt in #50
- expose HubApi and model directory configuration for MLX by @tpae in #44
- Fix non-streaming respond() does not add .response() entry to transcript by @noorbhatia in #46
- Fix invalid construction of greedy sampler in LlamaLanguageModel by @mattt in #55
- Add configuration option for llama.cpp logging by @mattt in #54
- Update LlamaLanguageModel to replace implementation-specific properties with custom generation options by @mattt in #56
- Implement chat templates for LlamaLanguageModel by @mattt in #57
- Add logic to handle encoder-only llama models by @mattt in #53
- Improve migration for deprecated llama model APIs by @mattt in #58
- OpenAILanguageModel + SystemLanguageModel tools calling support by @airy10 in #49
- Pass instructions as system prompt for MLXLanguageModel by @noorbhatia in #48
New Contributors
Full Changelog: 0.4.5...0.5.0
0.4.5
0.4.4
What's Changed
- Document workaround for specifying package dependency traits in Xcode project by @mattt in #35
- Document security best practices for API credentials by @mattt in #36
- Actually stream the data by @nathanborror in #31
New Contributors
- @nathanborror made their first contribution in #31
Full Changelog: 0.4.3...0.4.4
0.4.3
0.4.2
What's Changed
- Update mlx-swift-examples repository to mlx-swift-lm by @noorbhatia in #30
Full Changelog: 0.4.1...0.4.2