Comments (14)
Thanks for reporting! I will see if I can reproduce and update here.
from pyvespa.
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.
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.
We hope to release it this sprint, meaning in a week or two
from pyvespa.
Forgot to mention i'm using latest version from pypi (pyvespa==0.31.0). Didn't try using master branch directly
from pyvespa.
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.
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.
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.
I run pyvespa from head (checked out local version), and 3.10, too
from pyvespa.
from pyvespa.
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.
from pyvespa.
pyvespa 0.32.0 will throw an exception for failed reads/writes, so easier to see the feed block. troubleshooting is updated
from pyvespa.
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)
- OSError when using multiple async feed_batch() instead of feed_data_point() HOT 2
- Access to user query in reranking phase when using approximate neighbor search HOT 1
- Use rank profile inputs HOT 4
- What about increasing the minimum required Python version? HOT 1
- Add field to schema HOT 2
- No document can be fed because ostensibly there isn't enough disk space HOT 7
- Allow to add configuration to content HOT 2
- Dependency Dashboard
- Types for RankProfile.inputs HOT 1
- VespaSync::delete_all_docs only makes a single delete call HOT 1
- Better feed implementation/interface HOT 1
- Deprecation of PyVespa functionality HOT 1
- Add support for mode streaming with pyvespa HOT 1
- Add support for node resource specification and count
- Remove dependency on pandas
- Struct inconsistencie HOT 3
- Deploy with docker compose and similar setup vespa to other vector dbs HOT 5
- Manually deployed vespa with docker compose Failed to establish a new connection: [Errno 111] HOT 15
- clear explanation where does the docker container stores files HOT 1
- Type hint of RankProfile inputs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvespa.