Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a sample Vespa JSON payload given a Vespa tensor type #30749

Open
cs195019 opened this issue Mar 27, 2024 · 0 comments
Open

Generate a sample Vespa JSON payload given a Vespa tensor type #30749

cs195019 opened this issue Mar 27, 2024 · 0 comments
Assignees
Milestone

Comments

@cs195019
Copy link

Is your feature request related to a problem? Please describe.
Ability to have a JSON payload generator that prints a sample JSON payload given a tensor type. I think it would help a lot of us who are knew to the tensor data structures. For e.g.

generate_sample_json(tensor<float>(x[])); //prints out [1.0, 2.0, 3.0]

Describe the solution you'd like
The function can be defined in the Vespa tensor playground (or somewhere else) or a utility tensor function that I can use in the Vespa tensor playground website.

Describe alternatives you've considered
N/A

Additional context
N/A

@jobergum jobergum changed the title Generate a sample Vepsa JSON payload given a Vespa tensor type Generate a sample Vespa JSON payload given a Vespa tensor type Mar 27, 2024
@kkraune kkraune added this to the soon milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants