mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 10:13:48 +00:00
Added mailboxes as local data sources (#1022)
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Read metadata (push) Blocked by required conditions
Build and Release / Sync Flatpak repo (push) Blocked by required conditions
Build and Release / Collect Flatpak artifacts (push) Blocked by required conditions
Build and Release / Verify (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Read metadata (push) Blocked by required conditions
Build and Release / Sync Flatpak repo (push) Blocked by required conditions
Build and Release / Collect Flatpak artifacts (push) Blocked by required conditions
Build and Release / Verify (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
This commit is contained in:
1 parent
93be539e50
commit
c4400c0ff6
343 files changed
+26051
-3122
No files matched your search
@@ -303,6 +303,38 @@ CONFIG["DATA_SOURCES"] = {}
|
||||
-- ["MaxMatches"] = 10,
|
||||
-- }
|
||||
|
||||
-- Mail servers of your organization, offered for new mailboxes:
|
||||
-- The mailbox dialog lists them before the well-known public providers. Choosing one fills in
|
||||
-- the host, the port, and the encryption; username and password stay with each user. Large
|
||||
-- organizations run more than one mail system, so a configuration may define several mail
|
||||
-- servers, and those of all configurations are offered together.
|
||||
--
|
||||
-- Fields:
|
||||
-- Id Required GUID, which stays the same across versions of your configuration.
|
||||
-- Name Required name shown to the user, e.g., the name of the mail system.
|
||||
-- Host Required host name or IP address of the IMAP server, without a scheme
|
||||
-- or a port.
|
||||
-- TransportSecurity SSL_ON_CONNECT (the default, TLS from the first byte on) or STARTTLS.
|
||||
-- There is no way without encryption.
|
||||
-- Port The default is 993 with SSL_ON_CONNECT and 143 with STARTTLS.
|
||||
-- UsernameHint Optional text telling users what to enter as their username.
|
||||
-- HelpUrl Optional http or https address of your instructions, e.g., on how to
|
||||
-- enable IMAP for a mailbox.
|
||||
-- An entry with an invalid field is left out as a whole, and the log names the field.
|
||||
-- To allow mailboxes on these mail servers only, see DataMailboxes.AllowOnlyOrganizationMailServers.
|
||||
CONFIG["MAILBOX_PROVIDERS"] = {}
|
||||
|
||||
-- An example mail server:
|
||||
-- CONFIG["MAILBOX_PROVIDERS"][#CONFIG["MAILBOX_PROVIDERS"]+1] = {
|
||||
-- ["Id"] = "00000000-0000-0000-0000-000000000000",
|
||||
-- ["Name"] = "Exchange (headquarters)",
|
||||
-- ["Host"] = "imap.example.org",
|
||||
-- ["TransportSecurity"] = "SSL_ON_CONNECT",
|
||||
-- ["Port"] = 993,
|
||||
-- ["UsernameHint"] = "Your account as DOMAIN\\username",
|
||||
-- ["HelpUrl"] = "https://intranet.example.org/mail/imap",
|
||||
-- }
|
||||
|
||||
CONFIG["SETTINGS"] = {}
|
||||
|
||||
-- ------
|
||||
@@ -395,6 +427,12 @@ CONFIG["SETTINGS"] = {}
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddEmbeddingProvider"] = false
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddTranscriptionProvider"] = false
|
||||
|
||||
-- Configure the permission to add mailboxes. A mailbox is a data source, not a provider, so
|
||||
-- DataApp.AllowUserToAddProvider does not apply to it. When set to false, the menu entry for
|
||||
-- adding a mailbox stays visible but is disabled. Mailboxes the user added before stay; to keep
|
||||
-- the AI from reading them, switch off the tool collection mailboxes in DataTools.DisabledToolIds.
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddMailbox"] = false
|
||||
|
||||
-- Configure the user permission to import plugin archives from disk.
|
||||
-- When set to false, the import button on the plugins page stays visible but is disabled.
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToImportPlugins"] = false
|
||||
@@ -749,7 +787,19 @@ CONFIG["SETTINGS"] = {}
|
||||
-- but the global tool settings remain available to administrators.
|
||||
-- CONFIG["SETTINGS"]["DataTools.EnableTools"] = false
|
||||
|
||||
-- Disable individual tools by their stable tool ID. The default is an empty set.
|
||||
-- Tools and tool collections:
|
||||
-- Some tools only make sense together, e.g., searching, reading, and counting mails. They form a
|
||||
-- tool collection: users select it as one, it needs one minimum provider confidence, and you
|
||||
-- switch it off as one. The model still calls each of its tools by name. Wherever the settings
|
||||
-- below, chat templates, or document analysis policies ask for a tool ID, use the ID of the
|
||||
-- collection for such tools. A tool which belongs to no collection keeps its own ID.
|
||||
-- The ID of a tool in a collection stands for its whole collection: naming it switches off the
|
||||
-- whole collection or sets its confidence, and of several levels set for a collection and its
|
||||
-- tools, the highest applies.
|
||||
-- Collection IDs include: mailboxes (search_mails, read_mail, and count_mails; while the mailbox
|
||||
-- preview is enabled)
|
||||
|
||||
-- Disable individual tools or tool collections by their stable ID. The default is an empty set.
|
||||
-- Unknown IDs are safely ignored and can be deployed before a future tool is installed.
|
||||
-- semantic_search lets the model search the data sources of a chat itself. Nobody selects it:
|
||||
-- it offers itself whenever a chat has data sources to search. Disabling it makes AI Studio
|
||||
@@ -757,11 +807,13 @@ CONFIG["SETTINGS"] = {}
|
||||
-- tool usage.
|
||||
-- CONFIG["SETTINGS"]["DataTools.DisabledToolIds"] = { "web_search" }
|
||||
|
||||
-- Configure the minimum provider confidence level required for individual tools.
|
||||
-- Configure the minimum provider confidence level required for individual tools or tool
|
||||
-- collections.
|
||||
-- Tool IDs include: web_search, read_web_page, search_confluence, semantic_search
|
||||
-- Collection IDs include: mailboxes
|
||||
-- Allowed values are: NONE, UNTRUSTED, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- Defaults: web_search = VERY_LOW, read_web_page = VERY_LOW, search_confluence = HIGH,
|
||||
-- semantic_search = NONE
|
||||
-- semantic_search = NONE, mailboxes = VERY_LOW
|
||||
-- search_confluence always searches with a HIGH-confidence provider only, whatever value is
|
||||
-- set here.
|
||||
-- semantic_search offers a provider only the data sources whose own confidence level it meets,
|
||||
@@ -771,12 +823,14 @@ CONFIG["SETTINGS"] = {}
|
||||
-- ["web_search"] = "VERY_LOW",
|
||||
-- ["read_web_page"] = "VERY_LOW",
|
||||
-- ["search_confluence"] = "HIGH",
|
||||
-- ["semantic_search"] = "NONE"
|
||||
-- ["semantic_search"] = "NONE",
|
||||
-- ["mailboxes"] = "VERY_LOW"
|
||||
-- }
|
||||
|
||||
-- Configure the settings of individual tools. Keys are "<tool ID>.<field name>", values are
|
||||
-- always strings. This works for every tool, including tools added by plugins, because nothing
|
||||
-- here needs to be known to AI Studio in advance.
|
||||
-- here needs to be known to AI Studio in advance. Settings belong to the tool, also when it is
|
||||
-- part of a tool collection, so these keys always start with the tool ID.
|
||||
--
|
||||
-- Two tables decide how firmly a value applies:
|
||||
-- LockedToolSettings - the user cannot change it, and it is reapplied on every update.
|
||||
@@ -840,9 +894,9 @@ CONFIG["SETTINGS"] = {}
|
||||
-- freeAddressChoice Whether the AI may read web addresses it chose itself. Allowed values are:
|
||||
-- OFF -> the AI reads only addresses which appear in the chat, such as in
|
||||
-- a message, an attached document, or a data source, or which a
|
||||
-- tool returned, such as a search hit. This is the default.
|
||||
-- tool returned, such as a search hit. AI Studio refuses every
|
||||
-- other address. This is the default.
|
||||
-- ON -> the AI may also choose addresses itself.
|
||||
-- Both are instructions to the AI, not a technical block of any address.
|
||||
-- allowedPrivateHosts Comma-separated private or VPN host patterns. Public pages need not be
|
||||
-- listed. Wildcards match subdomains only, so add the root domain
|
||||
-- separately. Allowed private hosts require a provider with HIGH
|
||||
@@ -983,6 +1037,30 @@ CONFIG["SETTINGS"] = {}
|
||||
-- "00000000-0000-0000-0000-000000000001",
|
||||
-- }
|
||||
|
||||
-- Configure the least strict outbound data restriction a mailbox may have. Mails come from
|
||||
-- strangers and may contain instructions meant for the AI, so each mailbox decides where a chat
|
||||
-- may still send data once it has read mails from it:
|
||||
-- ONLY_CONFIGURED_SERVICES Only services configured in AI Studio, such as the mailbox itself
|
||||
-- or your Confluence. No web pages, no web search.
|
||||
-- ONLY_LINKS_FROM_CHAT Also web pages whose addresses stand in the chat, written by the
|
||||
-- user or returned by a tool. No web search, and no addresses the AI
|
||||
-- chooses itself.
|
||||
-- UNRESTRICTED Every tool the user selected.
|
||||
-- A mailbox set to a less strict level gets this one whenever its mails reach a chat, and the
|
||||
-- mailbox dialog no longer offers the less strict levels. A chat which read mails before keeps
|
||||
-- the level it got then, until it reads mails again. The default is UNRESTRICTED, which leaves
|
||||
-- the choice to the user. New mailboxes start with ONLY_CONFIGURED_SERVICES either way.
|
||||
-- CONFIG["SETTINGS"]["DataMailboxes.MinimumOutboundDataRestriction"] = "ONLY_LINKS_FROM_CHAT"
|
||||
|
||||
-- Configure whether mailboxes may only be on the mail servers your configurations offer in
|
||||
-- CONFIG["MAILBOX_PROVIDERS"]. The default is false. When set to true, AI Studio connects to no
|
||||
-- other IMAP server: before every connection, it compares the host of the mailbox with the hosts
|
||||
-- of those mail servers; port and encryption make no difference. A mailbox a user added on another
|
||||
-- server before stops synchronizing at once, and the AI no longer reads it. Its local index stays,
|
||||
-- so the mailbox comes back as it was, should you allow its server again. Without any mail server
|
||||
-- in CONFIG["MAILBOX_PROVIDERS"], this blocks every mailbox.
|
||||
-- CONFIG["SETTINGS"]["DataMailboxes.AllowOnlyOrganizationMailServers"] = true
|
||||
|
||||
-- Configure the data source selection agent.
|
||||
-- This agent is used when chat data source options enable AI-based data source selection.
|
||||
-- The provider must be one of the provider IDs defined in CONFIG["LLM_PROVIDERS"].
|
||||
@@ -1098,11 +1176,12 @@ CONFIG["CHAT_TEMPLATES"] = {}
|
||||
-- ["SystemPrompt"] = "You are <Company Name>'s research assistant. Answer from our own documents and say where each answer comes from.",
|
||||
-- ["AllowProfileUsage"] = true,
|
||||
--
|
||||
-- -- Optional: the tools a chat with this template starts with, by tool ID.
|
||||
-- -- Optional: the tools a chat with this template starts with, by tool or collection ID.
|
||||
-- -- A tool ID unknown to the installation is ignored, and so is a tool your
|
||||
-- -- organization switched off. A tool has to meet the confidence requirements of the
|
||||
-- -- provider in use, so it may stay unavailable even though this template names it.
|
||||
-- -- Tool IDs include: web_search, read_web_page, search_confluence
|
||||
-- -- Collection IDs include: mailboxes
|
||||
-- -- Selecting search_confluence also selects read_web_page. semantic_search cannot be
|
||||
-- -- selected here: it offers itself whenever the chat has data sources to search.
|
||||
-- ["ToolIds"] = {
|
||||
@@ -1213,12 +1292,13 @@ CONFIG["DOCUMENT_ANALYSIS_POLICIES"] = {}
|
||||
-- -- Allowed values are: NONE, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- ["MinimumProviderConfidence"] = "MEDIUM",
|
||||
--
|
||||
-- -- Optional: the tools an analysis with this policy may use, by tool ID.
|
||||
-- -- Optional: the tools an analysis with this policy may use, by tool or collection ID.
|
||||
-- -- This is a limit, not a preselection: a tool which is not listed here cannot be
|
||||
-- -- used for this policy. Omitting the list, or leaving it empty, means no tools.
|
||||
-- -- A listed tool must still meet the confidence requirements of the provider in
|
||||
-- -- use, so a tool may stay unavailable even though this policy permits it.
|
||||
-- -- Tool IDs include: web_search, read_web_page, search_confluence
|
||||
-- -- Collection IDs include: mailboxes
|
||||
-- -- Allowing search_confluence also allows read_web_page.
|
||||
-- ["AllowedToolIds"] = { "web_search" },
|
||||
--
|
||||
|
||||
Reference in new issue
Block a user