Skip to content

Tags: mattt/AnyLanguageModel

Tags

0.5.3

Toggle 0.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update CI workflow to add `--build-tests` to build step (#85)

* Update CI workflow to add --build-tests to build step

* Fix compiler warnings in MockLanguageModel

* Fix broken multimodal CoreML tests

0.5.2

Toggle 0.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Use convertTranscriptToMLXChat in MLXLanguageModel streamResponse (#67)

0.5.1

Toggle 0.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Pass entire transcript to Foundation Models session (#61)

0.5.0

Toggle 0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Pass instructions as system prompt for MLXLanguageModel (#48)

* Pass instructions as system prompt for MLX

* Update test section with information about running MLX tests

---------

Co-authored-by: Mattt Zmuda <[email protected]>

0.4.5

Toggle 0.4.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Re-scope image validation method for Core ML adapter (#42)

0.4.4

Toggle 0.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Actually stream the data (#31)

* Actually stream the data

* Apparently `Task { @mainactor in ... }` is non-blocking but `await MainActor.run` is blocking

* Revert last change, it's not the problem

* Should only need one while loop

* Use EventSource convenience method

* Add Linux specific implementation for request streaming

---------

Co-authored-by: Mattt Zmuda <[email protected]>

0.4.3

Toggle 0.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix package dependency declarations in package manifest (#34)

* Fix declaration of mlx-swift-lm package dependency

Xcode seems to have an issue with trailing slash and/or main branch

* Drop .git suffixes from dependency declarations

* Sort package dependencies ascending

* Revert mlx-swift-lm to pulling from main branch, to match project recommendations

0.4.2

Toggle 0.4.2's commit message

Verified

This commit was signed with the committer’s verified signature.
mattt Mattt
Update Package.resolved

0.4.1

Toggle 0.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix concurrency isolation for `Generable` macro expansion (#28)

* Add nonisolated modifier to Generable extension declaration

* Add memberwise initializer for Generable types

* Add test coverage for Generable macro expansion

* Simplify redundant conditionals

0.4.0

Toggle 0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for image inputs (#21)

* Add APIs for image segments in transcript

* Add convenience methods for AppKit / NSImage

* Add convenience methods for CoreGraphics / CGImage

* Add convenience methods for responding to image or images

* Add test coverage for respond overloads

* Implement image support in model providers

* Add image input support for MLX models

* Update MLX tests to support image inputs

* Conditionalize import of CoreImage

* Update CoreMLLanguageModel to throw unsupportedFeature if image segments are in session

* Update LlamaLanguageModel to throw unsupportedFeature if image segments are in session

* Update README

* Remove MLX.GPU.set, as callers can set this themselves

* Remove unused MLXLanguageModelError enum

* Replace stray png1x1 with shared testImageData

* Update README

---------

Co-authored-by: noorbhatia <[email protected]>