Update
This commit is contained in:
@@ -39,7 +39,7 @@ export class ContentWriterController {
|
||||
language: dto.lang,
|
||||
originalPost: dto.tweet_text
|
||||
}
|
||||
return this.commentService.generateComment(dto0);
|
||||
return this.commentService.generateComment(dto0, dto.allowTranslateToVi != 0);
|
||||
}
|
||||
|
||||
@Post('comment/variants')
|
||||
|
||||
@@ -25,4 +25,7 @@ export class GenerateCommentAdapterExtDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
persona?: string; // "crypto trader", "news analyst"...
|
||||
|
||||
@IsOptional()
|
||||
allowTranslateToVi?:number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user