spacy nlp ner
This commit is contained in:
@@ -64,6 +64,7 @@ func (h *FileHandler) List(c *gin.Context) {
|
||||
CreatedAt string `json:"createdAt"`
|
||||
MimeType string `json:"mimeType"`
|
||||
OcrText string `json:"ocrText,omitempty"`
|
||||
NlpData string `json:"nlpData,omitempty"`
|
||||
UpdatedAt string `json:"updatedAt"`
|
||||
}
|
||||
|
||||
@@ -78,6 +79,7 @@ func (h *FileHandler) List(c *gin.Context) {
|
||||
Tags: []string{},
|
||||
CreatedAt: f.CreatedAt,
|
||||
OcrText: f.OcrText,
|
||||
NlpData: f.NlpData,
|
||||
UpdatedAt: f.UpdatedAt,
|
||||
MimeType: f.MimeType,
|
||||
}
|
||||
@@ -122,6 +124,7 @@ func (h *FileHandler) Get(c *gin.Context) {
|
||||
"createdAt": file.CreatedAt,
|
||||
"updatedAt": file.UpdatedAt,
|
||||
"ocrText": file.OcrText,
|
||||
"nlpData": file.NlpData,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user