Releases: PrefectHQ/marvin
v2.1-beta.1
see the updated README
What's Changed (spoiler, its a lot)
- 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
Full Changelog: v2.0.1-alpha.1...v2.0.1-beta.1
v2.0.1 pre-release
What's Changed
- introduction of ai_image
- update slackbot docs by @zzstoatzz in #689
- allow config of openai client by @zzstoatzz in #693
- fix bad link for old docs by @zzstoatzz in #690
Full Changelog: v2.0.0-alpha.2...v.2.0.1-alpha.1
v2.0.0 pre-release
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
click for detailed changes
- 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
Full Changelog: v1.5.6...v2.0.0-alpha.2
v1.5.6
pin openai
What's Changed
- default name for aipp in deployment by @zzstoatzz in #627
- Update anthropic/prompt.py by @oaustegard in #629
- pin openai by @zzstoatzz in #634
New Contributors
- @oaustegard made their first contribution in #629
Full Changelog: v1.5.5...v1.5.6
v1.5.5
What's Changed
- fix case where
ai_fn
returns a literal False by @zzstoatzz in #622 - support streaming for
ChatCompletion.create
by @zzstoatzz in #624 - fix ai_fn type returns for generic aliases and dict by @zzstoatzz in #626
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- set app description as tool doc if used as tool by @zzstoatzz in #613
- some one accidenlty updated the deployment_name to deployment_id fixe… by @thanseefpp in #616
- fix pydantic v1 behavior - allow
BaseModel
return forai_fn
by @zzstoatzz in #615 - make
acall
consistent with__call__
, add tests, fix a bug by @zzstoatzz in #617
Full Changelog: v1.5.3...v1.5.4
v1.5.3
A bugfix for AIApplication
introduced in 1.5.2
AIApplication
released in 1.5.2 was unable to recall previous user messages in the conversation due to a bug in prompt rendering - this is fixed in v1.5.3.
What's Changed
- deduplication example by @aaazzam in #611
AIApplication
bugfixes and improvements by @zzstoatzz in #612
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
Highlight
AIApplication
now uses marvin's ChatCompletion.achain
instead of the Executor
to use tools and process user inputs.
Itemized changes
- fallback to pydantic.v1 BaseSettings on pydantic-settings import error by @aaazzam in #608
- azure settings + ai_model param propagation by @aaazzam in #607
- Ai app refactor by @zzstoatzz in #552
Full Changelog: v1.5.1...v1.5.2
v1.5.1
v1.5.1 fixes an import error that required pydantic-settings as a dependency.
Marvin is fully backwards compatible with Pydantic v1 and v2.
- For Pydantic v2 users, pydantic-setting is a required dependency.
- Since pypi does not support conditional imports, users on pydantic v2 will be prompted to
pip install pydantic-settings
.
v1.5.0
What's Changed
- Introduces fully type-hinted ChatCompletion object, and add support for OpenAI function calling with Claude2 .
- Compatible for Pydantic V2 and V1 users!
- Introduction of prompt_fn (see docs https://www.askmarvin.ai/prompting/prompt_function/)
- fixed runtime settings error affecting ai_classifier
Full Changelog: v1.4.2...v1.5.0