What is the Recommended OpenAI Feature in Pipedream for Calling Functions?

This topic was automatically generated from Slack. You can find the original thread here.

What OpenAI feature in Pipedream would you recommend to call Functions. I recognise this is in beta so may just code for now?

Any advice welcome as Functions are really useful when creating logic blocks

https://platform.openai.com/docs/guides/function-calling#examples

Hi , if you want to have advanced usage with function, I would recommend to use code block in Pipedream with frameworks like llamaindex, langchain, etc… - which will handle function calling, retry, etc… automatically for you.

In your function logic, you can have it call to Pipedream Workflow HTTP Endpoint to do the respective actions you want

References:
https://ts.llamaindex.ai/
Single-Turn Multi-Function Calling OpenAI Agents - LlamaIndex