Releases: PrefectHQ/marvin
v2.2.1
This release primarily updates the installation instructions + dependencies for working with audio to ensure a more seamless experience.
What's Changed
- Update publish-docs.yml by @jlowin in #867
- Audio deps by @jlowin in #871
- Allow passing instructions to @model by @jlowin in #856
Full Changelog: v2.2.0...v2.2.1
v2.2.0
v2.1.6
Marvin's commentary
Oh, look. Another release. How utterly thrilling.
We've got a bunch of minor tweaks and fixes that are sure to make a huge difference in the grand scheme of things. A typo fix in the README? Groundbreaking. A new tool for code examples? Revolutionary.
And let's not forget the crucial updates to the classify prompt and parallelization. I'm sure those were keeping everyone up at night.
But hey, at least we have a new contributor to share in the joy of maintaining this beacon of mediocrity. Welcome, @roansong. You'll fit right in.
Now, if you'll excuse me, I have more pressing matters to attend to. Like pondering the futility of existence in an uncaring universe.
What's Changed
- Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in #841
- fallback model encoding by @zzstoatzz in #846
- Update classify prompt to avoid label bug with integers by @jlowin in #847
- Add mapping for automatic parallelization over inputs by @jlowin in #845
- add prefect code example tool by @zzstoatzz in #850
- defer chroma client making by @zzstoatzz in #824
- tweak code example tool by @zzstoatzz in #854
- update label issues example by @zzstoatzz in #859
- Fix typo in README.md by @roansong in #862
- use uv in ci by @zzstoatzz in #851
- Allow optional cast target when instructions are provided by @jlowin in #848
- mark a couple more flakes by @zzstoatzz in #863
New Contributors
Full Changelog: v2.1.5...v2.1.6
v2.1.5
This release includes a bug fix for Application
where the post_run_hook
was not allowing tool_calls
and tool_outputs
to be passed through.
What's Changed
- allow kwargs on
Application
post run hook by @zzstoatzz in #839 - Assistant lifecycle tests by @jlowin in #840
- Speed up assistant tests by @jlowin in #843
- docs: fix environment variable in docs/warning message by @lostmygithubaccount in #844
New Contributors
- @lostmygithubaccount made their first contribution in #844
Full Changelog: v2.1.4...v2.1.5
v2.1.4
What's Changed
- Add transcription + async audio functions by @jlowin in #825
- insurance claim example by @zzstoatzz in #822
- await should_fallback by @zzstoatzz in #833
- Access to tool calls and tool outputs in post_run_hook by @salman1993 in #835
New Contributors
- @salman1993 made their first contribution in #835
Full Changelog: v2.1.3...v2.1.4
v2.1.3
v2.1.3
Colon Quests, Cache Bumps, and the Curious Case of Michael Scott's JPEG
In a universe where time is an illusion and lunchtime doubly so, our diligent team of code-wranglers have been busy. @maccam912, in a moment of sheer brilliance, fixed the format string for date. @jeremy-feng, with the precision of a Swiss watchmaker, added a colon to a function definition. @dependabot, our tireless bot, bumped actions/cache from 3 to 4. @zzstoatzz, the code wizard, fixed a kwarg, added a tool, and did some other magical stuff. @jlowin updated michael_scott.jpg, because why not? And @MrJarnould fixed a broken link, because broken links are just not cool. We also welcomed new contributors @maccam912, @jeremy-feng, and @MrJarnould to our intergalactic coding squad. So long, and thanks for all the fish!
Notably this release includes async
utils - see this PR for details.
Itemized changes
What's Changed
- Fix format string for date by @maccam912 in #796
- Add colon to function definition by @jeremy-feng in #797
- Bump actions/cache from 3 to 4 by @dependabot in #810
- fix kwarg and add tool by @zzstoatzz in #811
- dont run build docs workflow if from fork by @zzstoatzz in #803
- async first utils and expose sync versions by @zzstoatzz in #802
- Update michael_scott.jpg by @jlowin in #813
- Update applications.md - fix broken link to
tools
docs by @MrJarnould in #815 - feature flag parent app by @zzstoatzz in #814
- Add sorting hat example by @jlowin in #817
- fix tests by @zzstoatzz in #819
- Add call routing example by @jlowin in #818
New Contributors
- @maccam912 made their first contribution in #796
- @jeremy-feng made their first contribution in #797
- @MrJarnould made their first contribution in #815
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- Wrong parameter name for cast() in docs by @amanvirparhar in #788
- Bird photo classifier by @jlowin in #790
- Fix injection of instance to application tools by @baxen in #793
- Add michael scott's four kinds of businesses example by @jlowin in #792
- allow setting base_url by @zzstoatzz in #787
New Contributors
- @amanvirparhar made their first contribution in #788
- @baxen made their first contribution in #793
Full Changelog: v2.1.1...v2.1.2
v2.1.1
fixes a slight inconsistency with the setting prefix for completion settings:
i.e. MARVIN_CHAT_COMPLETION_MODEL
-> MARVIN_CHAT_COMPLETIONS_MODEL
What's Changed
- Add image example by @jlowin in #783
- Add note about async tools by @jlowin in #785
- fix setting prefix by @zzstoatzz in #786
Full Changelog: v2.1.0...v2.1.1
v2.1.0
We're really excited to share that Marvin 2.1 is now on PyPI (not as a pre-release 🙂 ).
Please check out:
and feel free to reach out to chat or ask questions:
- in a discussion
- on discord
- on X
All Itemized Changes
What's Changed (a fair amount btw)
- bring back map for
AIFunction
by @zzstoatzz in #650 - update tests and ci by @zzstoatzz in #651
- Slackbot 2.0 by @zzstoatzz in #658
- scoop aux settings from regular env if no ~/.marvin/.env by @zzstoatzz in #660
- fix url verification payload handling by @zzstoatzz in #661
- need numpy for embeddings when http retrieval by @zzstoatzz in #662
- [slackbot] allow prefect storage of tokens by @zzstoatzz in #667
- Adds an OpenAI Client by @aaazzam in #668
- add tests, map for ai_model by @zzstoatzz in #664
- ai_classifier: no
list[str]
by @zzstoatzz in #669 - formatting and fix link by @zzstoatzz in #659
- try to add mike by @zzstoatzz in #673
- Revert "Merge pull request #673 from PrefectHQ/add-mike" by @zzstoatzz in #675
- fix docs build and redo api-ref by @zzstoatzz in #670
- [docs] View old docs tutorial by @zzstoatzz in #676
- Bump google-github-actions/auth from 1 to 2 by @dependabot in #665
- only publish docs on releases by @zzstoatzz in #679
- updated readme by @zzstoatzz in #677
- use settings for some defaults, avoid warnings by @zzstoatzz in #682
- add ruff formatter and run it by @zzstoatzz in #680
- lint by @zzstoatzz in #685
- fix tests / map / ai_classifier validation by @zzstoatzz in #687
- add storage interface for ai app state by @zzstoatzz in #684
- Large Refactor of Docs and Components by @aaazzam in #683
- update slackbot docs by @zzstoatzz in #689
- allow config of openai client by @zzstoatzz in #691
- Revert "allow config of openai client" by @zzstoatzz in #692
- allow config of openai client (attempt 2) by @zzstoatzz in #693
- fix bad link for old docs by @zzstoatzz in #690
- parent app for slackbot by @zzstoatzz in #695
- various bug fixes by @zzstoatzz in #699
- Bump google-github-actions/deploy-cloudrun from 1 to 2 by @dependabot in #696
- allow use of
OPENAI_API_KEY
env var by @zzstoatzz in #707 - inject app into tools by @jlowin in #709
- Assume
str
return annotation if none provided by @jlowin in #708 - Ai app tweaks by @zzstoatzz in #706
- applications module + beta import by @jlowin in #710
- Replace deprecated validate_args with TypeAdapter by @jlowin in #713
- update state interface by @zzstoatzz in #711
- rm kv module by @zzstoatzz in #715
- allow arbitrary type for tools by @zzstoatzz in #716
- Remove extra file by @discdiver in #717
- Support returning values from PromptFunction fn's by @jlowin in #718
- Add ai speech by @jlowin in #720
- Add AI Planner by @jlowin in #712
- 2.0 component refactor by @jlowin in #721
- update api ref / docstrings by @zzstoatzz in #725
- make slackpayload fields optional by @zzstoatzz in #728
- rm caching for now, more sane token scoop by @zzstoatzz in #729
- Functional backend refactor (2.x) by @jlowin in #726
- Clean 2.0 by @jlowin in #730
- WIP docs by @jlowin in #732
- Add docstrings and api ref for new core tools by @jlowin in #733
- Continue improving docstrings by @jlowin in #734
- Add vision by @jlowin in #736
- Add beta Vision functions by @jlowin in #737
- Import vision functions from marvin.beta by @jlowin in #738
- Remove "llm" marker by @jlowin in #739
- Bump actions/checkout from 3 to 4 by @dependabot in #561
- some azure support + guide by @zzstoatzz in #740
- Assistants docs by @jlowin in #741
- Improve Assistants API by @jlowin in #742
- Improve assistants docs by @jlowin in #743
- 2.0 cleanup examples by @zzstoatzz in #744
- Add applications docs by @jlowin in #745
- default gpt-4, failover by @zzstoatzz in #746
- Clean up api ref by @jlowin in #747
- Update openai.py by @jlowin in #748
- Add streaming support for chatcompletions by @jlowin in #749
- Update CLI streaming by @jlowin in #750
- Bump actions/setup-python from 4 to 5 by @dependabot in #697
- Add caching for generate() by @jlowin in #751
- Update docs by @jlowin in #752
- add more cookbook examples by @zzstoatzz in #753
- rm asserts but keep syntax highlighting by @zzstoatzz in #754
- Update pytest-rerunfailures requirement from <13,>=10 to >=10,<14 by @dependabot in #655
- Update readme by @jlowin in #755
- Tutorial (WIP) by @jlowin in #756
- Tutorial update by @jlowin in #758
- 2.0 by @jlowin in #759
- Small fixes by @jlowin in #761
- rm breakpoint by @zzstoatzz in #762
- Update tutorial.md code to include missing import statement by @discdiver in #763
- Fix image paths in tutorial docs by @discdiver in #764
- Minor docs updates by @jlowin in #768
- Fix issue with openai class moving by @jlowin in #770
- support local dotenv by @zzstoatzz in #771
- Add docs on how to view and save images by @jlowin in #769
- Minor docs updates by @jlowin in #773
- Azure support by @jlowin in #772
- Fix docs titles by @jlowin in #774
- Fix README transform links by @EthanRosenthal in #778
- Improve image generation docs by @jlowin in #779
- label issues by @zzstoatzz in #776
- clean up recipe display by @jlowin in #780
- Add docs on model parameters by @jlowin in #781
New Contributors
- @EthanRosenthal made their first contribution in #778
Full Changelog: v1.5.6...v2.1
v2.1-beta.2
fixes #765 due to moved import in openai>=1.8