Code Monkey home page Code Monkey logo

Comments (2)

evaline-ju avatar evaline-ju commented on July 25, 2024

Currently detectors that expect a threshold but not provided one through the orchestrator API will result in a 500 (this part is indicative of a 🐛 )

There are likely two parts that have to happen for this:

  1. Any detector servers will have to give an expected 4xx error code if there are fixable missing parameters, which will allow the orchestrator to propagate the error (as necessary)
  2. The orchestrator will do filtering of detector results based on user-provided thresholds - a default threshold for each detector will be provided through the config for now.

from fms-guardrails-orchestrator.

evaline-ju avatar evaline-ju commented on July 25, 2024

Closing with #52 , the orchestrator will do detector score thresholding now but a case like “model_name”: {} without “threshold” will continue to break if any particular detector implementations error when no parameters are passed, even if they are not needed or used in final results returned. Calling this out in case of confusion, but I don’t think this is particularly worth fixing if we will be updating the detector API soon with #37

from fms-guardrails-orchestrator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.