jsonplansequence

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Artificial Intelligence
Introduced first in SolidGeometry 5.5, Creation date: 2024-11-07, Last change: 2025-09-15

returns a plan step sequence from a single chat task

Description

The original openAI/matlab interface is able to create sequences of tasks, but the argument references are faulty, which is why a complex task has to be explicitly broken down into a sequence and then processed as a series of requests.

See Also: jarvisChatSGLib , json2matlab , OpenAIrequest , OpenAIcostAPI

Example Illustration

 missing image of jsonplansequence(Userinp,AIchat,AIhistory)

Syntax

[Userscript,AIhistory]=jsonplansequence(Userinp,AIchat,AIhistory)

Input Parameter

Userinp: User input as one string
AIchat: AIchat
AIhistory: AI History

Output Parameter

Userscript: plan sequence as single string
AIhistory: modified AI History

Examples


jarvisChatSGLib
what is typical diameter and height of coffe mug, create zylinder with this dimensions




Copyright 2024-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21