ai-station/.chainlit/config.toml

93 lines
1.9 KiB
TOML
Raw Normal View History

2025-12-25 14:54:33 +00:00
[project]
2025-12-29 05:50:06 +00:00
# Nessuna API key richiesta agli utenti
2025-12-25 14:54:33 +00:00
user_env = []
2025-12-29 05:50:06 +00:00
# Sessioni lunghe per comodità
session_timeout = 7200 # 2 ore
user_session_timeout = 2592000 # 30 giorni (come Perplexity Pro)
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# No cache esterno
2025-12-25 14:54:33 +00:00
cache = false
2025-12-29 05:50:06 +00:00
# Security
2025-12-25 14:54:33 +00:00
persist_user_env = false
2025-12-29 05:50:06 +00:00
mask_user_env = true
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# CORS permissivo per OAuth
2025-12-25 14:54:33 +00:00
allow_origins = ["*"]
[features]
2025-12-29 05:50:06 +00:00
# HTML disabilitato per sicurezza
2025-12-25 14:54:33 +00:00
unsafe_allow_html = false
2025-12-29 05:50:06 +00:00
# LaTeX abilitato per formule matematiche
latex = true
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# UX ottimizzata
2025-12-25 14:54:33 +00:00
user_message_autoscroll = true
auto_tag_thread = true
edit_message = true
2025-12-29 05:50:06 +00:00
# Thread sharing disabilitato (per ora)
2025-12-25 14:54:33 +00:00
allow_thread_sharing = false
[features.spontaneous_file_upload]
2025-12-29 05:50:06 +00:00
enabled = true
# Solo PDF e TXT per RAG
accept = ["application/pdf", "text/plain", "image/png", "image/jpeg"]
max_files = 10
max_size_mb = 100
2025-12-25 14:54:33 +00:00
[features.audio]
2025-12-29 05:50:06 +00:00
# Audio disabilitato (futuro: voice chat)
enabled = false
sample_rate = 24000
2025-12-25 14:54:33 +00:00
[UI]
2025-12-29 05:50:06 +00:00
# Nome branding
name = "Dfm AI Station"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Tema dark di default (come Perplexity)
default_theme = "dark"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Layout wide per più spazio
layout = "wide"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Sidebar aperta di default
default_sidebar_state = "open"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Descrizione per SEO
description = "AI Station powered by dFm - Assistente AI con RAG per analisi documentale e supporto tecnico"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Chain of Thought: mostra solo tool calls (pulito)
cot = "tool_call"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Alert moderni
alert_style = "modern"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# CSS Custom (stile Perplexity)
custom_css = "/public/custom.css"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Logo e Avatar
logo_file_url = "/public/images/logo2.png"
default_avatar_file_url = "/public/images/fav4.png"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Meta tags per sharing
custom_meta_image_url = "/public/images/logo2.png"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
# Header links
[[UI.header_links]]
name = "dFm Website"
display_name = "🏠 DEFRA WOOD MAKER"
url = "https://www.dffm.it"
target = "_blank"
2025-12-25 14:54:33 +00:00
2025-12-29 05:50:06 +00:00
[[UI.header_links]]
name = "Docs"
display_name = "📚 Guida"
url = "/public/docs.html"
target = "_self"
2025-12-25 14:54:33 +00:00
[meta]
2025-12-29 05:50:06 +00:00
generated_by = "1.3.2"