-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: OcrParser prompt를 DB로 관리하도록 변경 (#41)
* refactor: OcrParser prompt를 DB로 관리한다 * refactor: ddl확장자 제거 * feat: OCR parsing이 400, 500을 검증하도록 한다
- Loading branch information
Showing
8 changed files
with
47 additions
and
38 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
src/main/kotlin/me/misik/api/api/response/ParsedOcrResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package me.misik.api.api.response | ||
|
||
data class ParsedOcrResponse( | ||
val parsed: List<KeyValuePair> | ||
val status: Boolean, | ||
val parsed: List<KeyValuePair>, | ||
) { | ||
data class KeyValuePair( | ||
val key: String, | ||
val value: String, | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.misik.api.domain.prompt | ||
|
||
enum class PromptType { | ||
OCR, | ||
REVIEW_CREATE, | ||
; | ||
} |
File renamed without changes.