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