func (l *LogLevel) UnmarshalText(text []byte) (err error) {
	zl, err := zerolog.ParseLevel(string(text))
	*l = LogLevel(zl)
	return err
}
UnmarshalText unmarshals the text to a LogLevel.
package configuration
import (
	"bytes"
	"fmt"
	"github.com/rs/zerolog"
	"gopkg.in/yaml.v3"
	"os"
)
type Config struct {
	LogLevel LogLevel `yaml:"log_level"`
	Host string `yaml:"host"`
	Port int `yaml:"port"`
	MaxConcurrentComputations int `yaml:"max_concurrent_computations"`
	TLSEnabled bool `yaml:"tls_enabled"`
	TLSCert string `yaml:"tls_cert"`
	TLSKey string `yaml:"tls_key"`
	ModelsPath string `yaml:"models_path"`
	LanguageModels []LanguageModel `yaml:"language_models"`
}
type LanguageModel struct {
	Source string `yaml:"source"`
	Target string `yaml:"target"`
	Model string `yaml:"model"`
}
type LogLevel zerolog.Level