Skip to content

Add alignment strategy#11

Merged
guywaldman merged 4 commits into
mainfrom
user/guywald/alignment
Jul 22, 2024
Merged

Add alignment strategy#11
guywaldman merged 4 commits into
mainfrom
user/guywald/alignment

Conversation

@guywaldman

@guywaldman guywaldman commented Jul 22, 2024

Copy link
Copy Markdown
Owner

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
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