coze-dev / coze-dev/coze-java

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

オープン
#113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
214
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

示例中只有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();

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。