Giter VIP home page Giter VIP logo

Comments (14)

kkraune avatar kkraune commented on June 9, 2024 1

Thanks for reporting! I will see if I can reproduce and update here.

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024 1

I added

    @property
    def json(self):
        return self.json

to VespaQueryResponse in my local pyvespa install to be able to dump the full response object, I think we will add this to future releases

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024 1

Awesome!

Yes, totally agree on the error check - will look into - and also add to troubleshooting (this is a common problem), keeping this issue open until done

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024 1

We hope to release it this sprint, meaning in a week or two

from pyvespa.

louisoutin avatar louisoutin commented on June 9, 2024

Forgot to mention i'm using latest version from pypi (pyvespa==0.31.0). Didn't try using master branch directly

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

I was running this notebook earlier this week with no issues, so I suspect there is something with your environment. Often too little Docker memory is the culprit, you can review https://pyvespa.readthedocs.io/en/latest/troubleshooting.html. You will see in the Docker output if a process crashes.

I will try again with a 4G setting (I ran it using 12G) but this notebook takes some time to run so probably update here tomorrow

from pyvespa.

louisoutin avatar louisoutin commented on June 9, 2024

Thanks for the quick help. What was strange is that I didn't got any error message on the notebook and no error on the docker logs also. I'll try with manually setting more ram to the docker container. Will update tomorrow.

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

In step 18 I just got:


{'id': 'id:sentence:sentence::2',
 'relevance': 0.5540203635649571,
 'source': 'qa_content',
 'fields': {'sddocname': 'sentence',
  'documentid': 'id:sentence:sentence::2',
  'questions': [0],
  'dataset': 'squad',
  'context_id': 0,
  'text': 'It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858.'}}

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

I run pyvespa from head (checked out local version), and 3.10, too

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

#465

from pyvespa.

louisoutin avatar louisoutin commented on June 9, 2024

Actually I just found the error. When feeding the data with app.feed_data_point(), I got a 'NO SPACE' error. Related to this: https://docs.vespa.ai/en/operations/feed-block.html. Will try to make space for docker and it should fix it.
Just as a note, maybe the notebook could be updated with a check for the returned code of feed_data_point() and throw an error with link to this feed-block page if NO SPACE error is found.

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

#466 and #467

from pyvespa.

kkraune avatar kkraune commented on June 9, 2024

pyvespa 0.32.0 will throw an exception for failed reads/writes, so easier to see the feed block. troubleshooting is updated

from pyvespa.

louisoutin avatar louisoutin commented on June 9, 2024

Hey, when are you planning on releasing a new version of pyvespa? (0.32). Cause currently, on the 0.31, package.Field doesn't have the argument 'match'.
Thanks

from pyvespa.

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.