Git Product home page Git Product logo

Comments (9)

mrabbah avatar mrabbah commented on May 28, 2024 1

duplicate issue with this #1824

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

Updated the flowise to version 1.6.5 and still the same problem persists.

however after the flowise version update to 1.6.5 pdf & txt file which initially was showing unknown error are now giving the same error of JSON file limit error. By default the default file limit is 50mb (#96) however i am getting an error where in the limit is specified as 33.55 MB

image

PDF file upsert error:
image

txt file upsert error:
5

docx file upsert error:
image

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

Followed the instruction as per this issue (#96) and increased the file limit to 300 mb.
image

still the error persists...plz help

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

@mrabbah: Thanx for the comment...i thought that i am the only one facing this issue....interestingly i am not getting this error with a chunk size of 1000 for the same document and it works fine with that. My preferred chunk size is 250-300 which produces this error.

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

The problem has been sorted. The issue was with Qdrant which had a default value of 32 MB (33554432 byte) limitation for Maximum size of POST data in a single request in megabytes. Increasing the same in qdrant config.yaml has sorted this problem and upserting is now working fine. BDW the document that i was trying to upsert had more than 4500 vectors (for 250 chunk size with 10 overlap). No change in flowise required to solve this issue

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

@mrabbah: plz configure Qdrant with required file size for a single upload and the problem goes away..

from flowise.

mrabbah avatar mrabbah commented on May 28, 2024

@prithvi151080 I didn't find any flags or environment variable that I can set to change the Max JSON payload size accepted by Qdrant!

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

This change u have to do in the qdrant vector DB...not in flowise...create a custom_config.yaml file and under services set Maximum size of POST data in a single request in megabytes to the required file size as per ur use case and the problem goes away. use this config file as the master config for ur Qdrant instance.
Qdrant config link details: https://qdrant.tech/documentation/guides/configuration/

from flowise.

prithvi151080 avatar prithvi151080 commented on May 28, 2024

@mrabbah: Hope this helps :)

from flowise.

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.