Skip to content

[ML] Parse an array as root element in custom service response parser #137505

@fdartayre

Description

@fdartayre

Description

The custom service response parser expects an object (map) as the root element of the JSON response from the custom service.

This enhancement would permit to parse the following response using this json_parser string $[*].embeddings[*]:

[
    {
        "embeddings": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            ...
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
        ]
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions