Skip to content
New issue

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

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

Already on GitHub? # to your account

Major update. Preparing for v0.3.0-rc.0 - breaking changes #131

Merged
merged 30 commits into from
Jun 6, 2024

Conversation

brainlid
Copy link
Owner

@brainlid brainlid commented Jun 6, 2024

This includes breaking changes. At the time is merged, it is still incomplete. However, it offers significant improvements and needs to move forward with testing from others.

The remaining issues will be worked out through the RC process.

See the included CHANGELOG changes for an overview.

- in message_processors now
- use :cont instead of :continue
- run returns  message, not an updated
- added verbose logging
- halting doesn't increment the failures count. That happens in LLMChain
- updated message
- updated JsonProcessor
- updated tests
- working on message processors in LLMChain
- working on automatic retries
- when failed, return the updated chain to that point as well
- updates to running message processors
- WIP
- new callbacks module created
- include the callback handler to execute for the data
- updated API override for new callback support
- updated process_message behavior and tests
- updated callbacks in tests
- add_callback/2 function and tests
- execute_tool_calls increments or clears failure count
- process_message increments or clears failure count
- setting up a chain defines the max_failure_count
- updated routing chain for error handling
- updated routing chain tests for API overrides
- fixing tests
- documenting LLMChain callbacks
- added case for bad function call when no args
- implement callbacks
- switch `run` to take a `:mode` argument
- implement `:until_success` mode
- tests support functions that fail then succeed using Process dictionary (for tests only!)
* main:
  Remove handling of Azure special case.
  be more explicit about API & Bumblebee support
  fix minor typos in README.md
  Adapted ChatGoogleAI tests for ChatVertexAI.
  Fix elixir 1.17 warnings
  Add support for images.
  Added ChatVertexAI model.
  Handle empty list element as first message delta.
- converted to new callbacks approach
- removed the old callback_fn from the behaviour definition
@brainlid brainlid merged commit 0643c16 into main Jun 6, 2024
1 check failed
@brainlid brainlid deleted the me-destructuring branch June 6, 2024 04:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant