feat(ml): better multilingual search with nllb models (#13567)
This commit is contained in:
@@ -191,6 +191,11 @@ export class SmartSearchDto extends BaseSearchDto {
|
||||
@IsNotEmpty()
|
||||
query!: string;
|
||||
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@Optional()
|
||||
language?: string;
|
||||
|
||||
@IsInt()
|
||||
@Min(1)
|
||||
@Type(() => Number)
|
||||
|
||||
Reference in New Issue
Block a user