Skip to content

Commit

Permalink
Change 'GenerateFacts' to 'FactGenerator' for documentation consisten…
Browse files Browse the repository at this point in the history
…cy (#303)
  • Loading branch information
johnnyoshika authored May 23, 2024
1 parent 40f7b5b commit 22ca62f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/introduction/tutorial-prompt-management/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 22ca62f

Please sign in to comment.