mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 11:56:53 +08:00
Added description for .ppt, specify the reason for unstructured.io (#9452)
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
@@ -121,6 +121,8 @@ class ExtractProcessor:
|
|||||||
extractor = UnstructuredEmailExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
extractor = UnstructuredEmailExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
||||||
elif file_extension == ".ppt":
|
elif file_extension == ".ppt":
|
||||||
extractor = UnstructuredPPTExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
extractor = UnstructuredPPTExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
||||||
|
# You must first specify the API key
|
||||||
|
# because unstructured_api_key is necessary to parse .ppt documents
|
||||||
elif file_extension == ".pptx":
|
elif file_extension == ".pptx":
|
||||||
extractor = UnstructuredPPTXExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
extractor = UnstructuredPPTXExtractor(file_path, unstructured_api_url, unstructured_api_key)
|
||||||
elif file_extension == ".xml":
|
elif file_extension == ".xml":
|
||||||
|
|||||||
Reference in New Issue
Block a user