Add markdown format; Update doc (#3969)

* update doc

* markdown
This commit is contained in:
Archer
2025-03-05 10:14:33 +08:00
committed by archer
parent 54eb5c0547
commit e98d6f1d30
3 changed files with 54 additions and 31 deletions

View File

@@ -84,7 +84,8 @@ export const readRawContentByFileBuffer = async ({
success: boolean;
message: string;
data: {
page: number;
page?: number; // abandon
pages: number;
markdown: string;
};
}>(url, data, {
@@ -103,7 +104,7 @@ export const readRawContentByFileBuffer = async ({
createPdfParseUsage({
teamId,
tmbId,
pages: response.data.page
pages: response.data.page || response.data.pages
});
return {