OpenAI allows users to create and iterate prompts and link them to our code with an id
This way, our code is tightly coupled with the prompts
Is there a way to do this on arize?
import OpenAI from "openai";
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
});
const response = await openai.responses.create({
prompt: {
"id": "pmpt_685eee5d2a1881959ab4dbf756eeaca50802b090a6r9069d",
"version": "3"
},
input: [],
reasoning: {},
max_output_tokens: 2048,
store: true
});