Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCsv ¶
Types ¶
type ButlerService ¶
type ButlerService struct { ButlerConfig data.ButlerConfig APIBase string Logger *zap.SugaredLogger }
func NewButlerService ¶
func NewButlerService(logger *zap.SugaredLogger) *ButlerService
func (*ButlerService) GetExtractionResults ¶
func (butService *ButlerService) GetExtractionResults(uploadId string) (*data.ExtractionResult, error)
func (*ButlerService) ProcessRecipesInDir ¶
func (butService *ButlerService) ProcessRecipesInDir(dir string) ([]data.Document, error)
func (*ButlerService) ProcessSingleImage ¶
func (butService *ButlerService) ProcessSingleImage(filePath string) ([]data.Document, error)
Click to show internal directories.
Click to hide internal directories.