From 22ca62ff19be0c6580dd0bf2879b8e3f9863a7a2 Mon Sep 17 00:00:00 2001 From: Johnny Oshika Date: Thu, 23 May 2024 02:28:35 -0700 Subject: [PATCH] Change 'GenerateFacts' to 'FactGenerator' for documentation consistency (#303) --- docs/introduction/tutorial-prompt-management/overview.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/introduction/tutorial-prompt-management/overview.mdx b/docs/introduction/tutorial-prompt-management/overview.mdx index 2cd437d99..f11a818bc 100644 --- a/docs/introduction/tutorial-prompt-management/overview.mdx +++ b/docs/introduction/tutorial-prompt-management/overview.mdx @@ -146,8 +146,8 @@ const pezzo = new Pezzo({ const openai = new PezzoOpenAI(pezzo); async function main() { - // Get the deployed "GenerateFacts" prompt version - const prompt = await pezzo.getPrompt("GenerateFacts"); + // Get the deployed "FactGenerator" prompt version + const prompt = await pezzo.getPrompt("FactGenerator"); // Call the OpenAI API, passing the prompt as an argument. You can override parameters if you wish. const response = await openai.chat.completions.create(prompt, {