Add `getStructuredOutput()` method to ExecutableFunctionCallInterface for returning parsed output

Created on 10 June 2025, about 2 months ago

Problem/Motivation

Currently, the ExecutableFunctionCallInterface provides only a getReadableOutput(): string method, which returns the output as a string (e.g., YAML or JSON). Consumers of this interface must manually parse this string every time they want to work with structured data. This leads to repetitive parsing code and tight coupling to the output format.

Steps to reproduce

Proposed resolution

Add a new method getStructuredOutput(): array to ExecutableFunctionCallInterface.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

2.0

Component

AI Core module

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia narendraR Jaipur, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024