Documentation
¶
Index ¶
- func GetTextByRow(p pdf.Page) (pdf.Rows, error)
- func ReadPdf(filePath string) (string, error)
- type DocumentQa
- type Export
- func (export *Export) AddDevice(deviceInfo string)
- func (export *Export) CreateModel(file string) error
- func (export *Export) ExportTo(deviceData plugin.DeviceData)
- func (export *Export) Init() error
- func (export *Export) IsReady() bool
- func (export *Export) OnEvent(eventCode string, key string, eventValue interface{}) error
- type PdfReader
- type Response
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DocumentQa ¶
type DocumentQa struct { InputLlm llms.Model InputLlmDocuments []schema.Document InputQuestion string // contains filtered or unexported fields }
func (*DocumentQa) GetResult ¶
func (task *DocumentQa) GetResult(name string) string
Click to show internal directories.
Click to hide internal directories.