Skip to content

Commit

Permalink
Feat: Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho-s committed Jun 29, 2024
1 parent beb42a2 commit 70e673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpt/gpt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class GptService {
});
}

async checkIfIsBadwordWithGpt(text: string) {
async checkIfIsBadwordWithGpt(text: string): Promise<boolean> {
const systemPrompt = `
You are an AI assistant that check if a word user provide is badword in Korean.
Expand Down

0 comments on commit 70e673e

Please sign in to comment.