GenkitG
Genkit12mo ago
4 replies
rubber-blue

Hey can somebody tell me how I reference

Hey can somebody tell me how I reference messages/history in a dotprompt file? Before Genkit (node) 0.5 I was using {{history}}. I am passing the messages from the generate prompt method
 const generatePrompt = ai.prompt("prompt_file");
    const response = await generateDebatePrompt({
      // ...
    }, {messages});
Was this page helpful?