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

feat(llamabot)🤖: Enhance StructuredBot with JSON extraction and validation improvements #159

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

ericmjl
Copy link
Owner

@ericmjl ericmjl commented Dec 19, 2024

  • Add import for json and adjust import order in structuredbot.py.
  • Introduce allow_failed_validation parameter to handle optional validation failures.
  • Refactor JSON extraction into a separate function for clarity.
  • Update tests to cover new functionality and scenarios in StructuredBot.
  • Update llamabot version in pixi.lock from 0.10.2 to 0.10.3.

…ation improvements

- Add import for json and adjust import order in structuredbot.py.
- Introduce allow_failed_validation parameter to handle optional validation failures.
- Refactor JSON extraction into a separate function for clarity.
- Update tests to cover new functionality and scenarios in StructuredBot.
- Update llamabot version in pixi.lock from 0.10.2 to 0.10.3.
Copy link

github-actions bot commented Dec 19, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://ericmjl.github.io/llamabot/pr-preview/pr-159/
on branch gh-pages at 2024-12-20 00:09 UTC

…n package release

- Add setup for Pixi Environment with caching capabilities.
- Change installation commands to use 'uv tool install' instead of 'uv python install' and 'uv pip install'.
- Update pre-commit installation command to use 'uv tool install'.
…ion in GitHub Actions workflow

- Change the tool installation from bumpversion to bump2version.
- Update all references of bumpversion to bump2version in the workflow commands.
@ericmjl ericmjl merged commit 7c96f91 into main Dec 20, 2024
11 checks passed
@ericmjl ericmjl deleted the structuredbot-allow-failed-validation branch December 20, 2024 00:12
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.

1 participant