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

✨🐛 Pass on non-threshold detector parameters #235

Merged
merged 7 commits into from
Oct 23, 2024

Conversation

evaline-ju
Copy link
Collaborator

@evaline-ju evaline-ju commented Oct 22, 2024

Closes: #227 , #234

@evaline-ju evaline-ju linked an issue Oct 22, 2024 that may be closed by this pull request
Copy link
Collaborator

@mdevino mdevino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, overall. Left a few questions.

src/orchestrator/streaming.rs Outdated Show resolved Hide resolved
src/orchestrator/streaming.rs Show resolved Hide resolved
src/clients/detector/text_chat.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@mdevino mdevino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Evaline Ju <[email protected]>
Copy link
Collaborator

@gkumbhat gkumbhat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@evaline-ju evaline-ju merged commit 6a58107 into foundation-model-stack:main Oct 23, 2024
2 checks passed
@evaline-ju evaline-ju deleted the contents-params branch October 23, 2024 20:33
resoluteCoder pushed a commit to resoluteCoder/fms-guardrails-orchestrator that referenced this pull request Nov 4, 2024
)

* ✨ Pass along detector_params for text contents and generation

Signed-off-by: Evaline Ju <[email protected]>

* ✨✅ Not pass on threshold param

Signed-off-by: Evaline Ju <[email protected]>

* 🐛 Mutable threshold not intuitive

Signed-off-by: Evaline Ju <[email protected]>

* Update src/clients/detector/text_chat.rs

Co-authored-by: Mateus Devino <[email protected]>
Signed-off-by: Evaline Ju <[email protected]>

* 💡🎨 Update params comment and remove unnecessary clones

Signed-off-by: Evaline Ju <[email protected]>

* ✅ Threshold re-call not problematic

Signed-off-by: Evaline Ju <[email protected]>

---------

Signed-off-by: Evaline Ju <[email protected]>
Co-authored-by: Mateus Devino <[email protected]>
Signed-off-by: resoluteCoder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants