mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 00:53:37 +00:00
Improved the changelog and documentation of the Confluence search tool
This commit is contained in:
parent
710d7b0ecd
commit
717590ce22
@ -821,16 +821,17 @@ CONFIG["SETTINGS"] = {}
|
||||
-- targets when those provider requirements are met, and it never reuses
|
||||
-- browser cookies.
|
||||
--
|
||||
-- Field names of the Search Confluence tool:
|
||||
-- baseUrl Required HTTPS root URL of the Confluence site, including its context path
|
||||
-- if present, for example https://wiki.example.org/confluence/. Search loads
|
||||
-- dosearchsite.action with the same web-page reader as read_web_page and uses
|
||||
-- the current user's operating-system sign-in when the wiki has a private or
|
||||
-- VPN address. Redirects outside this URL are refused. A provider must have
|
||||
-- HIGH confidence to receive search results.
|
||||
-- Field names of the Search Confluence tool, which supports Confluence Data Center. Confluence
|
||||
-- Cloud is not supported yet.
|
||||
-- baseUrl Required HTTPS root URL of the Confluence Data Center wiki, including its
|
||||
-- context path if present, for example https://wiki.example.org/confluence/.
|
||||
-- Search loads dosearchsite.action with the same web-page reader as
|
||||
-- read_web_page and uses the current user's operating-system sign-in when the
|
||||
-- wiki has a private or VPN address. Redirects outside this URL are refused. A
|
||||
-- provider must have HIGH confidence to receive search results.
|
||||
-- timeoutSeconds Search request timeout in seconds, at most 120. Default: 30.
|
||||
-- To read a found page, also configure read_web_page.allowedPrivateHosts if your wiki has a
|
||||
-- private or VPN address, and select both tools for the chat or assistant.
|
||||
-- Selecting search_confluence also selects read_web_page, which opens the pages found. If your
|
||||
-- wiki has a private or VPN address, add its host to read_web_page.allowedPrivateHosts as well.
|
||||
--
|
||||
-- CONFIG["SETTINGS"]["DataTools.LockedToolSettings"] = {
|
||||
-- ["web_search.searxng.baseUrl"] = "https://searxng.example.org/",
|
||||
|
||||
@ -93,7 +93,7 @@ public sealed class ConfluenceSearchTool(WebPageRetrievalService webPageRetrieva
|
||||
|
||||
public string GetSettingsFieldDescription(string fieldName, ToolSettingsFieldDefinition fieldDefinition) => fieldName switch
|
||||
{
|
||||
BASE_URL_SETTING => TB("The HTTPS address of your Confluence site, including its path if present, such as https://wiki.example.org/confluence/. AI Studio searches through the same page reader used by Read Web Page."),
|
||||
BASE_URL_SETTING => TB("The HTTPS address of your Confluence Data Center wiki, including its path if present, such as https://wiki.example.org/confluence/. Confluence Cloud is not supported yet. When your wiki has a private or VPN address, also add its host to the allowed private hosts of Read Web Page, which opens the pages found."),
|
||||
TIMEOUT_SECONDS_SETTING => TB("(Optional) Search request timeout in seconds."),
|
||||
_ => TB(fieldDefinition.Description),
|
||||
};
|
||||
|
||||
@ -2,9 +2,6 @@
|
||||
- Added a way to copy an entire chat, either with the button in the chat toolbar or next to the chat in the chat list. The copy opens right away so you can continue in it, while the original conversation stays exactly as it was. Many thanks to Peer Hogeterp (`peerschuett`) and Jens Erler (`j-erler`) for this feature.
|
||||
- Added a way to roll a chat back to an earlier AI response. The response you pick stays, and every message after it is removed permanently, together with the attachments of those messages.
|
||||
- Added a way to save a single code block of an answer. When an answer holds a web page, a LaTeX document, or a Markdown text, the export menu now offers that block as a file of its own.
|
||||
- Added a Search Confluence tool for your company's wiki. Set your wiki's address in the tool settings, then select the tool alongside Read Web Page so the AI can find relevant pages and open them. The Confluence logo shows you the tool in tool lists and in your chat's tool activity.
|
||||
- Added sign-in with your operating system account to the Search Confluence tool for a wiki on your organization's network, so you do not have to enter a password. When your wiki does not accept that sign-in, AI Studio tells you so instead of reporting an empty search.
|
||||
- Added safeguards to the Search Confluence tool: it works only with a High-confidence provider, and it never follows a redirect that leads away from your wiki. Each search appears in the sources of the answer.
|
||||
- Added tools that AI models can use on their own, starting with Web Search and Read Web Page. When you ask something a model cannot answer from what it knows, it now searches the web, reads the pages it found, and answers with the sources it used. You decide which tools a model may use, right below the message field, and you can watch it work: AI Studio shows which tool is running and, afterward, every call it made with its result. Whether tools are offered at all depends on the model because it has to support them. Read Web Page works right away; for Web Search you pick a search service in the app settings — Tavily or Staan with a free API key, or a SearXNG instance you run yourself. Set up more than one, and they can take turns when one of them finds nothing, or be asked all at once with their results combined. Many thanks to Peer Hogeterp (`peerschuett`) and Nils Kruthoff (`nilskruthoff`) for building this feature.
|
||||
- Added answers that appear word by word even while the AI uses its tools. You read along as the model writes, including the short note it puts down before it looks something up, and the answer that follows a tool call arrives the same way instead of all at once at the end.
|
||||
- Added safeguards around everything these tools bring back. Anything fetched from the web is treated as untrusted: AI Studio removes instructions hidden in a page before a model reads it and tells you when it did, exactly as it already does for the documents and web pages you load yourself. A model can never point a tool at your own network. Each tool states how much you have to trust a provider before it may be used with it, so your questions do not travel further than you allow. You can adjust that requirement per tool in the app settings.
|
||||
@ -17,6 +14,9 @@
|
||||
- Added a way for IT departments to roll out chat templates that bring their own tools and data sources. You do not have to write any of it by hand: set the template up in the app, then export it as ready-made Lua code for your configuration plugin.
|
||||
- Added organization-wide management for tools. Among other options, IT departments can switch tools off entirely, disable individual ones, or define the provider trust a tool requires. You do not have to write any of it by hand: set a tool up in the app, then export its configuration as ready-made Lua code for your plugin, with encrypted API keys if you want them.
|
||||
- Added tool calling to the abilities you can state yourself in the expert provider settings. When you use a model AI Studio does not recognize as tool-capable, you can now declare that it is, the same way you already could for image input or reasoning. It works in the other direction as well: a model AI Studio has never heard of is offered tools, because most models can use them by now. Should one turn out not to be able to, AI Studio says so in plain words and points you to the same setting to switch the ability off again, instead of only passing the provider's error on.
|
||||
- Added a Search Confluence tool, so the AI can look things up in your organization's Confluence Data Center wiki. Set your wiki's address in the tool settings. Selecting the tool also selects Read Web Page, which the AI uses to open the pages it found. Confluence Cloud is not supported yet. Many thanks to Peer Hogeterp (`peerschuett`) for this tool.
|
||||
- Added sign-in with your operating system account to the Search Confluence tool for a wiki on your organization's network, so you do not have to enter a password. When your wiki does not accept that sign-in, AI Studio tells you so instead of reporting an empty search.
|
||||
- Added safeguards to the Search Confluence tool: it works only with a High-confidence provider, and it never follows a redirect that leads away from your wiki. Each search appears in the sources of the answer.
|
||||
- Added support for OpenAI's GPT-6 Astra.
|
||||
- Added a way to keep improving a prompt in the Prompt Optimizer. Select "Improve further" to move the latest proposal back into the prompt field, edit it the way you want, and optimize it again. Your recommendations and everything you selected stay as they are.
|
||||
- Added the context window to what AI Studio knows about a model, wherever its metadata states one.
|
||||
|
||||
@ -92,7 +92,9 @@ What differs between callers is which targets are acceptable, and that follows f
|
||||
|
||||
`read_web_page` remains the independent single-URL tool and may use its configured private-host allowlist and operating-system sign-in behavior for allowed HTTPS targets. An allowed private host can only be read by a High-confidence provider.
|
||||
|
||||
`search_confluence` builds a CQL query for the configured HTTPS Confluence Data Center site's `dosearchsite.action` page and loads it through `WebPageRetrievalService`, the same reader used by `read_web_page`. The model supplies a search phrase and optionally a space key, never a URL or CQL expression. The tool returns the extracted search page as Markdown with links, after truncation and prompt-injection filtering, and lists the search page as its source. Every request, redirects included, must stay within the configured base URL; `WebPageRetrievalOptions.IsTargetAllowed` refuses a redirect before it is followed, so the query never reaches another host. The operating-system sign-in goes to the configured host only when all its addresses are private, the same rule `read_web_page` follows, and a redirect to Confluence's login page is reported as a failed sign-in instead of an empty search. The tool is offered to High-confidence providers only and checks that again before each search, because a lowered tool setting must not let internal wiki content reach a less trusted provider; the result raises the chat's continuing confidence requirement to High. Selecting `search_confluence` also selects `read_web_page` so the model can load a result's full content; the latter tool's private-host allowlist and other availability rules still apply.
|
||||
`search_confluence` builds a CQL query for the configured HTTPS Confluence Data Center site's `dosearchsite.action` page and loads it through `WebPageRetrievalService`, the same reader used by `read_web_page`. The model supplies a search phrase and optionally a space key, never a URL or CQL expression. The tool returns the extracted search page as Markdown with links, after truncation and prompt-injection filtering, and lists the search page as its source. Every request, redirects included, must stay within the configured base URL; `WebPageRetrievalOptions.IsTargetAllowed` refuses a redirect before it is followed, so the query never reaches another host. The operating-system sign-in goes to the configured host only when all its addresses are private, the same rule `read_web_page` follows, and a redirect to Confluence's login page is reported as a missing sign-in instead of an empty search. The tool is offered to High-confidence providers only and checks that again before each search, because a lowered tool setting must not let internal wiki content reach a less trusted provider; the result raises the chat's continuing confidence requirement to High. Selecting `search_confluence` also selects `read_web_page` so the model can load a result's full content; the latter tool's private-host allowlist and other availability rules still apply, so a wiki with a private address has to be in that allowlist before any result opens.
|
||||
|
||||
Confluence Cloud is not supported yet. It offers neither `dosearchsite.action` as a server-rendered page nor the operating-system sign-in; its search needs Confluence's REST API with an API token instead, which is also the way to stop depending on the HTML of the Data Center search page.
|
||||
|
||||
Every successfully retrieved page with readable content is also returned as a structured tool source, using the final URL after redirects and the extracted page title. The provider collects these sources across local tool calls and attaches them to the final response under the separate “Sources used by tools” heading. Failed, blocked, empty, and duplicate retrievals do not add sources — a pattern worth copying for any tool that returns material the user may want to check.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user