Giter VIP home page Giter VIP logo

Comments (3)

nawanas avatar nawanas commented on June 9, 2024 1

there will always be a transit that would be beyond the timeout, so that is not a solution. You could do a timeout that is relative to the batch size, but you need to identify the response time relative to the number/size of the documents (you could try a few different sizes with increments to understand how it behaves),

if you are getting this error, the user should be able to send the batch to the service again, and it should be expressed in that light

from cognitiveserviceslanguageutilities.

nawanas avatar nawanas commented on June 9, 2024

what are the limits of the azure function? is it related to the size/number of documents or this is a transit issue,

if it is related to the size/number of documents you can limit the batch size and run several batches to complete a document set
if it is a transit issue, you could repeat te azure function three times and then declare failure for this set of docs

from cognitiveserviceslanguageutilities.

mshaban-msft avatar mshaban-msft commented on June 9, 2024

what are the limits of the azure function? is it related to the size/number of documents or this is a transit issue,

if it is related to the size/number of documents you can limit the batch size and run several batches to complete a document set if it is a transit issue, you could repeat te azure function three times and then declare failure for this set of docs

[updated]
actually the error message was "it's a transient issue, please try again later"
and it actually worked some time after

but as i said, we need to have a more robust experience
customers won't go through a debug session to find out about this
as of now, we don't know how many documents the indexer sends per request to the azure function
we need to modify both timeout limit and the number of documents per request

from cognitiveserviceslanguageutilities.

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.