Coder Social home page Coder Social logo

Comments (2)

bclavie avatar bclavie commented on July 19, 2024

Hey, could you provide more of your code? It looks like the issue here is that the documents that makes it to the preprocessor is None, so would be helpful to figure out how that happened!

from ragatouille.

manisnesan avatar manisnesan commented on July 19, 2024

@bclavie - I faced a similar issue when I ran the notebook 06-index_free_use.ipynb from examples.

Tried to create a reproducer in the code using Colab and faced

ValidationError: 1 validation error for Document
text
  none is not an allowed value (type=type_error.none.not_allowed)

The root cause is due to one of the page being empty and hence ragatouille is throwing the error as "ValidationError" which is the right behavior.

The user need to ensure passing only valid docs before passing to Corpus_Processor.process_corpus method. This issue is not a bug and can be closed.

from ragatouille.

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.