Code Monkey home page Code Monkey logo

Comments (5)

flaviabeo avatar flaviabeo commented on August 29, 2024 1

Fixed by the PR #102!

from fms-guardrails-orchestrator.

gkumbhat avatar gkumbhat commented on August 29, 2024

Thanks @flaviabeo . This should have been fixed with: #47

from fms-guardrails-orchestrator.

evaline-ju avatar evaline-ju commented on August 29, 2024

What version of orchestrator is being used here? edit: was able to reproduce on latest (b3231a5)

The results are correct if a sentence chunker is not used, which points to an issue potentially still with the offsets...

from fms-guardrails-orchestrator.

evaline-ju avatar evaline-ju commented on August 29, 2024

Root cause was that the detectors used are not returning an output per input i.e. each text in contents did not necessarily return a result. Since the orchestrator does not know which "chunk" or text a result corresponds to, the offset is calculated incorrectly. This has to be fixed on the detector server side.

In the meantime it was noticed that with #76 we are doing unnecessary codepoint slicing again to determine text

from fms-guardrails-orchestrator.

evaline-ju avatar evaline-ju commented on August 29, 2024

With the merge of #102 , there will be a clear error message and 500 return until this is updated for the requested detector(s)

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.