|
@@ -630,7 +630,7 @@ class OpenaiService implements IOpenaiService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async createVectorStoreFileOnUploadAttachment(
|
|
async createVectorStoreFileOnUploadAttachment(
|
|
|
- pageId: string, attachment:HydratedDocument<IAttachmentDocument>, file: Express.Multer.File, buffer: Buffer,
|
|
|
|
|
|
|
+ pageId: string, attachment: HydratedDocument<IAttachmentDocument>, file: Express.Multer.File, buffer: Buffer,
|
|
|
): Promise<void> {
|
|
): Promise<void> {
|
|
|
if (!isVectorStoreCompatible(file)) {
|
|
if (!isVectorStoreCompatible(file)) {
|
|
|
return;
|
|
return;
|