Skip to content

Commit

Permalink
update generator.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JefferMarcelino authored Apr 14, 2024
1 parent 294c686 commit dc96b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,4 +69,4 @@ export const run = async () => {
} finally {
await prisma.$disconnect();
};
};
};

0 comments on commit dc96b90

Please sign in to comment.