Giter VIP home page Giter VIP logo

Comments (8)

taranjeet avatar taranjeet commented on September 1, 2024 1

Hey @ArmanJR @luisrock @missioncfwf @ramaschneider @Harin329 : merged PR #160 which addresses this issue.

from mem0.

luisrock avatar luisrock commented on September 1, 2024

Same issue here

from mem0.

missioncfwf avatar missioncfwf commented on September 1, 2024

Same issue here. I had no problem uploading small files, but big ones cause this issue for me

from mem0.

ramaschneider avatar ramaschneider commented on September 1, 2024

Same here - is there any update regarding this issue?

from mem0.

taranjeet avatar taranjeet commented on September 1, 2024

I think this could be because ids are clashing.
Right now, the ids are generated using a hash of chunk text and url. There may be scenarios where same chunk is occurring multiple times in a doc, hence the error.

@ramaschneider / @missioncfwf / @ArmanJR : possible for anyone of you to share doc file?
I just want to double check if this is the issue or something else.

from mem0.

ArmanJR avatar ArmanJR commented on September 1, 2024

@taranjeet sure: https://www.sufi.ir/books/download/english/molavi-en/masnavi-en.pdf

from mem0.

Harin329 avatar Harin329 commented on September 1, 2024

I opened a PR for this, setting a random bit in the ID hashing function seems like a harmless and quick fix. Not entirely sure of the implications of turning the lists into a set, but that may affect the composition of the dataset

from mem0.

taranjeet avatar taranjeet commented on September 1, 2024

Released in version 0.0.18
https://test.pypi.org/project/embedchain/0.0.18/

Closing this issue.

from mem0.

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.