From dc96b903a20ed81c93be4a6deddeaa0f169efc0a Mon Sep 17 00:00:00 2001 From: Jeffer Marcelino Date: Sun, 14 Apr 2024 11:20:51 +0200 Subject: [PATCH] update generator.ts --- src/generator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.ts b/src/generator.ts index 61bb2c2..d3026bf 100644 --- a/src/generator.ts +++ b/src/generator.ts @@ -36,7 +36,7 @@ export const run = async () => { } })).map(item => item.title); - const prompt = `Write a complete article discussing a topic within software development, excluding the following topics: ${titles.join(", ")}. # for main title (the topic choosed, the first title will always have one #), ## for subtitles (the titles following the main title), ### for sub-subtitles, and so on. Followed by Markdown-formatted content. Please adhere to the following structure. Each section should include relevant content in Markdown format. Please ensure that the article covers the topic comprehensively and includes multiple sections with detailed information. + const prompt = `Write a complete article discussing a topic within software development and programming (Java, Python, Ruby, Go, Javascript, Typescript, etc). # for main title (the topic choosed, the first title will always have one #), ## for subtitles (the titles following the main title), ### for sub-subtitles, and so on. Followed by Markdown-formatted content. Please adhere to the following structure. Each section should include relevant content in Markdown format. Please ensure that the article covers the topic comprehensively and includes multiple sections with detailed information. Example: # Main title @@ -69,4 +69,4 @@ export const run = async () => { } finally { await prisma.$disconnect(); }; -}; \ No newline at end of file +};