Code Monkey home page Code Monkey logo

intento-api's People

Contributors

abcdenis avatar antonchi avatar bteplygin avatar che-shr-cat avatar coraloreef avatar dimavin avatar ksavenkov avatar phen0menon avatar ponomasia avatar sachako avatar self-perfection avatar sockeye44 avatar stepnovij avatar tapot avatar tyanas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

intento-api's Issues

Usage of Glossaries with Smart Routing Feature

Hello,

I am currently using inten.to and have found the glossary feature quite helpful for maintaining context-specific translation. However, I noticed that the provided example in the documentation requires us to specify a particular translation provider. This is problematic for us because we utilize the Smart Routing feature, which automatically selects the optimal translation engine based on the language pair.

Can you guide me on how to use glossaries in conjunction with the Smart Routing feature? We want to be able to define our glossaries through the API and apply them during translation, regardless of the chosen translation provider.

Any assistance or guidance would be greatly appreciated.

Thanks.

Existing Open API specification (for scoring API) doesn't correspond latest changes

Hi,

I'm trying to generate client based on Open API specification you've defined here - https://github.com/intento/intento-api/blob/master/score.openapi.json

The problem that I have the following error response:

{"error": {"code": 413, "message": "Parameter \\"scores\\" is required when using evaluation"}}

It seems to me that this one (https://github.com/intento/intento-api/blob/master/score.openapi.json#L333-L365) doesn't correspond to what we have in score.md:

curl  -XPOST -H 'apikey: YOUR_API_KEY' 'https://api.inten.to/evaluate/score'  -d '{
    "data": {
        "items": [
            "A sample text",
            "Some other text"
        ],
        "reference": [
            "Not a sample text",
            "Some other context"
        ],
        "source": [
            "Un texto de muestra",
            "Algún otro texto"
        ],
        "lang": "en"
    },
    "scores": [
        {
            "name": "comet",
            "ignore_errors": true
        }
    ],
    "itemize": false,
    "async": true
}'

Thoughts?

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.