coze-dev / coze-dev/coze-java

pdf、doc、docx格式文档如何处理

Đang mở
#113 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
214
Fork
97
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

示例中只有txt和web部分的处理,pdf、doc、docx部分如何处理呢?
CreateDocumentReq createReq = CreateDocumentReq.builder()
.datasetID(datasetID)
.documentBases(Arrays.asList(
DocumentBase.buildWebPage("web doc example", "https://your-website.com"), //create datasets documents by web page
DocumentBase.buildLocalFile("file doc example", "your file content", "txt"))) //create datasets documents by local file
.build();

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the CreateDocumentReq example and DocumentBase.buildLocalFile usage shown in the issue, then inspect the SDK's document and file-handling entry points for PDF, DOC, and DOCX. Confirm what the SDK supports and what the example should communicate; done means the documented example or limitation answers the question.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.