preparte protofile

This commit is contained in:
2025-04-20 23:41:56 +02:00
parent 6a98c4d0a4
commit 4656994d9d
4 changed files with 346 additions and 20 deletions

View File

@@ -30,3 +30,17 @@ message ThumbnailResponse {
string message = 1; // Message indicating success or failure
bytes thumbnail_content = 2; // Thumbnail content as bytes
}
//create a ocred version of a document
message OCRFileRequest {
bytes file_content = 1; //file
FileType file_type = 2; //file type for future adding of maybe other stuff?
bool cleanUp = 3; // if whitespace should be normalized and cleaned from "useless chars"
}
//Response message of ocred document
message OCRFileResponse {
string message = 1; // Status Message
bytes ocr_content = 2; //data of the ocred file
string text_content = 3; //text of the file
}