BuildShipBBuildShip
Powered by
chase199600C
BuildShip•3y ago•
7 replies
chase199600

Open AI --> JSON Output

Has anyone had any luck doing function calling JSON output using OpenAI API in BuildShip?

I have tried
1) using ChatGPT to generate NodeJS logic code that I can insert manually into the node logic
2) modifying the logic code of the OpenAI chat node template to include type": "json_object" under the message (and changing model to gpt-3.5-turbo-1106 or gpt-4-1106-preview)
3) using the AI feature to generate a node

But none of them have seemed to work properly so far.

The closest I got was using the Chat template but that did not seem to output JSON, but rather string in the structure of JSON (indicating to me that the function calling is not being triggered properly)

I’m not a developer by background but learn fast so appreciate any hacks/tips to be able to figure this out myself
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Streaming Open AI Assistant's responses
Picture Me ThisPPicture Me This / 💬・general
2y ago
Zackyyy - Any idea why streaming open ai respon...
ZackyyyZZackyyy / 💬・general
11mo ago
mgtaskiran - I am getting an error from open ai...
mgtaskiranMmgtaskiran / 💬・general
14mo ago