Marvin

Latest version: v2.3.8

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 11

2.1.0

We're really excited to share that Marvin 2.1 is now on PyPI (not as a pre-release 🙂 ).

Please check out:
- the [blog](https://www.factsmachine.ai/p/eb7adf08-f123-40d9-a4a6-373eddddc9f0) that gives a nice tour
- the [readme](https://github.com/PrefectHQ/marvin/blob/main/README.md)
- the [docs](https://www.askmarvin.ai/)

and feel free to reach out to chat or ask questions:
- in a [discussion](https://github.com/PrefectHQ/marvin/discussions)
- on [discord](https://discord.gg/CZY8Gdah)
- on [X](https://twitter.com/AskMarvinAI)

<details>
<summary>All Itemized Changes</summary>

What's Changed (a fair amount btw)
* bring back map for `AIFunction` by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/650
* update tests and ci by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/651
* Slackbot 2.0 by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/658
* scoop aux settings from regular env if no ~/.marvin/.env by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/660
* fix url verification payload handling by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/661
* need numpy for embeddings when http retrieval by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/662
* [slackbot] allow prefect storage of tokens by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/667
* Adds an OpenAI Client by aaazzam in https://github.com/PrefectHQ/marvin/pull/668
* add tests, map for ai_model by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/664
* ai_classifier: no `list[str]` by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/669
* formatting and fix link by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/659
* try to add mike by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/673
* Revert "Merge pull request 673 from PrefectHQ/add-mike" by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/675
* fix docs build and redo api-ref by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/670
* [docs] View old docs tutorial by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/676
* Bump google-github-actions/auth from 1 to 2 by dependabot in https://github.com/PrefectHQ/marvin/pull/665
* only publish docs on releases by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/679
* updated readme by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/677
* use settings for some defaults, avoid warnings by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/682
* add ruff formatter and run it by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/680
* lint by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/685
* fix tests / map / ai_classifier validation by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/687
* add storage interface for ai app state by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/684
* Large Refactor of Docs and Components by aaazzam in https://github.com/PrefectHQ/marvin/pull/683
* update slackbot docs by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/689
* allow config of openai client by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/691
* Revert "allow config of openai client" by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/692
* allow config of openai client (attempt 2) by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/693
* fix bad link for old docs by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/690
* parent app for slackbot by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/695
* various bug fixes by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/699
* Bump google-github-actions/deploy-cloudrun from 1 to 2 by dependabot in https://github.com/PrefectHQ/marvin/pull/696
* allow use of `OPENAI_API_KEY` env var by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/707
* inject app into tools by jlowin in https://github.com/PrefectHQ/marvin/pull/709
* Assume `str` return annotation if none provided by jlowin in https://github.com/PrefectHQ/marvin/pull/708
* Ai app tweaks by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/706
* applications module + beta import by jlowin in https://github.com/PrefectHQ/marvin/pull/710
* Replace deprecated validate_args with TypeAdapter by jlowin in https://github.com/PrefectHQ/marvin/pull/713
* update state interface by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/711
* rm kv module by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/715
* allow arbitrary type for tools by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/716
* Remove extra file by discdiver in https://github.com/PrefectHQ/marvin/pull/717
* Support returning values from PromptFunction fn's by jlowin in https://github.com/PrefectHQ/marvin/pull/718
* Add ai speech by jlowin in https://github.com/PrefectHQ/marvin/pull/720
* Add AI Planner by jlowin in https://github.com/PrefectHQ/marvin/pull/712
* 2.0 component refactor by jlowin in https://github.com/PrefectHQ/marvin/pull/721
* update api ref / docstrings by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/725
* make slackpayload fields optional by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/728
* rm caching for now, more sane token scoop by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/729
* Functional backend refactor (2.x) by jlowin in https://github.com/PrefectHQ/marvin/pull/726
* Clean 2.0 by jlowin in https://github.com/PrefectHQ/marvin/pull/730
* WIP docs by jlowin in https://github.com/PrefectHQ/marvin/pull/732
* Add docstrings and api ref for new core tools by jlowin in https://github.com/PrefectHQ/marvin/pull/733
* Continue improving docstrings by jlowin in https://github.com/PrefectHQ/marvin/pull/734
* Add vision by jlowin in https://github.com/PrefectHQ/marvin/pull/736
* Add beta Vision functions by jlowin in https://github.com/PrefectHQ/marvin/pull/737
* Import vision functions from marvin.beta by jlowin in https://github.com/PrefectHQ/marvin/pull/738
* Remove "llm" marker by jlowin in https://github.com/PrefectHQ/marvin/pull/739
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/PrefectHQ/marvin/pull/561
* some azure support + guide by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/740
* Assistants docs by jlowin in https://github.com/PrefectHQ/marvin/pull/741
* Improve Assistants API by jlowin in https://github.com/PrefectHQ/marvin/pull/742
* Improve assistants docs by jlowin in https://github.com/PrefectHQ/marvin/pull/743
* 2.0 cleanup examples by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/744
* Add applications docs by jlowin in https://github.com/PrefectHQ/marvin/pull/745
* default gpt-4, failover by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/746
* Clean up api ref by jlowin in https://github.com/PrefectHQ/marvin/pull/747
* Update openai.py by jlowin in https://github.com/PrefectHQ/marvin/pull/748
* Add streaming support for chatcompletions by jlowin in https://github.com/PrefectHQ/marvin/pull/749
* Update CLI streaming by jlowin in https://github.com/PrefectHQ/marvin/pull/750
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/PrefectHQ/marvin/pull/697
* Add caching for generate() by jlowin in https://github.com/PrefectHQ/marvin/pull/751
* Update docs by jlowin in https://github.com/PrefectHQ/marvin/pull/752
* add more cookbook examples by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/753
* rm asserts but keep syntax highlighting by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/754
* Update pytest-rerunfailures requirement from <13,>=10 to >=10,<14 by dependabot in https://github.com/PrefectHQ/marvin/pull/655
* Update readme by jlowin in https://github.com/PrefectHQ/marvin/pull/755
* Tutorial (WIP) by jlowin in https://github.com/PrefectHQ/marvin/pull/756
* Tutorial update by jlowin in https://github.com/PrefectHQ/marvin/pull/758
* 2.0 by jlowin in https://github.com/PrefectHQ/marvin/pull/759
* Small fixes by jlowin in https://github.com/PrefectHQ/marvin/pull/761
* rm breakpoint by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/762
* Update tutorial.md code to include missing import statement by discdiver in https://github.com/PrefectHQ/marvin/pull/763
* Fix image paths in tutorial docs by discdiver in https://github.com/PrefectHQ/marvin/pull/764
* Minor docs updates by jlowin in https://github.com/PrefectHQ/marvin/pull/768
* Fix issue with openai class moving by jlowin in https://github.com/PrefectHQ/marvin/pull/770
* support local dotenv by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/771
* Add docs on how to view and save images by jlowin in https://github.com/PrefectHQ/marvin/pull/769
* Minor docs updates by jlowin in https://github.com/PrefectHQ/marvin/pull/773
* Azure support by jlowin in https://github.com/PrefectHQ/marvin/pull/772
* Fix docs titles by jlowin in https://github.com/PrefectHQ/marvin/pull/774
* Fix README transform links by EthanRosenthal in https://github.com/PrefectHQ/marvin/pull/778
* Improve image generation docs by jlowin in https://github.com/PrefectHQ/marvin/pull/779
* label issues by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/776
* clean up recipe display by jlowin in https://github.com/PrefectHQ/marvin/pull/780
* Add docs on model parameters by jlowin in https://github.com/PrefectHQ/marvin/pull/781

New Contributors
* EthanRosenthal made their first contribution in https://github.com/PrefectHQ/marvin/pull/778

</details>

**Full Changelog**: https://github.com/PrefectHQ/marvin/compare/v1.5.6...v2.1

2.1beta.2

fixes 765 due to moved import in `openai>=1.8`

2.1beta.1

see the [updated README](https://github.com/PrefectHQ/marvin)


What's Changed (spoiler, its a lot)
* various bug fixes by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/699
* Bump google-github-actions/deploy-cloudrun from 1 to 2 by dependabot in https://github.com/PrefectHQ/marvin/pull/696
* allow use of `OPENAI_API_KEY` env var by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/707
* inject app into tools by jlowin in https://github.com/PrefectHQ/marvin/pull/709
* Assume `str` return annotation if none provided by jlowin in https://github.com/PrefectHQ/marvin/pull/708
* Ai app tweaks by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/706
* applications module + beta import by jlowin in https://github.com/PrefectHQ/marvin/pull/710
* Replace deprecated validate_args with TypeAdapter by jlowin in https://github.com/PrefectHQ/marvin/pull/713
* update state interface by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/711
* rm kv module by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/715
* allow arbitrary type for tools by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/716
* Remove extra file by discdiver in https://github.com/PrefectHQ/marvin/pull/717
* Support returning values from PromptFunction fn's by jlowin in https://github.com/PrefectHQ/marvin/pull/718
* Add ai speech by jlowin in https://github.com/PrefectHQ/marvin/pull/720
* Add AI Planner by jlowin in https://github.com/PrefectHQ/marvin/pull/712
* 2.0 component refactor by jlowin in https://github.com/PrefectHQ/marvin/pull/721
* update api ref / docstrings by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/725
* make slackpayload fields optional by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/728
* rm caching for now, more sane token scoop by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/729
* Functional backend refactor (2.x) by jlowin in https://github.com/PrefectHQ/marvin/pull/726
* Clean 2.0 by jlowin in https://github.com/PrefectHQ/marvin/pull/730
* WIP docs by jlowin in https://github.com/PrefectHQ/marvin/pull/732
* Add docstrings and api ref for new core tools by jlowin in https://github.com/PrefectHQ/marvin/pull/733
* Continue improving docstrings by jlowin in https://github.com/PrefectHQ/marvin/pull/734
* Add vision by jlowin in https://github.com/PrefectHQ/marvin/pull/736
* Add beta Vision functions by jlowin in https://github.com/PrefectHQ/marvin/pull/737
* Import vision functions from marvin.beta by jlowin in https://github.com/PrefectHQ/marvin/pull/738
* Remove "llm" marker by jlowin in https://github.com/PrefectHQ/marvin/pull/739
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/PrefectHQ/marvin/pull/561
* some azure support + guide by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/740
* Assistants docs by jlowin in https://github.com/PrefectHQ/marvin/pull/741
* Improve Assistants API by jlowin in https://github.com/PrefectHQ/marvin/pull/742
* Improve assistants docs by jlowin in https://github.com/PrefectHQ/marvin/pull/743
* 2.0 cleanup examples by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/744
* Add applications docs by jlowin in https://github.com/PrefectHQ/marvin/pull/745
* default gpt-4, failover by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/746
* Clean up api ref by jlowin in https://github.com/PrefectHQ/marvin/pull/747
* Update openai.py by jlowin in https://github.com/PrefectHQ/marvin/pull/748
* Add streaming support for chatcompletions by jlowin in https://github.com/PrefectHQ/marvin/pull/749
* Update CLI streaming by jlowin in https://github.com/PrefectHQ/marvin/pull/750
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/PrefectHQ/marvin/pull/697
* Add caching for generate() by jlowin in https://github.com/PrefectHQ/marvin/pull/751
* Update docs by jlowin in https://github.com/PrefectHQ/marvin/pull/752
* add more cookbook examples by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/753
* rm asserts but keep syntax highlighting by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/754
* Update pytest-rerunfailures requirement from <13,>=10 to >=10,<14 by dependabot in https://github.com/PrefectHQ/marvin/pull/655
* Update readme by jlowin in https://github.com/PrefectHQ/marvin/pull/755
* Tutorial (WIP) by jlowin in https://github.com/PrefectHQ/marvin/pull/756
* Tutorial update by jlowin in https://github.com/PrefectHQ/marvin/pull/758
* 2.0 by jlowin in https://github.com/PrefectHQ/marvin/pull/759


**Full Changelog**: https://github.com/PrefectHQ/marvin/compare/v2.0.1-alpha.1...v2.0.1-beta.1

2.0.1alpha.1

What's Changed
* introduction of ai_image
* update slackbot docs by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/689
* allow config of openai client by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/693
* fix bad link for old docs by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/690

**Full Changelog**: https://github.com/PrefectHQ/marvin/compare/v2.0.0-alpha.2...v.2.0.1-alpha.1

2.0.0alpha.2

Marvin 2 introduces

- support for OpenAI 1.X Client and migration to Pydantic V2.
- a multi-modal API for text-to-speech and image generation.
- a beta Assistants API for ai-powered workflows

<details>
<summary> click for detailed changes </summary>

* bring back map for `AIFunction` by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/650
* update tests and ci by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/651
* Slackbot 2.0 by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/658
* scoop aux settings from regular env if no ~/.marvin/.env by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/660
* fix url verification payload handling by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/661
* need numpy for embeddings when http retrieval by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/662
* [slackbot] allow prefect storage of tokens by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/667
* Adds an OpenAI Client by aaazzam in https://github.com/PrefectHQ/marvin/pull/668
* add tests, map for ai_model by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/664
* ai_classifier: no `list[str]` by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/669
* formatting and fix link by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/659
* try to add mike by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/673
* Revert "Merge pull request 673 from PrefectHQ/add-mike" by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/675
* fix docs build and redo api-ref by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/670
* [docs] View old docs tutorial by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/676
* Bump google-github-actions/auth from 1 to 2 by dependabot in https://github.com/PrefectHQ/marvin/pull/665
* only publish docs on releases by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/679
* updated readme by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/677
* use settings for some defaults, avoid warnings by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/682
* add ruff formatter and run it by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/680
* lint by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/685
* fix tests / map / ai_classifier validation by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/687
* add storage interface for ai app state by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/684
* Large Refactor of Docs and Components by aaazzam in https://github.com/PrefectHQ/marvin/pull/683

</details>

**Full Changelog**: https://github.com/PrefectHQ/marvin/compare/v1.5.6...v2.0.0-alpha.2

1.5.6

pin openai

What's Changed
* default name for aipp in deployment by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/627
* Update anthropic/prompt.py by oaustegard in https://github.com/PrefectHQ/marvin/pull/629
* pin openai by zzstoatzz in https://github.com/PrefectHQ/marvin/pull/634

New Contributors
* oaustegard made their first contribution in https://github.com/PrefectHQ/marvin/pull/629

**Full Changelog**: https://github.com/PrefectHQ/marvin/compare/v1.5.5...v1.5.6

Page 4 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.