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

Add alignment strategy #11

Merged
merged 4 commits into from
Jul 22, 2024
Merged

Add alignment strategy #11

merged 4 commits into from
Jul 22, 2024

Conversation

guywaldman
Copy link
Owner

@guywaldman guywaldman commented Jul 22, 2024

Detailed Changes

alignment is a new module containing all logic related to alignment.
Alignment, in this context, means "aligning" the model"s output with the desired output.
This takes the form of a so-called AlignmentStrategy, which is a trait that defines how to align the model"s output.

This concept has similarities to to traditional "resilience" techniques and libraries, such as .NET"s Polly, which I personally like a lot.

Additional Changes

  • Improved documentation
  • Changed the proc macros to depend on the existence of the orch_response crate. This should be changed (see Bundle orch_response inside orch #10)
  • Many refactors and cleanups
  • Improved errors

@guywaldman guywaldman merged commit 6a3bdd6 into main Jul 22, 2024
3 checks passed
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