Merge branch 'main' of github.com:zstar1003/ragflow-plus
This commit is contained in:
commit
ab309bc61a
|
@ -512,7 +512,7 @@ def perform_parse(doc_id, doc_info, file_info, embedding_config):
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Principal": {"AWS": "*"},
|
"Principal": {"AWS": "*"},
|
||||||
"Action": ["s3:GetObject"],
|
"Action": ["s3:GetObject"],
|
||||||
"Resource": [f"arn:aws:s3:::{kb_id}/{img_key}"]
|
"Resource": [f"arn:aws:s3:::{kb_id}/images/*"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue