mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-14 09:00:04 +00:00
7186c95e40
Medium (title + short body): add WIP autonomous AI agent New internal/aiagent package runs AI assistants that reply to customers on conversations assigned to them, grounded on a knowledge base. Also mines resolved conversations for FAQ suggestions. Adds admin UI and the v2.7.0 schema. Still work in progress.
38 lines
2.1 KiB
Go
38 lines
2.1 KiB
Go
package models
|
|
|
|
type General struct {
|
|
SiteName string `json:"app.site_name"`
|
|
Lang string `json:"app.lang"`
|
|
MaxFileUploadSize int `json:"app.max_file_upload_size"`
|
|
FaviconURL string `json:"app.favicon_url"`
|
|
LogoURL string `json:"app.logo_url"`
|
|
RootURL string `json:"app.root_url"`
|
|
AllowedFileUploadExtensions []string `json:"app.allowed_file_upload_extensions"`
|
|
Timezone string `json:"app.timezone"`
|
|
BusinessHoursID string `json:"app.business_hours_id"`
|
|
ShowConversationSubject bool `json:"app.show_conversation_subject"`
|
|
CopilotName string `json:"app.copilot_name"`
|
|
}
|
|
|
|
type EmailNotification struct {
|
|
Username string `json:"notification.email.username" db:"notification.email.username"`
|
|
Host string `json:"notification.email.host" db:"notification.email.host"`
|
|
Port int `json:"notification.email.port" db:"notification.email.port"`
|
|
Password string `json:"notification.email.password" db:"notification.email.password"`
|
|
MaxConns int `json:"notification.email.max_conns" db:"notification.email.max_conns"`
|
|
IdleTimeout string `json:"notification.email.idle_timeout" db:"notification.email.idle_timeout"`
|
|
WaitTimeout string `json:"notification.email.wait_timeout" db:"notification.email.wait_timeout"`
|
|
AuthProtocol string `json:"notification.email.auth_protocol" db:"notification.email.auth_protocol"`
|
|
EmailAddress string `json:"notification.email.email_address" db:"notification.email.email_address"`
|
|
MaxMsgRetries int `json:"notification.email.max_msg_retries" db:"notification.email.max_msg_retries"`
|
|
TLSType string `json:"notification.email.tls_type" db:"notification.email.tls_type"`
|
|
TLSSkipVerify bool `json:"notification.email.tls_skip_verify" db:"notification.email.tls_skip_verify"`
|
|
HelloHostname string `json:"notification.email.hello_hostname" db:"notification.email.hello_hostname"`
|
|
Enabled bool `json:"notification.email.enabled" db:"notification.email.enabled"`
|
|
}
|
|
|
|
type Settings struct {
|
|
EmailNotification
|
|
General
|
|
}
|