Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MistralPricePerPage ¶
func MistralPricePerPage() float64
Types ¶
type MistralClient ¶
type MistralClient struct {
// contains filtered or unexported fields
}
func NewMistralClient ¶
func NewMistralClient(apiKey string) *MistralClient
func NewMistralClientFromEnv ¶
func NewMistralClientFromEnv() (*MistralClient, error)
func (*MistralClient) OCRFile ¶
func (c *MistralClient) OCRFile(ctx context.Context, filePath string, fileType string) ([]PageResult, error)
func (*MistralClient) PricePerPage ¶
func (c *MistralClient) PricePerPage() float64
type PageResult ¶
Click to show internal directories.
Click to hide internal directories.