Comments (4)
Struct/array/importing
Are you asking about struct, array, or importing either from parents?
- Structs: https://docs.vespa.ai/en/reference/schema-reference.html#struct
- Arrays: Under https://docs.vespa.ai/en/reference/schema-reference.html#field-types
You can import arrays from parent documents just like other field types.
(You cannot refer to an array of parents, but I don't think you are asking about that.)
Document summaries
I assume you mean dynamic summary fields? Yes there is built-in support for that: https://docs.vespa.ai/en/reference/schema-reference.html#summary (see "dynamic").
You might also mean: Is it possible to select the fields to include in a summary, and have multiple such selections you can choose by query. For that, see https://docs.vespa.ai/en/reference/schema-reference.html#document-summary
from pyvespa.
For both the struct and the summary, is there a way to implement these in Pyvespa? The links you sent are the correct items I'm mentioning.
I'm trying to use Pyvespa to automate the configuration build of the Vespa application. If there isn't a way to create a struct in Pyvespa (like there is a Field within a schema), is there another automated process for building the configuration besides editing the files within the application directory?
Hope that clarifies the question a bit.
from pyvespa.
Yes, that makes it clear. @thigm85 can answer best about Pyvespa, but it is not a design goal of it to be functionally complete for defining production applications, it only provides what's necessary for data science.
You need to have a source of truth which specifies what the schema and application package should contain. I don't see why that should be in some other format than the native one provided by Vespa.
from pyvespa.
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.