Comments (5)
For self-hosted instances? If so you can dump the (single) application package deployed using the deploy/v2 API: https://docs.vespa.ai/en/reference/deploy-rest-api-v2.html#content-get
from pyvespa.
For self-hosted instances? If so you can dump the (single) application package deployed using the deploy/v2 API: https://docs.vespa.ai/en/reference/deploy-rest-api-v2.html#content-get
Ok yes that would work for some of our cases. But we would also like to integrate with Vespa apps (Vespa cloud and remote hosted) where we have limited data privileges and no control plane access. We can of course actually look at the schema and services files and manually map custom python objects etc. But being able to generate an app package would be helpful as a Python Vespa ORM.
If thats not a planned feature, then you can probably just close this issue.
Thanks
from pyvespa.
You'll need control plane access to get this information, anything else would be a security breach.
Given that, I think the deploy API is a complete solution for self-hosted. For cloud we don't have a public API for this yet, but it's on our roadmap.
from pyvespa.
Hi @Alexander-Mark : what you describe is a great idea! It would be awesome to be able to (de)serialize and application package to/from python objects
It is however a lot of work, as pyvespa is not feature complete. It does not have all of Vespa's features, so we cannot deserialize an app package into python objects.
We are keeping this on the backlog for later - thanks for submitting!
from pyvespa.
Hi @kkraune thanks for the update -- that makes sense. I'll watch out for any updates thanks!
from pyvespa.
Related Issues (20)
- How does Vespa handle ColBERT type queries? HOT 1
- Expose URL in VespaDocker
- Fix windows-compatibility of `VespaCloud()._vespa_auth_login`
- Add OS and python-version matrix for unit tests
- ModuleNotFoundError: No module named 'termios'" error after pyvespa version 0.40.0 in Windows
- Pin `requests`-version HOT 1
- Support document expiry using pyvespa
- Improve docs on TokenAuth - both deployment and connect HOT 1
- Possible bug in VespaAsync/Vespa.asyncio HOT 3
- Add example usage to `VespaAsync`docstring HOT 1
- Unable to access termios submodule on Windows HOT 1
- CI: Fix and add back `scaling_personal_assistants`-notebook to tests HOT 1
- Add compression support HOT 1
- Configure workflows for running actions on PR from forks HOT 1
- Consider custom JSON-library
- Add compression support for feed and query (post)
- Notebook batch updates - simplify auth HOT 1
- Add support for configuring tuning/persearch threads
- Fix/update langchain links in notebooks
- Ensure notebooks-cloud integration tests run on current pyvespa-version HOT 1
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.