Coder Social home page Coder Social logo

Comments (4)

bratseth avatar bratseth commented on July 21, 2024

Struct/array/importing

Are you asking about struct, array, or importing either from parents?

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.

danclark382 avatar danclark382 commented on July 21, 2024

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.

bratseth avatar bratseth commented on July 21, 2024

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.

danclark382 avatar danclark382 commented on July 21, 2024

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.