Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.x dev #836

Merged
merged 603 commits into from
Jul 17, 2024
Merged

0.5.x dev #836

merged 603 commits into from
Jul 17, 2024

Conversation

CalebCourier
Copy link
Collaborator

@CalebCourier CalebCourier commented Jun 17, 2024

0.5.0 Release

0.5.0a0 TODO

0.5.0a1 TODO

0.5.0 TODO

  • Comb through docs, replace deprecated syntax, test examples
  • Migration Guide - Migration Guide w/ Examples #859
    • Use Hub validators
    • args vs kwargs
    • with_*_validation -> use(on=)
    • json prompt primitives to xml prompt primitives
  • Release

Feature List

  • Guard().use() syntax now works for all Guard types
  • Constrained Decoding support when using HuggingFace models
  • New interface for using JSON schema-based function calling
  • New option to run Guardrails as a server
  • Easier LiteLLM integration by only passing the model name

Notable Bug Fixes

  • Validators are no longer initialized twice

Notable Removals

  • Validators are no longer a part of the core library and must be installed from the hub
  • Async LLMs must be used with an AsyncGuard
  • We no longer explicitly support Python 3.8
  • We no longer explicitly support Pydantic 1.x
  • We no longer explicitly support OpenAI 0.x

@CalebCourier CalebCourier changed the title 0.5.0 dev 0.5.x dev Jun 17, 2024
@CalebCourier
Copy link
Collaborator Author

Notebook run for 0.5.0a0: https://github.com/guardrails-ai/guardrails/actions/runs/9603601666

@CalebCourier
Copy link
Collaborator Author

One of the notebooks keeps failing to download the sentence-transformers/all-MiniLM-L6-v2 model; it looks like huggingface is having some issues right now.

But the same run was performed on the docs-and-notebooks branch which is the latest commit onto this branch:
https://github.com/guardrails-ai/guardrails/actions/runs/9601954646

zsimjee
zsimjee previously approved these changes Jun 20, 2024
@CalebCourier
Copy link
Collaborator Author

@CalebCourier
Copy link
Collaborator Author

Notebook run after merging start command branch: https://github.com/guardrails-ai/guardrails/actions/runs/9654416672

@zsimjee zsimjee marked this pull request as ready for review July 17, 2024 10:27
@zsimjee zsimjee added this to the v0.5.0 release tracker milestone Jul 17, 2024
@CalebCourier
Copy link
Collaborator Author

@zsimjee zsimjee merged commit 5770ea6 into main Jul 17, 2024
35 checks passed
@zsimjee zsimjee deleted the 0.5.0-dev branch July 17, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants