async function getPromptTemplate() { const render_response = await portkey.prompts.render({ promptID: "PROMPT_ID", variables: { "movie":"Dune 2" } }) return render_response.data.data; }
type PortKeyRenderResponse = { success: boolean; data: { model: string; n: number; top_p: number; max_tokens: number; temperature: number; response_format: any; presence_penality: number; frequency_penalty: number; prompt_id: string; messages: { role: string; content: string; }[]; }; };