Chat completions (openai pack, chatgpt)

The OpenAI api expects an array with all previous messages in a chat string in order to provide a chat-style response. I can’t figure out how to do this with the existing OpenAI pack in Coda. Any help or example docs?

Hi Eric, are you trying to do a back and forth chat with the OpenAI Pack?
I’d say right now its not really optimized for chat and more for one time prompts. Would love to hear more about what you’re trying to build though

Hi Glenn thanks for engaging. Yes I am trying to do back and forth chat. At the moment I am trying to implement that using Pipedream to call Coda’s API to store and retrieve the chat streams in Coda tables and communicate with ChatGPT. It would be easier if the Coda pack allowed me to send data from a Coda table as the message history payload…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.