How to schedule a backend api workflow + OpenAI response?

Hi everyone,

Does anyone know if it is possible to do an API workflow with the answer generated from OpenAi ?-

For example, I tell OpenAI to tell me 3 places to visit in SF, and then they give me 3 locations, and I have the 3 locations in my database, - can I show the user the 3 locations from my database to the user based on the response?

Best
Max

Yes, most likely. It’s complicated so can’t just write out the entire answer as it would take a couple hours to setup, but yes, most likely possible.

2 Likes

@enbitious

Doable and intricate as @boston85719 kindly indicated.

It likely involves further details like ensuring that OpenAI returns a consistent completion. Even with this then logic will be needed to deal with empty returns from your dB. Likely to create the entries if they do not exist. Etc etc :sweat_smile:

1 Like

Thanks, will look into this!

This topic was automatically closed after 70 days. New replies are no longer allowed.