mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 04:53:48 +00:00
Moved the background agents to AI operations (#1215)
This commit is contained in:
1 parent
8a4a26503b
commit
c50a93cd17
139 files changed
+4038
-2309
No files matched your search
@@ -36,6 +36,7 @@ Therefore, before you plan, read, or change anything in one of these areas, read
|
||||
| a release, or crediting a contributor in a changelog entry or after a merge | `app/Build/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/Tools/PluginSystem/`, or a new capability of configuration plugins | `app/MindWork AI Studio/Tools/PluginSystem/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/Tools/ToolCallingSystem/` | `app/MindWork AI Studio/Tools/ToolCallingSystem/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/AIOperations/` or `app/Tests/AIOperations/`, or a new task which AI Studio hands to a model on its own | `app/MindWork AI Studio/AIOperations/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/Models/` or `app/Tests/Models/` | `app/MindWork AI Studio/Models/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/Tools/Services/Indexing/`, or `DataSourceEmbeddingService` | `app/MindWork AI Studio/Tools/Services/Indexing/AGENTS.md` |
|
||||
| anything under `app/MindWork AI Studio/Tools/Databases/` | `app/MindWork AI Studio/Tools/Databases/AGENTS.md` |
|
||||
|
||||
+5
-5
@@ -15,9 +15,9 @@ Key structure:
|
||||
- **Chat/** - Chat functionality and message handling
|
||||
- **Assistants/** - Pre-configured assistants (translation, summarization, coding, etc.)
|
||||
- `AssistantBase.razor` - Base component for all assistants
|
||||
- **Agents/** - contains all agents, e.g., for data source selection, context validation, etc.
|
||||
- `AgentDataSourceSelection.cs` - Selects appropriate data sources for queries
|
||||
- `AgentRetrievalContextValidation.cs` - Validates retrieved context relevance
|
||||
- **AIOperations/** - tasks which AI Studio hands to a model on its own, one request in and one result out,
|
||||
e.g., the data source selection and the retrieval context validation of the classic RAG process; see the
|
||||
area guide `AIOperations/AGENTS.md`
|
||||
- **Tools/PluginSystem/** - Lua-based plugin system
|
||||
- **Tools/Services/** - Core background services (settings, message bus, data sources, updates)
|
||||
- **Tools/Rust/** - .NET wrapper for Rust API calls
|
||||
@@ -143,8 +143,8 @@ knowledge.
|
||||
RAG is available as a beta preview feature. Architecture:
|
||||
- **External Retrieval Interface (ERI)** - Contract for integrating external data sources
|
||||
- **Data Sources** - Local files and external data via ERI servers
|
||||
- **Two ways to search** - By default, the chat model searches the data sources itself through the tool `semantic_search`, whenever a question calls for it. The classic process (`AISrcSelWithRetCtxVal`) searches them with every message instead, when the user chose so per chat (`DataSourceOptions.RetrievalMode`) or whenever the tool cannot be offered. `ToolRegistry.GetEffectiveRetrievalModeAsync` decides between the two; pass its answer to `DataSourceService`, because the agents only count as providers that see the data when they actually run. Both ways decide where a chat may still send data once their passages reached it through `DataSourceRequirements.Of`, never with a check of their own: a way which demands less leaves the other one open. See "Searching Data Sources" in `documentation/Tools.md`.
|
||||
- **Agents** - AI agents select data sources and validate retrieval quality, in the classic process only
|
||||
- **Two ways to search** - By default, the chat model searches the data sources itself through the tool `semantic_search`, whenever a question calls for it. The classic process (`AISrcSelWithRetCtxVal`) searches them with every message instead, when the user chose so per chat (`DataSourceOptions.RetrievalMode`) or whenever the tool cannot be offered. `ToolRegistry.GetEffectiveRetrievalModeAsync` decides between the two; pass its answer to `DataSourceService`, because the AI operations of the classic process only count as providers that see the data when they actually run. Both ways decide where a chat may still send data once their passages reached it through `DataSourceRequirements.Of`, never with a check of their own: a way which demands less leaves the other one open. See "Searching Data Sources" in `documentation/Tools.md`.
|
||||
- **AI operations** - select data sources and validate retrieval quality, in the classic process only; see `AIOperations/AGENTS.md`
|
||||
- **Embedding providers** - Support for various embedding models
|
||||
- **Vector database** - Qdrant Edge, embedded in the Rust runtime; see "Databases" below
|
||||
- **Index database** - SQLite, holding the file fingerprints and the chunk texts for full-text search; see "Databases" below
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
# AGENTS.md
|
||||
|
||||
These instructions cover the AI operations in `app/MindWork AI Studio/AIOperations/`. They add to the
|
||||
`AGENTS.md` in the repository root, which applies here as well.
|
||||
|
||||
## What an AI operation is
|
||||
|
||||
An AI operation is a task which AI Studio hands to a model on its own: one request in, one result out, without
|
||||
a loop. The text content cleaner, the data source selection and the retrieval context validation of the
|
||||
classic RAG process, and the security audit of plugins are AI operations. A conversation with the user, a loop
|
||||
of tool calls, or an agent which plans its own steps is not one.
|
||||
|
||||
The common types live in this folder; each operation lives in a folder of its own, `AIOperations/<Name>/`,
|
||||
with `<Name>Operation`, `<Name>Request`, and its result types.
|
||||
|
||||
**Never name a folder after a type of the app.** Its namespace `AIStudio.AIOperations.<Name>` would hide that
|
||||
type wherever the namespace is in reach (CS0118). The component `DataSourceSelection` exists, so the
|
||||
operation which selects data sources lives in `DataSourceChoice/`.
|
||||
|
||||
## The parts
|
||||
|
||||
- **`IAIOperation<TRequest, TResult>`** - `Id` for the log, `Component` for the User-Agent and
|
||||
`ChatThread.RuntimeComponent`, `GetRequiredConfidence(request)`, and `RunAsync(request, context, token)`.
|
||||
The required confidence comes from the content of the request alone, e.g., its data sources or the
|
||||
confidence a chat requires; the minimum of the operation is a setting and not part of it.
|
||||
- **`AIOperationBase<TRequest, TResult>`** - `AskAsync` sends one request with a chat thread of its own to the
|
||||
provider of the context and waits for the whole answer. Right before, it checks the provider once more
|
||||
against a prohibition, the global minimum, and the confidence the request requires, but not against the
|
||||
minimum of the operation, because a caller may exempt a fallback from it.
|
||||
- **`AIOperationContext`** - what a call runs with apart from its request, the provider above all.
|
||||
- **`GetProviderSettings(SettingsManager)`** - every operation declares this public static method, which
|
||||
reads its preferred provider and its minimum confidence fresh on every call. It is static, so that a service
|
||||
learns which provider would run without an instance. `AIOperationsAreStatelessTests` checks that it exists.
|
||||
|
||||
## Thread safety
|
||||
|
||||
Every operation is registered as a singleton in `Program.cs` and serves several callers at once, e.g., two
|
||||
chats with RAG. It therefore keeps nothing of a call: no writable field or property, only the services of
|
||||
its primary constructor, which are singletons as well. Everything a call needs lives in local variables or
|
||||
travels with the request and the context. A limit per call, such as the parallel validations of retrieval
|
||||
contexts, is a local `SemaphoreSlim`. `AIOperationsAreStatelessTests` checks both the state and the
|
||||
registration.
|
||||
|
||||
## Choosing the provider
|
||||
|
||||
The caller chooses the provider of a call and passes it in the `AIOperationContext`; an operation never
|
||||
chooses one itself.
|
||||
|
||||
- **`AIOperationProviderChoice.Choose`** decides, a pure function on the facts about each candidate
|
||||
(`AIOperationProviderCandidate`) and the confidence levels to reach (`AIOperationProviderRules`). The
|
||||
preferred provider of the operation wins when it passes every rule; otherwise the first fallback in the
|
||||
order of the caller which passes. A prohibition, the global minimum, the confidence the request requires,
|
||||
and the check of the caller apply to every candidate; the minimum of the operation applies to the fallbacks
|
||||
only when the caller says so.
|
||||
- **`AIOperationProviderIssue`** - why a candidate failed, in the order of the checks. The choice reports the
|
||||
issue of the preferred provider and, when nothing was chosen, of the first named fallback. Explain a choice
|
||||
to the user from these issues; never guess the reason afterward.
|
||||
- **`AIOperationProviderResolver`** gathers the facts from the settings. Call `Resolve` right before running
|
||||
an operation, which logs the choice, and `Preview` for a check in advance or a hint in the UI.
|
||||
- **`AIOperationProviderOptions`** - what the caller adds: the fallbacks in order, whether the minimum of the
|
||||
operation applies to them, and a check of its own, e.g., whether a provider may see the data sources. The
|
||||
app-wide default is `SettingsManager.AppDefaultProviderId`.
|
||||
|
||||
Build the options of a caller in one place, so that a check in advance counts the providers which run:
|
||||
`ClassicRagProviderOptions` serves the classic RAG process and `DataSourceService`,
|
||||
`AssistantPluginAuditService.GetProviderOptions` the audit, and `ReadWebContent.GetCleanerProviderOptions` the
|
||||
text content cleaner.
|
||||
|
||||
## Settings
|
||||
|
||||
Each operation has a preferred provider and a minimum confidence in its settings data class, managed through
|
||||
`ManagedConfiguration` and documented in `Plugins/configuration/plugin.lua`. With a switch such as
|
||||
`PreselectAgentOptions`, both apply only while it is on, like the settings of the assistants. Add the minimum
|
||||
to `ComponentsExtensions.MinimumConfidence` as well, so that the provider selections of the settings filter by
|
||||
it.
|
||||
|
||||
## Answers with JSON
|
||||
|
||||
Find the JSON in an answer with `ModelAnswerJson` and read it with `AIOperationsJson.OPTIONS`. A new JSON type
|
||||
goes into `AIOperationsJsonContext` and into `JsonTestRoots.ModelAnswers` in `app/Tests/Serialization/`. Give
|
||||
a result an explicit way to say that the model gave no usable answer, such as `IsAnswered`, instead of a value
|
||||
which stands for it.
|
||||
|
||||
## Tests
|
||||
|
||||
The tests live in `app/Tests/AIOperations/`: the choice as a table (`AIOperationProviderChoiceTests`), the
|
||||
resolver on real settings (`AIOperationProviderResolverTests`), the statelessness of all operations, and per
|
||||
operation the options its callers pass (`<Name>ProviderTests`).
|
||||
@@ -0,0 +1,128 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The base of the AI operations, with what each of them needs to ask a model.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It keeps nothing of a call: every request gets a chat thread of its own, and the provider comes with the
|
||||
/// context. Derived operations keep it that way, see IAIOperation; AIOperationsAreStatelessTests checks it.
|
||||
/// </remarks>
|
||||
/// <typeparam name="TRequest">What the operation works on.</typeparam>
|
||||
/// <typeparam name="TResult">What the operation returns.</typeparam>
|
||||
public abstract class AIOperationBase<TRequest, TResult>(ILogger logger, SettingsManager settingsManager) : IAIOperation<TRequest, TResult>
|
||||
{
|
||||
protected ILogger Logger { get; } = logger;
|
||||
|
||||
protected SettingsManager SettingsManager { get; } = settingsManager;
|
||||
|
||||
#region Implementation of IAIOperation
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract string Id { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract Tools.Components Component { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract ConfidenceLevel GetRequiredConfidence(TRequest request);
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract Task<TResult> RunAsync(TRequest request, AIOperationContext context, CancellationToken token = default);
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Sends one request to the provider of the context and waits for the whole answer.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The provider is checked once more right before: the organization must not have prohibited it, and it
|
||||
/// has to reach the global minimum and the confidence the content of the request requires. The minimum
|
||||
/// of the operation itself is not checked here, because a caller may exempt a fallback from it.
|
||||
/// </remarks>
|
||||
/// <param name="request">The request, for the confidence its content requires.</param>
|
||||
/// <param name="context">What the call runs with, the provider above all.</param>
|
||||
/// <param name="systemPrompt">The system prompt.</param>
|
||||
/// <param name="userPrompt">The user prompt.</param>
|
||||
/// <param name="token">The cancellation token.</param>
|
||||
/// <returns>The text of the answer, or null when the provider must not see the request or did not answer.</returns>
|
||||
protected async Task<string?> AskAsync(TRequest request, AIOperationContext context, string systemPrompt, string userPrompt, CancellationToken token)
|
||||
{
|
||||
var provider = context.Provider;
|
||||
if (!this.MayAsk(provider, request))
|
||||
return null;
|
||||
|
||||
var thread = new ChatThread
|
||||
{
|
||||
WorkspaceId = Guid.Empty,
|
||||
ChatId = Guid.NewGuid(),
|
||||
Name = string.Empty,
|
||||
SystemPrompt = systemPrompt,
|
||||
Blocks = [],
|
||||
RuntimeComponent = this.Component,
|
||||
};
|
||||
|
||||
var time = DateTimeOffset.Now;
|
||||
var prompt = new ContentText
|
||||
{
|
||||
Text = userPrompt,
|
||||
};
|
||||
|
||||
thread.Blocks.Add(new ContentBlock
|
||||
{
|
||||
Time = time,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = prompt,
|
||||
});
|
||||
|
||||
var answer = new ContentText
|
||||
{
|
||||
// We have to wait for the remote for the content stream:
|
||||
InitialRemoteWait = true,
|
||||
};
|
||||
|
||||
thread.Blocks.Add(new ContentBlock
|
||||
{
|
||||
Time = time,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.AI,
|
||||
Content = answer,
|
||||
});
|
||||
|
||||
// Awaiting this line waits for the entire content to be streamed:
|
||||
await answer.CreateFromProviderAsync(provider.CreateProvider(), provider.Model, prompt, thread, token);
|
||||
if (string.IsNullOrWhiteSpace(answer.Text))
|
||||
{
|
||||
this.Logger.LogWarning($"The AI operation '{this.Id}' got no answer from the provider '{provider.InstanceName}'.");
|
||||
return null;
|
||||
}
|
||||
|
||||
return answer.Text;
|
||||
}
|
||||
|
||||
private bool MayAsk(Settings.Provider provider, TRequest request)
|
||||
{
|
||||
if (provider == Settings.Provider.NONE || provider.UsedLLMProvider is LLMProviders.NONE)
|
||||
{
|
||||
this.Logger.LogWarning($"The AI operation '{this.Id}' has no provider.");
|
||||
return false;
|
||||
}
|
||||
|
||||
var minimumLevel = this.SettingsManager.GlobalMinimumConfidenceLevel;
|
||||
var requiredLevel = this.GetRequiredConfidence(request);
|
||||
if (requiredLevel > minimumLevel)
|
||||
minimumLevel = requiredLevel;
|
||||
|
||||
if (!this.SettingsManager.IsProviderUsable(provider.UsedLLMProvider, minimumLevel))
|
||||
{
|
||||
this.Logger.LogWarning($"The AI operation '{this.Id}' must not use the provider '{provider.InstanceName}': the organization prohibited it, or its confidence is below '{minimumLevel.Name}'.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// What a call of an AI operation runs with, apart from its request.
|
||||
/// </summary>
|
||||
/// <param name="Provider">The provider which the caller chose for this call, usually through AIOperationProviderResolver.</param>
|
||||
public sealed record AIOperationContext(Settings.Provider Provider);
|
||||
@@ -0,0 +1,29 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// What is known about one provider which an AI operation might use.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// AIOperationProviderResolver gathers these facts from the settings, and AIOperationProviderChoice decides
|
||||
/// on them alone. That keeps the decision apart from the settings and easy to test.
|
||||
/// </remarks>
|
||||
/// <param name="Provider">The configured provider; Provider.NONE when nobody named one or when it is missing.</param>
|
||||
/// <param name="IsNamed">Whether somebody named a provider here at all.</param>
|
||||
/// <param name="Exists">Whether the named provider is configured.</param>
|
||||
/// <param name="IsProhibited">Whether the organization prohibited the provider.</param>
|
||||
/// <param name="Confidence">The confidence level of the provider.</param>
|
||||
/// <param name="CallerIssue">What the check of the caller found; NONE when the provider passed it or when there is no such check.</param>
|
||||
public sealed record AIOperationProviderCandidate(Settings.Provider Provider, bool IsNamed, bool Exists, bool IsProhibited, ConfidenceLevel Confidence, AIOperationProviderIssue CallerIssue)
|
||||
{
|
||||
/// <summary>
|
||||
/// A candidate which nobody named.
|
||||
/// </summary>
|
||||
public static readonly AIOperationProviderCandidate NOT_NAMED = new(Settings.Provider.NONE, false, false, false, ConfidenceLevel.NONE, AIOperationProviderIssue.NONE);
|
||||
|
||||
/// <summary>
|
||||
/// A candidate whose provider is no longer configured.
|
||||
/// </summary>
|
||||
public static readonly AIOperationProviderCandidate MISSING = new(Settings.Provider.NONE, true, false, false, ConfidenceLevel.NONE, AIOperationProviderIssue.NONE);
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The provider chosen for an AI operation, together with the reasons why others were not chosen.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The reasons let a caller explain the choice instead of guessing it, e.g., why the model of the
|
||||
/// assistant cleaned a web page although the user picked another one for that.
|
||||
/// </remarks>
|
||||
/// <param name="Provider">The chosen provider; Provider.NONE when no candidate passed.</param>
|
||||
/// <param name="PreferredIssue">Why the preferred provider of the operation was not chosen: NONE when it was, NOT_SET when there is none.</param>
|
||||
/// <param name="FallbackIssue">Only when no provider was chosen: why the first named fallback failed, NOT_SET when the caller named none. NONE otherwise.</param>
|
||||
public sealed record AIOperationProviderChoice(Settings.Provider Provider, AIOperationProviderIssue PreferredIssue, AIOperationProviderIssue FallbackIssue)
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether a provider was chosen.
|
||||
/// </summary>
|
||||
public bool HasProvider => this.Provider != Settings.Provider.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// Whether a fallback was chosen instead of the preferred provider.
|
||||
/// </summary>
|
||||
public bool UsesFallback => this.HasProvider && this.PreferredIssue is not AIOperationProviderIssue.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// Chooses the provider for an AI operation from the facts about its candidates.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The preferred provider wins when somebody named it, when it exists, when the organization did not
|
||||
/// prohibit it, when it reaches the global minimum, the minimum of the operation, and the confidence the
|
||||
/// content requires, and when it passes the check of the caller.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Otherwise, the first fallback in the order of the caller wins which passes the same. The minimum of
|
||||
/// the operation applies to the fallbacks only when the rules say so; a prohibition, the global minimum,
|
||||
/// the confidence the content requires, and the check of the caller apply to every candidate.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <param name="preferred">The provider picked for the operation itself.</param>
|
||||
/// <param name="fallbacks">The providers to fall back on, in the order of the caller.</param>
|
||||
/// <param name="rules">The confidence levels to reach.</param>
|
||||
/// <returns>The chosen provider with the reasons why the others were not chosen.</returns>
|
||||
public static AIOperationProviderChoice Choose(AIOperationProviderCandidate preferred, IReadOnlyList<AIOperationProviderCandidate> fallbacks, AIOperationProviderRules rules)
|
||||
{
|
||||
var preferredIssue = Check(preferred, rules, false);
|
||||
if (preferredIssue is AIOperationProviderIssue.NONE)
|
||||
return new(preferred.Provider, AIOperationProviderIssue.NONE, AIOperationProviderIssue.NONE);
|
||||
|
||||
// A named candidate never reports NOT_SET, so this stays NOT_SET until the first named fallback fails:
|
||||
var fallbackIssue = AIOperationProviderIssue.NOT_SET;
|
||||
foreach (var fallback in fallbacks)
|
||||
{
|
||||
var issue = Check(fallback, rules, true);
|
||||
if (issue is AIOperationProviderIssue.NONE)
|
||||
return new(fallback.Provider, preferredIssue, AIOperationProviderIssue.NONE);
|
||||
|
||||
if (fallbackIssue is AIOperationProviderIssue.NOT_SET)
|
||||
fallbackIssue = issue;
|
||||
}
|
||||
|
||||
return new(Settings.Provider.NONE, preferredIssue, fallbackIssue);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Finds the first rule a candidate breaks, in the order of AIOperationProviderIssue.
|
||||
/// </summary>
|
||||
private static AIOperationProviderIssue Check(AIOperationProviderCandidate candidate, AIOperationProviderRules rules, bool isFallback)
|
||||
{
|
||||
if (!candidate.IsNamed)
|
||||
return AIOperationProviderIssue.NOT_SET;
|
||||
|
||||
if (!candidate.Exists)
|
||||
return AIOperationProviderIssue.MISSING;
|
||||
|
||||
if (candidate.IsProhibited)
|
||||
return AIOperationProviderIssue.PROHIBITED;
|
||||
|
||||
if (candidate.Confidence < rules.GlobalMinimumConfidence)
|
||||
return AIOperationProviderIssue.BELOW_MINIMUM_CONFIDENCE;
|
||||
|
||||
if ((!isFallback || rules.OwnMinimumAppliesToFallbacks) && candidate.Confidence < rules.OwnMinimumConfidence)
|
||||
return AIOperationProviderIssue.BELOW_MINIMUM_CONFIDENCE;
|
||||
|
||||
if (candidate.Confidence < rules.RequiredConfidence)
|
||||
return AIOperationProviderIssue.NOT_ALLOWED_FOR_CONTENT;
|
||||
|
||||
return candidate.CallerIssue;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// Why a provider was not chosen for an AI operation.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The members follow the order in which AIOperationProviderChoice checks a candidate, so that a candidate
|
||||
/// reports the first rule it breaks.
|
||||
/// </remarks>
|
||||
public enum AIOperationProviderIssue
|
||||
{
|
||||
/// <summary>
|
||||
/// Nothing stands in the way of the provider.
|
||||
/// </summary>
|
||||
NONE = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Nobody named a provider here.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// That is no problem to report: an operation without a provider of its own falls back as intended.
|
||||
/// </remarks>
|
||||
NOT_SET,
|
||||
|
||||
/// <summary>
|
||||
/// The named provider is no longer configured, e.g., because the user deleted it.
|
||||
/// </summary>
|
||||
MISSING,
|
||||
|
||||
/// <summary>
|
||||
/// The organization prohibited the provider.
|
||||
/// </summary>
|
||||
PROHIBITED,
|
||||
|
||||
/// <summary>
|
||||
/// The confidence level of the provider is below the global minimum or below the minimum of the operation.
|
||||
/// </summary>
|
||||
BELOW_MINIMUM_CONFIDENCE,
|
||||
|
||||
/// <summary>
|
||||
/// The content of the request must not reach the provider.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Either the confidence level of the provider is below what the content requires, or a check of the
|
||||
/// caller refused the provider, e.g., for the security of a data source or the restrictions of a chat.
|
||||
/// </remarks>
|
||||
NOT_ALLOWED_FOR_CONTENT,
|
||||
|
||||
/// <summary>
|
||||
/// A check of the caller found the context window of the model too small for the operation.
|
||||
/// </summary>
|
||||
CONTEXT_WINDOW_TOO_SMALL,
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// What the caller of an AI operation adds to the choice of its provider.
|
||||
/// </summary>
|
||||
public sealed record AIOperationProviderOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// The IDs of the providers to fall back on when the preferred provider of the operation cannot be used, in order.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// An empty ID is allowed and stands for a fallback nobody named, e.g., an assistant without a provider.
|
||||
/// </remarks>
|
||||
public IReadOnlyList<string?> FallbackProviderIds { get; init; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Whether the minimum confidence of the operation applies to the fallbacks as well.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Usually it does: a provider somebody picked for something else has to clear the bar of the operation,
|
||||
/// otherwise a provider ruled out for it would still see its content. A caller turns it off where the
|
||||
/// fallback saw the content anyway, e.g., the model of a chat which summarizes that very chat.
|
||||
/// </remarks>
|
||||
public bool OwnMinimumConfidenceAppliesToFallbacks { get; init; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// An optional check of the caller, applied to every configured candidate.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It returns NONE when the provider passes, and otherwise the issue to report, usually
|
||||
/// NOT_ALLOWED_FOR_CONTENT or CONTEXT_WINDOW_TOO_SMALL.
|
||||
/// </remarks>
|
||||
public Func<Settings.Provider, AIOperationProviderIssue>? CheckProvider { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// Chooses the provider for a call of an AI operation.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It gathers the facts about each candidate from the settings, fresh on every call, and leaves the decision
|
||||
/// to AIOperationProviderChoice.Choose. Every caller which runs an operation chooses through it, and so does
|
||||
/// every check which needs to know in advance which provider would see the content, so that the two never
|
||||
/// drift apart.
|
||||
/// </remarks>
|
||||
public sealed class AIOperationProviderResolver(SettingsManager settingsManager, ILogger<AIOperationProviderResolver> logger)
|
||||
{
|
||||
/// <summary>
|
||||
/// Chooses the provider for running an operation with the given request, and logs the choice.
|
||||
/// </summary>
|
||||
/// <param name="operation">The operation to run.</param>
|
||||
/// <param name="request">The request to run it with.</param>
|
||||
/// <param name="settings">The provider settings of the operation, from its GetProviderSettings.</param>
|
||||
/// <param name="options">What the caller adds: the fallbacks, whether the minimum of the operation applies to them, and a check of its own.</param>
|
||||
/// <returns>The chosen provider with the reasons why the others were not chosen.</returns>
|
||||
public AIOperationProviderChoice Resolve<TRequest, TResult>(IAIOperation<TRequest, TResult> operation, TRequest request, AIOperationProviderSettings settings, AIOperationProviderOptions options)
|
||||
{
|
||||
var choice = this.Preview(settings, operation.GetRequiredConfidence(request), options);
|
||||
if (choice.HasProvider)
|
||||
{
|
||||
var provider = choice.Provider;
|
||||
var fallbackNote = choice.UsesFallback ? $" as a fallback, since its preferred provider was {choice.PreferredIssue}" : string.Empty;
|
||||
logger.LogInformation($"The AI operation '{operation.Id}' uses the provider '{provider.InstanceName}' ({provider.UsedLLMProvider.Name}, confidence={provider.UsedLLMProvider.GetConfidence(settingsManager).Level.Name}){fallbackNote}.");
|
||||
}
|
||||
else
|
||||
logger.LogWarning($"The AI operation '{operation.Id}' has no provider: its preferred provider was {choice.PreferredIssue}, its first fallback was {choice.FallbackIssue}.");
|
||||
|
||||
return choice;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Chooses the provider which would run an operation, without logging the choice.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For checks in advance, e.g., which providers get to see the data of a data source.
|
||||
/// </remarks>
|
||||
/// <param name="settings">The provider settings of the operation, from its GetProviderSettings.</param>
|
||||
/// <param name="requiredConfidence">The confidence level the content of the request requires; NONE when it is not known yet.</param>
|
||||
/// <param name="options">What the caller adds: the fallbacks, whether the minimum of the operation applies to them, and a check of its own.</param>
|
||||
/// <returns>The chosen provider with the reasons why the others were not chosen.</returns>
|
||||
public AIOperationProviderChoice Preview(AIOperationProviderSettings settings, ConfidenceLevel requiredConfidence, AIOperationProviderOptions options)
|
||||
{
|
||||
var preferred = this.Describe(settings.PreferredProviderId, options.CheckProvider);
|
||||
var fallbacks = options.FallbackProviderIds.Select(id => this.Describe(id, options.CheckProvider)).ToList();
|
||||
var rules = new AIOperationProviderRules(settingsManager.GlobalMinimumConfidenceLevel, settings.MinimumConfidence, requiredConfidence, options.OwnMinimumConfidenceAppliesToFallbacks);
|
||||
return AIOperationProviderChoice.Choose(preferred, fallbacks, rules);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gathers the facts about the provider with the given ID.
|
||||
/// </summary>
|
||||
private AIOperationProviderCandidate Describe(string? providerId, Func<Settings.Provider, AIOperationProviderIssue>? checkProvider)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(providerId) || string.Equals(providerId, Settings.Provider.NONE.Id, StringComparison.OrdinalIgnoreCase))
|
||||
return AIOperationProviderCandidate.NOT_NAMED;
|
||||
|
||||
var provider = settingsManager.GetProviderById(providerId);
|
||||
if (provider == Settings.Provider.NONE || provider.UsedLLMProvider is LLMProviders.NONE)
|
||||
return AIOperationProviderCandidate.MISSING;
|
||||
|
||||
return new AIOperationProviderCandidate(
|
||||
provider,
|
||||
true,
|
||||
true,
|
||||
settingsManager.IsProviderProhibited(provider.UsedLLMProvider),
|
||||
provider.UsedLLMProvider.GetConfidence(settingsManager).Level,
|
||||
checkProvider?.Invoke(provider) ?? AIOperationProviderIssue.NONE);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The confidence levels which a provider has to reach for an AI operation.
|
||||
/// </summary>
|
||||
/// <param name="GlobalMinimumConfidence">The global minimum, when the user or the organization enforces one. It applies to every candidate.</param>
|
||||
/// <param name="OwnMinimumConfidence">The minimum of the operation itself, from its settings.</param>
|
||||
/// <param name="RequiredConfidence">What the content of the request requires, e.g., its data sources. It applies to every candidate.</param>
|
||||
/// <param name="OwnMinimumAppliesToFallbacks">Whether the minimum of the operation applies to the fallbacks as well, not only to its preferred provider.</param>
|
||||
public sealed record AIOperationProviderRules(ConfidenceLevel GlobalMinimumConfidence, ConfidenceLevel OwnMinimumConfidence, ConfidenceLevel RequiredConfidence, bool OwnMinimumAppliesToFallbacks);
|
||||
@@ -0,0 +1,16 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of an AI operation which decide its provider.
|
||||
/// </summary>
|
||||
/// <param name="PreferredProviderId">The ID of the provider picked for the operation; empty when nobody picked one or when the preselection is switched off.</param>
|
||||
/// <param name="MinimumConfidence">The minimum confidence level of the operation itself.</param>
|
||||
public sealed record AIOperationProviderSettings(string PreferredProviderId, ConfidenceLevel MinimumConfidence)
|
||||
{
|
||||
/// <summary>
|
||||
/// No provider of its own and no minimum.
|
||||
/// </summary>
|
||||
public static readonly AIOperationProviderSettings NONE = new(string.Empty, ConfidenceLevel.NONE);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// How AI operations read the JSON in the answers of models.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Find the JSON in an answer with ModelAnswerJson first, then read it with these options.
|
||||
/// </remarks>
|
||||
internal static class AIOperationsJson
|
||||
{
|
||||
/// <summary>
|
||||
/// The options for the JSON in a model answer to an AI operation.
|
||||
/// </summary>
|
||||
internal static readonly JsonSerializerOptions OPTIONS = new JsonSerializerOptions
|
||||
{
|
||||
PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower,
|
||||
TypeInfoResolver = AIOperationsJsonContext.Default,
|
||||
}.AsReadOnly();
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
using AIStudio.AIOperations.DataSourceChoice;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.AIOperations.RetrievalContextValidation;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The contracts with which System.Text.Json reads the answers of models to AI operations, built at compile time.
|
||||
/// </summary>
|
||||
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
|
||||
[JsonSerializable(typeof(List<SelectedDataSource>))]
|
||||
[JsonSerializable(typeof(RetrievalContextValidationResult))]
|
||||
[JsonSerializable(typeof(PluginAuditResult))]
|
||||
internal sealed partial class AIOperationsJsonContext : JsonSerializerContext;
|
||||
@@ -0,0 +1 @@
|
||||
@AGENTS.md
|
||||
@@ -0,0 +1,198 @@
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Settings.DataModel;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
namespace AIStudio.AIOperations.DataSourceChoice;
|
||||
|
||||
/// <summary>
|
||||
/// Chooses the data sources which fit a prompt, from the descriptions of the data sources.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The classic RAG process runs it before it searches, see AgenticSrcSelWithDynHeur.
|
||||
/// </remarks>
|
||||
public sealed class DataSourceChoiceOperation(ILogger<DataSourceChoiceOperation> logger, SettingsManager settingsManager, DataSourceDescriptionService descriptionService) : AIOperationBase<DataSourceChoiceRequest, DataSourceChoiceResult>(logger, settingsManager)
|
||||
{
|
||||
private const string JOB_DESCRIPTION =
|
||||
"""
|
||||
You receive a system and a user prompt, as well as a list of possible data sources as input.
|
||||
Your task is to select the appropriate data sources for the given task. You may choose none,
|
||||
one, or multiple sources, depending on what best fits the system and user prompt. You need
|
||||
to estimate and assess which source, based on its description, might be helpful in
|
||||
processing the prompts.
|
||||
|
||||
Your response is a JSON list in the following format:
|
||||
|
||||
```
|
||||
[
|
||||
{"id": "The data source ID", "reason": "Why did you choose this source?", "confidence": 0.87},
|
||||
{"id": "The data source ID", "reason": "Why did you choose this source?", "confidence": 0.54}
|
||||
]
|
||||
```
|
||||
|
||||
You express your confidence as a floating-point number between 0.0 (maximum uncertainty) and
|
||||
1.0 (you are absolutely certain that this source is needed).
|
||||
|
||||
The JSON schema is:
|
||||
|
||||
```
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"reason",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
When no data source is needed, you return an empty JSON list `[]`. You do not ask any
|
||||
follow-up questions. You do not address the user. Your response consists solely of
|
||||
the JSON list.
|
||||
""";
|
||||
|
||||
/// <summary>
|
||||
/// Reads the provider settings of the operation.
|
||||
/// </summary>
|
||||
/// <param name="settingsManager">The settings to read.</param>
|
||||
/// <returns>The preferred provider and the minimum confidence, or none of them while the preselection is switched off.</returns>
|
||||
public static AIOperationProviderSettings GetProviderSettings(SettingsManager settingsManager)
|
||||
{
|
||||
var settings = settingsManager.ConfigurationData.AgentDataSourceSelection;
|
||||
return settings.PreselectAgentOptions
|
||||
? new(settings.PreselectedAgentProvider, settings.MinimumProviderConfidence)
|
||||
: AIOperationProviderSettings.NONE;
|
||||
}
|
||||
|
||||
#region Overrides of AIOperationBase
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Data Source Selection";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Tools.Components Component => Tools.Components.AGENT_DATA_SOURCE_SELECTION;
|
||||
|
||||
/// <summary>
|
||||
/// The model reads the descriptions of the data sources, so it has to reach what they require.
|
||||
/// </summary>
|
||||
public override ConfidenceLevel GetRequiredConfidence(DataSourceChoiceRequest request) => request.DataSources.GetRequiredConfidenceLevel();
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<DataSourceChoiceResult> RunAsync(DataSourceChoiceRequest request, AIOperationContext context, CancellationToken token = default)
|
||||
{
|
||||
this.Logger.LogInformation("The AI should select the appropriate data sources.");
|
||||
|
||||
//
|
||||
// 1. Prepare the last prompt of the user as input:
|
||||
//
|
||||
var lastPromptContent = request.LastUserPrompt switch
|
||||
{
|
||||
ContentText text => text.Text,
|
||||
|
||||
// Image prompts may be empty, e.g., when the image is too large:
|
||||
ContentImage image => await image.TryAsBase64(token) is (success: true, { } base64Image)
|
||||
? base64Image
|
||||
: string.Empty,
|
||||
|
||||
// Other content types are not supported yet:
|
||||
_ => string.Empty,
|
||||
};
|
||||
|
||||
if (string.IsNullOrWhiteSpace(lastPromptContent))
|
||||
{
|
||||
this.Logger.LogWarning("The last prompt is empty. The AI cannot select data sources.");
|
||||
return DataSourceChoiceResult.NOT_ANSWERED;
|
||||
}
|
||||
|
||||
//
|
||||
// 2. Prepare the data sources to choose from:
|
||||
//
|
||||
var availableDataSources = new StringBuilder();
|
||||
availableDataSources.AppendLineLF("The following data sources are available for selection:");
|
||||
foreach (var dataSource in request.DataSources)
|
||||
{
|
||||
var description = await descriptionService.GetDescriptionAsync(dataSource, token);
|
||||
var descriptionPart = string.IsNullOrWhiteSpace(description) ? string.Empty : $", description='{description}'";
|
||||
switch (dataSource)
|
||||
{
|
||||
case DataSourceLocalDirectory localDirectory:
|
||||
availableDataSources.AppendLineLF($"- Id={dataSource.Id}, name='{localDirectory.Name}', type=local directory, path='{localDirectory.Path}'{descriptionPart}");
|
||||
break;
|
||||
|
||||
case DataSourceLocalFile localFile:
|
||||
availableDataSources.AppendLineLF($"- Id={dataSource.Id}, name='{localFile.Name}', type=local file, path='{localFile.FilePath}'{descriptionPart}");
|
||||
break;
|
||||
|
||||
case IERIDataSource eriDataSource:
|
||||
availableDataSources.AppendLineLF($"- Id={dataSource.Id}, name='{eriDataSource.Name}', type=external data source{descriptionPart}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var systemPrompt = $"""
|
||||
{JOB_DESCRIPTION}
|
||||
|
||||
{availableDataSources}
|
||||
""";
|
||||
|
||||
var userPrompt = $"""
|
||||
The system prompt is:
|
||||
|
||||
```
|
||||
{request.SystemPrompt}
|
||||
```
|
||||
|
||||
The user prompt is:
|
||||
|
||||
```
|
||||
{lastPromptContent}
|
||||
```
|
||||
""";
|
||||
|
||||
//
|
||||
// 3. Let the model choose:
|
||||
//
|
||||
var answer = await this.AskAsync(request, context, systemPrompt, userPrompt, token);
|
||||
if (answer is null)
|
||||
return DataSourceChoiceResult.NOT_ANSWERED;
|
||||
|
||||
//
|
||||
// 4. Read the answer. We know how bad models may be at writing JSON without surrounding text,
|
||||
// so we expect the worst and extract the JSON list from the text:
|
||||
//
|
||||
var json = ModelAnswerJson.ExtractObjectList(answer);
|
||||
try
|
||||
{
|
||||
var selectedDataSources = JsonSerializer.Deserialize<List<SelectedDataSource>>(json, AIOperationsJson.OPTIONS);
|
||||
return new DataSourceChoiceResult(selectedDataSources ?? [], true);
|
||||
}
|
||||
catch
|
||||
{
|
||||
this.Logger.LogWarning("The AI answered with an invalid or unexpected JSON format.");
|
||||
return DataSourceChoiceResult.NOT_ANSWERED;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Settings;
|
||||
|
||||
namespace AIStudio.AIOperations.DataSourceChoice;
|
||||
|
||||
/// <summary>
|
||||
/// A prompt for which a model chooses the data sources to search.
|
||||
/// </summary>
|
||||
/// <param name="SystemPrompt">The system prompt of the chat.</param>
|
||||
/// <param name="LastUserPrompt">The last prompt of the user.</param>
|
||||
/// <param name="DataSources">The data sources to choose from, which the chat may use.</param>
|
||||
public sealed record DataSourceChoiceRequest(string SystemPrompt, IContent LastUserPrompt, IReadOnlyList<IDataSource> DataSources);
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace AIStudio.AIOperations.DataSourceChoice;
|
||||
|
||||
/// <summary>
|
||||
/// The data sources a model chose for a prompt.
|
||||
/// </summary>
|
||||
/// <param name="SelectedDataSources">The chosen data sources, as the model named them; empty when it chose none.</param>
|
||||
/// <param name="IsAnswered">Whether the model gave a usable answer. Without one, nothing was chosen either.</param>
|
||||
public sealed record DataSourceChoiceResult(IReadOnlyList<SelectedDataSource> SelectedDataSources, bool IsAnswered)
|
||||
{
|
||||
/// <summary>
|
||||
/// No usable answer: no provider, an empty prompt, or an answer without valid JSON.
|
||||
/// </summary>
|
||||
public static readonly DataSourceChoiceResult NOT_ANSWERED = new([], false);
|
||||
}
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
namespace AIStudio.Agents;
|
||||
namespace AIStudio.AIOperations.DataSourceChoice;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a selected data source, chosen by the agent.
|
||||
/// Represents a selected data source, chosen by the model.
|
||||
/// </summary>
|
||||
/// <param name="Id">The data source ID.</param>
|
||||
/// <param name="Reason">The reason for selecting the data source.</param>
|
||||
/// <param name="Confidence">The confidence of the agent in the selection.</param>
|
||||
/// <param name="Confidence">The confidence of the model in the selection.</param>
|
||||
public readonly record struct SelectedDataSource(string Id, string Reason, float Confidence) : IConfidence;
|
||||
@@ -0,0 +1,58 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// A task which AI Studio hands to a model on its own: one request in, one result out, without a loop.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// An operation is registered as a singleton and keeps no state between calls, so several callers may run
|
||||
/// it at the same time, e.g., two chats with RAG. Everything a call needs travels with it: the request, and
|
||||
/// in the AIOperationContext the provider which the caller chose for it.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Each operation also declares a static method GetProviderSettings(SettingsManager), which reads the
|
||||
/// provider settings of the operation fresh on every call. It is static, so that a service can learn which
|
||||
/// provider would run without an instance of the operation. AIOperationProviderResolver chooses the
|
||||
/// provider from these settings; see the AGENTS.md of this folder.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <typeparam name="TRequest">What the operation works on.</typeparam>
|
||||
/// <typeparam name="TResult">What the operation returns.</typeparam>
|
||||
public interface IAIOperation<in TRequest, TResult>
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the operation in the log, in English.
|
||||
/// </summary>
|
||||
public string Id { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The component the operation runs as.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Its requests name it, e.g., in the User-Agent for self-hosted servers. Without it, an operation
|
||||
/// working for an assistant would be counted as chat.
|
||||
/// </remarks>
|
||||
public Tools.Components Component { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The confidence level which the content of the request requires of a provider.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It comes from the request alone, e.g., from the data sources it carries or from the confidence a
|
||||
/// chat requires. The minimum confidence of the operation itself is a setting and not part of it.
|
||||
/// </remarks>
|
||||
/// <param name="request">The request to run.</param>
|
||||
/// <returns>The confidence level the content requires, NONE when it requires nothing.</returns>
|
||||
public ConfidenceLevel GetRequiredConfidence(TRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Runs the operation for one request.
|
||||
/// </summary>
|
||||
/// <param name="request">The request to run.</param>
|
||||
/// <param name="context">What the call runs with, the provider above all.</param>
|
||||
/// <param name="token">The cancellation token.</param>
|
||||
/// <returns>The result of the operation.</returns>
|
||||
public Task<TResult> RunAsync(TRequest request, AIOperationContext context, CancellationToken token = default);
|
||||
}
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AIStudio.Agents.AssistantAudit;
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a single structured security finding produced by the assistant audit agent.
|
||||
/// Represents a single structured security finding produced by the security audit of a plugin.
|
||||
/// </summary>
|
||||
public sealed class AssistantAuditFinding
|
||||
public sealed class PluginAuditFinding
|
||||
{
|
||||
#pragma warning disable MWAIS0005
|
||||
/// <summary>
|
||||
@@ -13,7 +13,7 @@ public sealed class AssistantAuditFinding
|
||||
/// </summary>
|
||||
#pragma warning restore MWAIS0005
|
||||
[JsonIgnore]
|
||||
public AssistantAuditLevel Severity { get; private set; } = AssistantAuditLevel.UNKNOWN;
|
||||
public PluginAuditLevel Severity { get; private set; } = PluginAuditLevel.UNKNOWN;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -24,18 +24,18 @@ public sealed class AssistantAuditFinding
|
||||
{
|
||||
get => this.Severity switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => "critical",
|
||||
AssistantAuditLevel.CAUTION => "medium",
|
||||
AssistantAuditLevel.SAFE => "low",
|
||||
PluginAuditLevel.DANGEROUS => "critical",
|
||||
PluginAuditLevel.CAUTION => "medium",
|
||||
PluginAuditLevel.SAFE => "low",
|
||||
_ => "unknown",
|
||||
};
|
||||
|
||||
set => this.Severity = value.Trim().ToLowerInvariant() switch
|
||||
{
|
||||
"critical" => AssistantAuditLevel.DANGEROUS,
|
||||
"medium" => AssistantAuditLevel.CAUTION,
|
||||
"low" => AssistantAuditLevel.SAFE,
|
||||
_ => AssistantAuditLevel.UNKNOWN,
|
||||
"critical" => PluginAuditLevel.DANGEROUS,
|
||||
"medium" => PluginAuditLevel.CAUTION,
|
||||
"low" => PluginAuditLevel.SAFE,
|
||||
_ => PluginAuditLevel.UNKNOWN,
|
||||
};
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
namespace AIStudio.Agents.AssistantAudit;
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the normalized outcome levels used for assistant plugin security audits.
|
||||
/// </summary>
|
||||
public enum AssistantAuditLevel
|
||||
public enum PluginAuditLevel
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
DANGEROUS = 100,
|
||||
@@ -0,0 +1,50 @@
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
public static class PluginAuditLevelExtensions
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(PluginAuditLevelExtensions).Namespace, nameof(PluginAuditLevelExtensions));
|
||||
|
||||
extension(PluginAuditLevel level)
|
||||
{
|
||||
public string Name => level switch
|
||||
{
|
||||
PluginAuditLevel.DANGEROUS => TB("Dangerous"),
|
||||
PluginAuditLevel.CAUTION => TB("Concerning"),
|
||||
PluginAuditLevel.SAFE => TB("Safe"),
|
||||
_ => TB("Unknown"),
|
||||
};
|
||||
|
||||
public Severity Severity => level switch
|
||||
{
|
||||
PluginAuditLevel.DANGEROUS => Severity.Error,
|
||||
PluginAuditLevel.CAUTION => Severity.Warning,
|
||||
PluginAuditLevel.SAFE => Severity.Success,
|
||||
_ => Severity.Info,
|
||||
};
|
||||
|
||||
public Color Color => level switch
|
||||
{
|
||||
PluginAuditLevel.DANGEROUS => Color.Error,
|
||||
PluginAuditLevel.CAUTION => Color.Warning,
|
||||
PluginAuditLevel.SAFE => Color.Success,
|
||||
_ => Color.Default,
|
||||
};
|
||||
|
||||
public string Icon => level switch
|
||||
{
|
||||
PluginAuditLevel.DANGEROUS => AppIcons.SECURITY_DANGEROUS,
|
||||
PluginAuditLevel.CAUTION => AppIcons.WARNING,
|
||||
PluginAuditLevel.SAFE => AppIcons.AUDIT_SAFE,
|
||||
_ => AppIcons.UNKNOWN,
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Parses an audit level string and falls back to <see cref="PluginAuditLevel.UNKNOWN"/> when parsing fails.
|
||||
/// </summary>
|
||||
/// <param name="value">The audit level text to parse.</param>
|
||||
/// <returns>The parsed audit level, or <see cref="PluginAuditLevel.UNKNOWN"/> for null, empty, or invalid values.</returns>
|
||||
public static PluginAuditLevel ParseOrUnknown(string? value) => Enum.TryParse<PluginAuditLevel>(value, true, out var parsedLevel) ? parsedLevel : PluginAuditLevel.UNKNOWN;
|
||||
}
|
||||
}
|
||||
+55
-122
@@ -1,33 +1,26 @@
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Assistants;
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
using AIStudio.Tools.Services;
|
||||
using AIStudio.Tools.ToolCallingSystem;
|
||||
|
||||
namespace AIStudio.Agents.AssistantAudit;
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
/// <summary>
|
||||
/// Audits dynamic assistant plugins by sending their prompts, component structure, and Lua manifest
|
||||
/// to a configured LLM and normalizing the response into a structured audit result.
|
||||
/// Audits an assistant plugin by sending its prompts, component structure, and Lua manifest to a model and
|
||||
/// normalizing the answer into a structured audit result.
|
||||
/// </summary>
|
||||
public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILogger<AgentBase> baseLogger, SettingsManager settingsManager, DataSourceService dataSourceService, ToolRegistry toolRegistry, ThreadSafeRandom rng) : AgentBase(baseLogger, settingsManager, dataSourceService, rng)
|
||||
public sealed class PluginAuditOperation(ILogger<PluginAuditOperation> logger, SettingsManager settingsManager, ToolRegistry toolRegistry) : AIOperationBase<PluginAuditRequest, PluginAuditResult>(logger, settingsManager)
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(AssistantAuditAgent).Namespace, nameof(AssistantAuditAgent));
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(PluginAuditOperation).Namespace, nameof(PluginAuditOperation));
|
||||
|
||||
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(AssistantAuditAgent).Namespace, nameof(AssistantAuditAgent));
|
||||
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(PluginAuditOperation).Namespace, nameof(PluginAuditOperation));
|
||||
|
||||
protected override Type Type => Type.SYSTEM;
|
||||
|
||||
protected override Tools.Components Component => Tools.Components.AGENT_ASSISTANT_PLUGIN_AUDIT;
|
||||
|
||||
public override string Id => "Assistant Plugin Security Audit";
|
||||
|
||||
protected override string JobDescription =>
|
||||
private const string JOB_DESCRIPTION =
|
||||
"""
|
||||
You are a conservative security auditor for Lua-based assistant plugins in private and enterprise environments.
|
||||
The Lua code is parsed into functional assistants that help users with tasks like coding, emails, translations, and other workflows defined by plugin developers.
|
||||
@@ -101,90 +94,38 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
and do not limit yourself to literal phrase matching.
|
||||
""";
|
||||
|
||||
protected override string SystemPrompt(string additionalData) => string.IsNullOrWhiteSpace(additionalData)
|
||||
? this.JobDescription
|
||||
: $"{this.JobDescription}\n\n{additionalData}";
|
||||
|
||||
public override AIStudio.Settings.Provider ProviderSettings { get; set; } = AIStudio.Settings.Provider.NONE;
|
||||
|
||||
public override Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData) => Task.FromResult(chatThread);
|
||||
|
||||
public override async Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData)
|
||||
{
|
||||
if (input.Content is not ContentText text || string.IsNullOrWhiteSpace(text.Text) || text.InitialRemoteWait || text.IsStreaming)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
var thread = this.CreateChatThread(this.SystemPrompt(string.Empty));
|
||||
var userRequest = AddUserRequest(thread, text.Text);
|
||||
await this.AddAIResponseAsync(thread, userRequest.UserPrompt, userRequest.Time);
|
||||
return thread.Blocks[^1];
|
||||
}
|
||||
|
||||
public override Task<bool> MadeDecision(ContentBlock input) => Task.FromResult(true);
|
||||
|
||||
public override IReadOnlyCollection<ContentBlock> GetContext() => [];
|
||||
|
||||
public override IReadOnlyCollection<ContentBlock> GetAnswers() => [];
|
||||
|
||||
/// <summary>
|
||||
/// Resolves and stores the provider configuration used for assistant plugin audits.
|
||||
/// Reads the provider settings of the operation.
|
||||
/// </summary>
|
||||
/// <param name="fallbackProvider">The provider to use when no provider is configured for the audit agent.</param>
|
||||
/// <returns>The configured provider, or Provider.NONE when no audit provider is configured.</returns>
|
||||
/// <remarks>
|
||||
/// A fallback is a provider somebody picked for something else: the assistant they were building,
|
||||
/// the revision they asked for, the check they are standing in front of. Whether it may read a
|
||||
/// plugin's source and its Lua files is decided by what this agent requires, not by what it was
|
||||
/// picked under, so it has to clear this agent's confidence bar before it is used. Otherwise a
|
||||
/// provider an organization ruled out for audits would see the very thing it was ruled out for.
|
||||
/// Unlike the other operations, the audit has no switch for its preselection: an organization rolls its
|
||||
/// provider out, and that is what audits run with.
|
||||
/// </remarks>
|
||||
public AIStudio.Settings.Provider ResolveProvider(AIStudio.Settings.Provider? fallbackProvider = null)
|
||||
/// <param name="settingsManager">The settings to read.</param>
|
||||
/// <returns>The preferred provider and the minimum confidence.</returns>
|
||||
public static AIOperationProviderSettings GetProviderSettings(SettingsManager settingsManager)
|
||||
{
|
||||
var provider = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_ASSISTANT_PLUGIN_AUDIT, null, true);
|
||||
if (provider == AIStudio.Settings.Provider.NONE && fallbackProvider is { } candidate && this.SettingsManager.IsProviderConfident(candidate, Tools.Components.AGENT_ASSISTANT_PLUGIN_AUDIT))
|
||||
provider = candidate;
|
||||
|
||||
this.ProviderSettings = provider;
|
||||
return provider;
|
||||
var settings = settingsManager.ConfigurationData.AssistantPluginAudit;
|
||||
return new(settings.PreselectedAgentProvider, settings.MinimumProviderConfidence);
|
||||
}
|
||||
|
||||
#region Overrides of AIOperationBase
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Assistant Plugin Security Audit";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Tools.Components Component => Tools.Components.AGENT_ASSISTANT_PLUGIN_AUDIT;
|
||||
|
||||
/// <summary>
|
||||
/// Runs a security audit for the specified assistant plugin and parses the LLM response into a structured result.
|
||||
/// A plugin requires nothing of its own: whoever may audit it is decided by the minimum of the audit.
|
||||
/// </summary>
|
||||
/// <param name="plugin">The assistant plugin to audit.</param>
|
||||
/// <param name="fallbackProvider">The provider to use when no provider is configured for the audit agent.</param>
|
||||
/// <param name="token">A cancellation token for prompt generation and the audit request.</param>
|
||||
/// <returns>
|
||||
/// The parsed audit result, or an <c>UNKNOWN</c> result when no provider is configured or the model response cannot be used.
|
||||
/// </returns>
|
||||
public async Task<AssistantAuditResult> AuditAsync(PluginAssistants plugin, Settings.Provider? fallbackProvider = null, CancellationToken token = default)
|
||||
public override ConfidenceLevel GetRequiredConfidence(PluginAuditRequest request) => ConfidenceLevel.NONE;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<PluginAuditResult> RunAsync(PluginAuditRequest request, AIOperationContext context, CancellationToken token = default)
|
||||
{
|
||||
var provider = this.ResolveProvider(fallbackProvider);
|
||||
if (provider == AIStudio.Settings.Provider.NONE)
|
||||
{
|
||||
//
|
||||
// There are two ways to end up here, and they send the user to different places: nobody
|
||||
// named a provider, or the one at hand is not trusted enough for an audit. Saying that
|
||||
// none is configured while one sits right there would send them looking in vain.
|
||||
//
|
||||
var wasFallbackRejected = fallbackProvider is { UsedLLMProvider: not LLMProviders.NONE };
|
||||
var message = wasFallbackRejected
|
||||
? TA("The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.")
|
||||
: TB("No provider is configured for the Security Audit Agent.");
|
||||
|
||||
await MessageBus.INSTANCE.SendError(new (AppIcons.AGENT, message));
|
||||
|
||||
return new AssistantAuditResult
|
||||
{
|
||||
Level = nameof(AssistantAuditLevel.UNKNOWN),
|
||||
Summary = wasFallbackRejected
|
||||
? TB("The provider is not trusted enough for security checks.")
|
||||
: TB("No audit provider is configured."),
|
||||
};
|
||||
}
|
||||
|
||||
logger.LogInformation($"The assistant plugin audit agent uses the provider '{provider.InstanceName}' ({provider.UsedLLMProvider.Name}, confidence={provider.UsedLLMProvider.GetConfidence(this.SettingsManager).Level.Name}).");
|
||||
|
||||
var plugin = request.Plugin;
|
||||
var promptPreview = await plugin.BuildAuditPromptPreviewAsync(token);
|
||||
var promptFallbackPreview = plugin.BuildAuditPromptFallbackPreview();
|
||||
var luaManifest = FormatLuaManifest(plugin.ReadAllLuaFiles());
|
||||
@@ -258,64 +199,56 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
```
|
||||
""";
|
||||
|
||||
var response = await this.ProcessInput(new ContentBlock
|
||||
var answer = await this.AskAsync(request, context, JOB_DESCRIPTION, userPrompt, token);
|
||||
if (answer is null)
|
||||
{
|
||||
Time = DateTimeOffset.UtcNow,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = new ContentText
|
||||
{
|
||||
Text = userPrompt,
|
||||
},
|
||||
}, new Dictionary<string, string>());
|
||||
this.Logger.LogWarning("The AI operation for the plugin audit got no usable answer.");
|
||||
await MessageBus.INSTANCE.SendWarning(new (AppIcons.AUDIT_INCOMPLETE, TA("The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.")));
|
||||
|
||||
if (response.Content is not ContentText content || string.IsNullOrWhiteSpace(content.Text))
|
||||
return new PluginAuditResult
|
||||
{
|
||||
logger.LogWarning($"The assistant plugin audit agent did not return text: {response}");
|
||||
await MessageBus.INSTANCE.SendWarning(new (AppIcons.AUDIT_INCOMPLETE, string.Format(TA("The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."))));
|
||||
|
||||
return new AssistantAuditResult
|
||||
{
|
||||
Level = nameof(AssistantAuditLevel.UNKNOWN),
|
||||
Summary = TB("The audit agent did not return a usable response."),
|
||||
Level = nameof(PluginAuditLevel.UNKNOWN),
|
||||
Summary = TB("The audit did not return a usable response."),
|
||||
};
|
||||
}
|
||||
|
||||
var json = ModelAnswerJson.ExtractObject(content.Text);
|
||||
var json = ModelAnswerJson.ExtractObject(answer);
|
||||
try
|
||||
{
|
||||
var result = JsonSerializer.Deserialize<AssistantAuditResult>(json, JSON_SERIALIZER_OPTIONS);
|
||||
var result = JsonSerializer.Deserialize<PluginAuditResult>(json, AIOperationsJson.OPTIONS);
|
||||
return result is null
|
||||
? new AssistantAuditResult
|
||||
? new PluginAuditResult
|
||||
{
|
||||
Level = nameof(AssistantAuditLevel.UNKNOWN),
|
||||
Level = nameof(PluginAuditLevel.UNKNOWN),
|
||||
Summary = TB("The audit result was empty."),
|
||||
}
|
||||
: NormalizeResult(result);
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.LogWarning($"The assistant plugin audit agent returned invalid JSON: {json}");
|
||||
return new AssistantAuditResult
|
||||
this.Logger.LogWarning($"The AI operation for the plugin audit got invalid JSON: {json}");
|
||||
return new PluginAuditResult
|
||||
{
|
||||
Level = nameof(AssistantAuditLevel.UNKNOWN),
|
||||
Summary = TB("The audit agent returned invalid JSON."),
|
||||
Level = nameof(PluginAuditLevel.UNKNOWN),
|
||||
Summary = TB("The audit returned invalid JSON."),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Normalizes the model output so deterministic policy rules can correct inconsistent level assignments.
|
||||
/// </summary>
|
||||
private static AssistantAuditResult NormalizeResult(AssistantAuditResult result)
|
||||
private static PluginAuditResult NormalizeResult(PluginAuditResult result)
|
||||
{
|
||||
var normalizedFindings = result.Findings;
|
||||
var parsedLevel = AssistantAuditLevel.ParseOrUnknown(result.Level);
|
||||
var parsedLevel = PluginAuditLevel.ParseOrUnknown(result.Level);
|
||||
var lowestFindingLevel = GetMostSevereFindingLevel(normalizedFindings);
|
||||
if (lowestFindingLevel != AssistantAuditLevel.UNKNOWN && (parsedLevel == AssistantAuditLevel.UNKNOWN || lowestFindingLevel < parsedLevel))
|
||||
if (lowestFindingLevel != PluginAuditLevel.UNKNOWN && (parsedLevel == PluginAuditLevel.UNKNOWN || lowestFindingLevel < parsedLevel))
|
||||
parsedLevel = lowestFindingLevel;
|
||||
|
||||
return new AssistantAuditResult
|
||||
return new PluginAuditResult
|
||||
{
|
||||
Level = parsedLevel.ToString(),
|
||||
Summary = result.Summary,
|
||||
@@ -383,16 +316,16 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
/// <summary>
|
||||
/// Returns the most severe finding level contained in the result, where DANGEROUS is more severe than CAUTION and SAFE.
|
||||
/// </summary>
|
||||
private static AssistantAuditLevel GetMostSevereFindingLevel(IEnumerable<AssistantAuditFinding> findings)
|
||||
private static PluginAuditLevel GetMostSevereFindingLevel(IEnumerable<PluginAuditFinding> findings)
|
||||
{
|
||||
var mostSevere = AssistantAuditLevel.UNKNOWN;
|
||||
var mostSevere = PluginAuditLevel.UNKNOWN;
|
||||
|
||||
foreach (var finding in findings)
|
||||
{
|
||||
if (finding.Severity == AssistantAuditLevel.UNKNOWN)
|
||||
if (finding.Severity == PluginAuditLevel.UNKNOWN)
|
||||
continue;
|
||||
|
||||
if (mostSevere == AssistantAuditLevel.UNKNOWN || finding.Severity < mostSevere)
|
||||
if (mostSevere == PluginAuditLevel.UNKNOWN || finding.Severity < mostSevere)
|
||||
mostSevere = finding.Severity;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
/// <summary>
|
||||
/// A plugin to audit for security risks.
|
||||
/// </summary>
|
||||
/// <param name="Plugin">The assistant plugin to audit.</param>
|
||||
public sealed record PluginAuditRequest(PluginAssistants Plugin);
|
||||
+4
-4
@@ -1,15 +1,15 @@
|
||||
namespace AIStudio.Agents.AssistantAudit;
|
||||
namespace AIStudio.AIOperations.PluginAudit;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the normalized result returned by the assistant plugin security audit flow.
|
||||
/// </summary>
|
||||
public sealed record AssistantAuditResult
|
||||
public sealed record PluginAuditResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the serialized audit level returned by the model before callers normalize it to <see cref="AssistantAuditLevel"/>.
|
||||
/// Gets the serialized audit level returned by the model before callers normalize it to <see cref="PluginAuditLevel"/>.
|
||||
/// </summary>
|
||||
public string Level { get; set; } = string.Empty;
|
||||
public string Summary { get; set; } = string.Empty;
|
||||
public float Confidence { get; set; }
|
||||
public List<AssistantAuditFinding> Findings { get; set; } = [];
|
||||
public List<PluginAuditFinding> Findings { get; set; } = [];
|
||||
}
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.RAG;
|
||||
|
||||
namespace AIStudio.AIOperations.RetrievalContextValidation;
|
||||
|
||||
/// <summary>
|
||||
/// Judges for each passage found by the classic RAG process whether it helps with the prompt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It asks one request per passage, several at once, as many as NumParallelValidations allows. The limit
|
||||
/// holds per call: two chats validating at the same time each get their own.
|
||||
/// </remarks>
|
||||
public sealed class RetrievalContextValidationOperation(ILogger<RetrievalContextValidationOperation> logger, SettingsManager settingsManager) : AIOperationBase<RetrievalContextValidationRequest, IReadOnlyList<RetrievalContextValidationResult>>(logger, settingsManager)
|
||||
{
|
||||
private const int DEFAULT_PARALLEL_VALIDATIONS = 3;
|
||||
|
||||
private const string JOB_DESCRIPTION =
|
||||
"""
|
||||
You receive a system and user prompt as well as a retrieval context as input. Your task is to decide whether this
|
||||
retrieval context is helpful in processing the prompts or not. You respond with the decision (true or false),
|
||||
your reasoning, and your confidence in this decision.
|
||||
|
||||
Your response is only one JSON object in the following format:
|
||||
|
||||
```
|
||||
{"decision": true, "reason": "Why did you choose this source?", "confidence": 0.87}
|
||||
```
|
||||
|
||||
You express your confidence as a floating-point number between 0.0 (maximum uncertainty) and
|
||||
1.0 (you are absolutely certain that this retrieval context is needed).
|
||||
|
||||
The JSON schema is:
|
||||
|
||||
```
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"decision": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"decision",
|
||||
"reason",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
You do not ask any follow-up questions. You do not address the user. Your response consists solely of
|
||||
that one JSON object.
|
||||
""";
|
||||
|
||||
/// <summary>
|
||||
/// Reads the provider settings of the operation.
|
||||
/// </summary>
|
||||
/// <param name="settingsManager">The settings to read.</param>
|
||||
/// <returns>The preferred provider and the minimum confidence, or none of them while the preselection is switched off.</returns>
|
||||
public static AIOperationProviderSettings GetProviderSettings(SettingsManager settingsManager)
|
||||
{
|
||||
var settings = settingsManager.ConfigurationData.AgentRetrievalContextValidation;
|
||||
return settings.PreselectAgentOptions
|
||||
? new(settings.PreselectedAgentProvider, settings.MinimumProviderConfidence)
|
||||
: AIOperationProviderSettings.NONE;
|
||||
}
|
||||
|
||||
#region Overrides of AIOperationBase
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Retrieval Context Validation";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Tools.Components Component => Tools.Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION;
|
||||
|
||||
/// <summary>
|
||||
/// The model reads the passages, so it has to reach what the chat requires of every provider which reads its data.
|
||||
/// </summary>
|
||||
public override ConfidenceLevel GetRequiredConfidence(RetrievalContextValidationRequest request) => request.RequiredConfidence;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<IReadOnlyList<RetrievalContextValidationResult>> RunAsync(RetrievalContextValidationRequest request, AIOperationContext context, CancellationToken token = default)
|
||||
{
|
||||
this.Logger.LogInformation($"Validating {request.RetrievalContexts.Count:###,###,###,###} retrieval contexts.");
|
||||
|
||||
//
|
||||
// The last prompt of the user is the same for every passage, so it is prepared once:
|
||||
//
|
||||
var lastPromptContent = request.LastUserPrompt switch
|
||||
{
|
||||
ContentText text => text.Text,
|
||||
|
||||
// Image prompts may be empty, e.g., when the image is too large:
|
||||
ContentImage image => await image.TryAsBase64(token) is (success: true, { } base64Image)
|
||||
? base64Image
|
||||
: string.Empty,
|
||||
|
||||
// Other content types are not supported yet:
|
||||
_ => string.Empty,
|
||||
};
|
||||
|
||||
if (string.IsNullOrWhiteSpace(lastPromptContent))
|
||||
{
|
||||
this.Logger.LogWarning("The last prompt is empty. The AI cannot validate the retrieval contexts.");
|
||||
return request.RetrievalContexts.Select(retrievalContext => new RetrievalContextValidationResult(false, "The last prompt was empty.", 1.0f, retrievalContext)).ToList();
|
||||
}
|
||||
|
||||
var settings = this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation;
|
||||
var numParallelValidations = settings.PreselectAgentOptions ? settings.NumParallelValidations : DEFAULT_PARALLEL_VALIDATIONS;
|
||||
|
||||
//
|
||||
// A semaphore of this call limits the validations running at once. It is local, so that
|
||||
// another chat validating at the same time does not share the limit of this one:
|
||||
//
|
||||
using var semaphore = new SemaphoreSlim(Math.Max(1, numParallelValidations));
|
||||
var validationTasks = new List<Task<RetrievalContextValidationResult>>(request.RetrievalContexts.Count);
|
||||
try
|
||||
{
|
||||
foreach (var retrievalContext in request.RetrievalContexts)
|
||||
{
|
||||
await semaphore.WaitAsync(token);
|
||||
validationTasks.Add(this.ValidateAsync(request, context, lastPromptContent, retrievalContext, semaphore, token));
|
||||
}
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
//
|
||||
// Each validation releases its slot when it ends, and the semaphore is disposed as soon
|
||||
// as this method returns. The validations already running got the same token and stop
|
||||
// soon; this call waits for them, so that none of them releases a disposed semaphore:
|
||||
//
|
||||
try
|
||||
{
|
||||
await Task.WhenAll(validationTasks);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
// Expected: they stop because of the same token.
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
this.Logger.LogWarning(exception, "A retrieval context validation failed while the validations were being canceled.");
|
||||
}
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
return await Task.WhenAll(validationTasks);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Validates one passage and releases its slot of the semaphore afterward.
|
||||
/// </summary>
|
||||
private async Task<RetrievalContextValidationResult> ValidateAsync(RetrievalContextValidationRequest request, AIOperationContext context, string lastPromptContent, PreparedRetrievalContext retrievalContext, SemaphoreSlim semaphore, CancellationToken token)
|
||||
{
|
||||
try
|
||||
{
|
||||
//
|
||||
// The validation may be canceled while it waits, e.g., by the user or because it took
|
||||
// too long:
|
||||
//
|
||||
if (token.IsCancellationRequested)
|
||||
return new(false, "The validation was canceled.", 1.0f, retrievalContext);
|
||||
|
||||
//
|
||||
// The model reads the passage exactly as the chat model would, filtered once for both,
|
||||
// so the check judges what is actually sent:
|
||||
//
|
||||
var systemPrompt = $"""
|
||||
{JOB_DESCRIPTION}
|
||||
|
||||
{retrievalContext.ToMarkdown()}
|
||||
""";
|
||||
|
||||
var userPrompt = $"""
|
||||
The system prompt is:
|
||||
|
||||
```
|
||||
{request.SystemPrompt}
|
||||
```
|
||||
|
||||
The user prompt is:
|
||||
|
||||
```
|
||||
{lastPromptContent}
|
||||
```
|
||||
""";
|
||||
|
||||
var answer = await this.AskAsync(request, context, systemPrompt, userPrompt, token);
|
||||
if (answer is null)
|
||||
return new(false, "The AI did not return a response.", 1.0f, retrievalContext);
|
||||
|
||||
//
|
||||
// We know how bad models may be at writing JSON without surrounding text, so we expect
|
||||
// the worst and extract the JSON object from the text:
|
||||
//
|
||||
var json = ModelAnswerJson.ExtractObject(answer);
|
||||
try
|
||||
{
|
||||
var result = JsonSerializer.Deserialize<RetrievalContextValidationResult>(json, AIOperationsJson.OPTIONS);
|
||||
return result with { RetrievalContext = retrievalContext };
|
||||
}
|
||||
catch
|
||||
{
|
||||
this.Logger.LogWarning("The AI answered with an invalid or unexpected JSON format.");
|
||||
return new(false, "The AI answered with an invalid or unexpected JSON format.", 1.0f, retrievalContext);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
semaphore.Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Tools.RAG;
|
||||
|
||||
namespace AIStudio.AIOperations.RetrievalContextValidation;
|
||||
|
||||
/// <summary>
|
||||
/// The passages found for a prompt, for a model to judge whether they help with it.
|
||||
/// </summary>
|
||||
/// <param name="SystemPrompt">The system prompt of the chat.</param>
|
||||
/// <param name="LastUserPrompt">The last prompt of the user.</param>
|
||||
/// <param name="RetrievalContexts">The passages to judge, prepared for the AI and thus already filtered for prompt injections.</param>
|
||||
/// <param name="RequiredConfidence">The confidence level the chat requires of every provider which reads its data.</param>
|
||||
public sealed record RetrievalContextValidationRequest(string SystemPrompt, IContent LastUserPrompt, IReadOnlyList<PreparedRetrievalContext> RetrievalContexts, ConfidenceLevel RequiredConfidence);
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using AIStudio.Tools.RAG;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
namespace AIStudio.AIOperations.RetrievalContextValidation;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the result of a retrieval context validation.
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
|
||||
namespace AIStudio.AIOperations.TextContentCleaning;
|
||||
|
||||
/// <summary>
|
||||
/// Keeps the main content of a web page and removes the rest, such as navigation, advertisements, and cookie banners.
|
||||
/// </summary>
|
||||
public sealed class TextContentCleaningOperation(ILogger<TextContentCleaningOperation> logger, SettingsManager settingsManager) : AIOperationBase<TextContentCleaningRequest, TextContentCleaningResult>(logger, settingsManager)
|
||||
{
|
||||
private const string JOB_DESCRIPTION =
|
||||
"""
|
||||
You receive a Markdown document as input. Your goal is to identify the main content of the document
|
||||
and return it including Markdown formatting. Remove areas that do not belong to the main part of the
|
||||
document. For a blog article, return only the text of the article with its formatting. For a scientific
|
||||
paper, only the contents of the paper. Delete elements of navigation, advertisements, HTML artifacts,
|
||||
cookie banners, etc. If the content contains images, these images remain. The same applies to links.
|
||||
Ensure that links and images are present as valid Markdown:
|
||||
|
||||
- Syntax of links: [link text](URL)
|
||||
- Syntax of images: 
|
||||
|
||||
If you find relative links or images with relative paths, correct them to absolute paths. For this
|
||||
purpose, here is the source URL:
|
||||
""";
|
||||
|
||||
/// <summary>
|
||||
/// Reads the provider settings of the operation.
|
||||
/// </summary>
|
||||
/// <param name="settingsManager">The settings to read.</param>
|
||||
/// <returns>The preferred provider and the minimum confidence, or none of them while the preselection is switched off.</returns>
|
||||
public static AIOperationProviderSettings GetProviderSettings(SettingsManager settingsManager)
|
||||
{
|
||||
var settings = settingsManager.ConfigurationData.TextContentCleaner;
|
||||
return settings.PreselectAgentOptions
|
||||
? new(settings.PreselectedAgentProvider, settings.MinimumProviderConfidence)
|
||||
: AIOperationProviderSettings.NONE;
|
||||
}
|
||||
|
||||
#region Overrides of AIOperationBase
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Text Content Cleaning";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Tools.Components Component => Tools.Components.AGENT_TEXT_CONTENT_CLEANER;
|
||||
|
||||
/// <summary>
|
||||
/// A web page requires nothing of its own: the user chose to read it with the assistant.
|
||||
/// </summary>
|
||||
public override ConfidenceLevel GetRequiredConfidence(TextContentCleaningRequest request) => ConfidenceLevel.NONE;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<TextContentCleaningResult> RunAsync(TextContentCleaningRequest request, AIOperationContext context, CancellationToken token = default)
|
||||
{
|
||||
var uncleaned = new TextContentCleaningResult(request.Markdown, false);
|
||||
if (string.IsNullOrWhiteSpace(request.Markdown) || string.IsNullOrWhiteSpace(request.SourceUrl))
|
||||
return uncleaned;
|
||||
|
||||
var answer = await this.AskAsync(request, context, $"{JOB_DESCRIPTION} `{request.SourceUrl}`.", request.Markdown, token);
|
||||
return answer is null ? uncleaned : new TextContentCleaningResult(answer, true);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace AIStudio.AIOperations.TextContentCleaning;
|
||||
|
||||
/// <summary>
|
||||
/// A web page to clean.
|
||||
/// </summary>
|
||||
/// <param name="Markdown">The page as Markdown, already filtered for prompt injections.</param>
|
||||
/// <param name="SourceUrl">The address of the page, for turning relative links into absolute ones.</param>
|
||||
public sealed record TextContentCleaningRequest(string Markdown, string SourceUrl);
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace AIStudio.AIOperations.TextContentCleaning;
|
||||
|
||||
/// <summary>
|
||||
/// The text of a web page after the cleaning.
|
||||
/// </summary>
|
||||
/// <param name="Markdown">The cleaned page, or the page as it came when it could not be cleaned.</param>
|
||||
/// <param name="IsCleaned">Whether a model cleaned the page.</param>
|
||||
public sealed record TextContentCleaningResult(string Markdown, bool IsCleaned);
|
||||
@@ -1,141 +0,0 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public abstract class AgentBase(ILogger<AgentBase> logger, SettingsManager settingsManager, DataSourceService dataSourceService, ThreadSafeRandom rng) : IAgent
|
||||
{
|
||||
protected static readonly ContentBlock EMPTY_BLOCK = new()
|
||||
{
|
||||
Content = null,
|
||||
ContentType = ContentType.NONE,
|
||||
Role = ChatRole.AGENT,
|
||||
Time = DateTimeOffset.UtcNow,
|
||||
};
|
||||
|
||||
internal static readonly JsonSerializerOptions JSON_SERIALIZER_OPTIONS = new JsonSerializerOptions
|
||||
{
|
||||
PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower,
|
||||
TypeInfoResolver = AgentJsonContext.Default,
|
||||
}.AsReadOnly();
|
||||
|
||||
protected DataSourceService DataSourceService { get; init; } = dataSourceService;
|
||||
|
||||
protected SettingsManager SettingsManager { get; init; } = settingsManager;
|
||||
|
||||
protected ThreadSafeRandom RNG { get; init; } = rng;
|
||||
|
||||
protected ILogger<AgentBase> Logger { get; init; } = logger;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the type or category of this agent.
|
||||
/// </summary>
|
||||
protected abstract Type Type { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The component this agent runs as.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Its requests name it, e.g., in the User-Agent for self-hosted servers. Without it, an agent
|
||||
/// working for an assistant would be counted as chat.
|
||||
/// </remarks>
|
||||
protected abstract Tools.Components Component { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the agent.
|
||||
/// </summary>
|
||||
public abstract string Id { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The agent's job description. Will be used for the system prompt.
|
||||
/// </summary>
|
||||
protected abstract string JobDescription { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Represents the system prompt provided for the agent.
|
||||
/// </summary>
|
||||
protected abstract string SystemPrompt(string additionalData);
|
||||
|
||||
#region Implementation of IAgent
|
||||
|
||||
public abstract AIStudio.Settings.Provider ProviderSettings { get; set; }
|
||||
|
||||
public abstract Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData);
|
||||
|
||||
public abstract Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData);
|
||||
|
||||
public abstract Task<bool> MadeDecision(ContentBlock input);
|
||||
|
||||
public abstract IReadOnlyCollection<ContentBlock> GetContext();
|
||||
|
||||
public abstract IReadOnlyCollection<ContentBlock> GetAnswers();
|
||||
|
||||
#endregion
|
||||
|
||||
protected ChatThread CreateChatThread(string systemPrompt) => new()
|
||||
{
|
||||
WorkspaceId = Guid.Empty,
|
||||
ChatId = Guid.NewGuid(),
|
||||
Name = string.Empty,
|
||||
SystemPrompt = systemPrompt,
|
||||
Blocks = [],
|
||||
RuntimeComponent = this.Component,
|
||||
};
|
||||
|
||||
protected static UserRequest AddUserRequest(ChatThread thread, string request)
|
||||
{
|
||||
var time = DateTimeOffset.Now;
|
||||
var lastUserPrompt = new ContentText
|
||||
{
|
||||
Text = request,
|
||||
};
|
||||
|
||||
thread.Blocks.Add(new ContentBlock
|
||||
{
|
||||
Time = time,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = lastUserPrompt,
|
||||
});
|
||||
|
||||
return new()
|
||||
{
|
||||
Time = time,
|
||||
UserPrompt = lastUserPrompt,
|
||||
};
|
||||
}
|
||||
|
||||
protected async Task AddAIResponseAsync(ChatThread thread, IContent lastUserPrompt, DateTimeOffset time)
|
||||
{
|
||||
if(this.ProviderSettings == Settings.Provider.NONE)
|
||||
return;
|
||||
|
||||
var aiText = new ContentText
|
||||
{
|
||||
// We have to wait for the remote
|
||||
// for the content stream:
|
||||
InitialRemoteWait = true,
|
||||
};
|
||||
|
||||
var resultingContentBlock = new ContentBlock
|
||||
{
|
||||
Time = time,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.AI,
|
||||
Content = aiText,
|
||||
};
|
||||
|
||||
thread.Blocks.Add(resultingContentBlock);
|
||||
|
||||
// Use the selected provider to get the AI response.
|
||||
// By awaiting this line, we wait for the entire
|
||||
// content to be streamed.
|
||||
await aiText.CreateFromProviderAsync(this.ProviderSettings.CreateProvider(), this.ProviderSettings.Model, lastUserPrompt, thread);
|
||||
}
|
||||
}
|
||||
@@ -1,296 +0,0 @@
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Settings.DataModel;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public sealed class AgentDataSourceSelection (ILogger<AgentDataSourceSelection> logger, ILogger<AgentBase> baseLogger, SettingsManager settingsManager, DataSourceService dataSourceService, DataSourceDescriptionService descriptionService, ThreadSafeRandom rng) : AgentBase(baseLogger, settingsManager, dataSourceService, rng)
|
||||
{
|
||||
private readonly List<ContentBlock> answers = new();
|
||||
|
||||
#region Overrides of AgentBase
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override Type Type => Type.SYSTEM;
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override Tools.Components Component => Tools.Components.AGENT_DATA_SOURCE_SELECTION;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Data Source Selection";
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override string JobDescription =>
|
||||
"""
|
||||
You receive a system and a user prompt, as well as a list of possible data sources as input.
|
||||
Your task is to select the appropriate data sources for the given task. You may choose none,
|
||||
one, or multiple sources, depending on what best fits the system and user prompt. You need
|
||||
to estimate and assess which source, based on its description, might be helpful in
|
||||
processing the prompts.
|
||||
|
||||
Your response is a JSON list in the following format:
|
||||
|
||||
```
|
||||
[
|
||||
{"id": "The data source ID", "reason": "Why did you choose this source?", "confidence": 0.87},
|
||||
{"id": "The data source ID", "reason": "Why did you choose this source?", "confidence": 0.54}
|
||||
]
|
||||
```
|
||||
|
||||
You express your confidence as a floating-point number between 0.0 (maximum uncertainty) and
|
||||
1.0 (you are absolutely certain that this source is needed).
|
||||
|
||||
The JSON schema is:
|
||||
|
||||
```
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"reason",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
When no data source is needed, you return an empty JSON list `[]`. You do not ask any
|
||||
follow-up questions. You do not address the user. Your response consists solely of
|
||||
the JSON list.
|
||||
""";
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override string SystemPrompt(string availableDataSources) => $"""
|
||||
{this.JobDescription}
|
||||
|
||||
{availableDataSources}
|
||||
""";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Settings.Provider ProviderSettings { get; set; } = Settings.Provider.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The data source selection agent does not work with context. Use
|
||||
/// the process input method instead.
|
||||
/// </summary>
|
||||
/// <returns>The chat thread without any changes.</returns>
|
||||
public override Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData) => Task.FromResult(chatThread);
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData)
|
||||
{
|
||||
if (input.Content is not ContentText text)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(text.InitialRemoteWait || text.IsStreaming)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(string.IsNullOrWhiteSpace(text.Text))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(!additionalData.TryGetValue("availableDataSources", out var availableDataSources) || string.IsNullOrWhiteSpace(availableDataSources))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
var thread = this.CreateChatThread(this.SystemPrompt(availableDataSources));
|
||||
var userRequest = AddUserRequest(thread, text.Text);
|
||||
await this.AddAIResponseAsync(thread, userRequest.UserPrompt, userRequest.Time);
|
||||
|
||||
var answer = thread.Blocks[^1];
|
||||
|
||||
this.answers.Add(answer);
|
||||
return answer;
|
||||
}
|
||||
|
||||
// <inheritdoc />
|
||||
public override Task<bool> MadeDecision(ContentBlock input) => Task.FromResult(true);
|
||||
|
||||
// <inheritdoc />
|
||||
public override IReadOnlyCollection<ContentBlock> GetContext() => [];
|
||||
|
||||
// <inheritdoc />
|
||||
public override IReadOnlyCollection<ContentBlock> GetAnswers() => this.answers;
|
||||
|
||||
#endregion
|
||||
|
||||
public async Task<List<SelectedDataSource>> PerformSelectionAsync(IProvider provider, IContent lastUserPrompt, ChatThread chatThread, AllowedSelectedDataSources dataSources, CancellationToken token = default)
|
||||
{
|
||||
logger.LogInformation("The AI should select the appropriate data sources.");
|
||||
|
||||
//
|
||||
// 1. Which LLM provider should the agent use?
|
||||
//
|
||||
|
||||
// We start with the provider currently selected by the user:
|
||||
var requiredDataSecurity = dataSources.AllowedDataSources.GetRequiredSecurityPolicy();
|
||||
var requiredConfidenceLevel = dataSources.AllowedDataSources.GetRequiredConfidenceLevel();
|
||||
var agentProvider = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_DATA_SOURCE_SELECTION, provider.ConfiguredProviderId, true);
|
||||
if (agentProvider == Settings.Provider.NONE)
|
||||
{
|
||||
logger.LogWarning("No provider is selected for the agent. The agent cannot select data sources.");
|
||||
return [];
|
||||
}
|
||||
|
||||
if (!agentProvider.AllowsDataSourceAccess(this.SettingsManager, requiredDataSecurity, requiredConfidenceLevel))
|
||||
{
|
||||
logger.LogWarning($"The agent for data source selection uses provider '{agentProvider.InstanceName}' with confidence '{agentProvider.GetConfidenceLevel(this.SettingsManager).Name}', but the available data sources require data security '{requiredDataSecurity}' and provider confidence '{requiredConfidenceLevel.Name}'. The agent cannot select data sources.");
|
||||
return [];
|
||||
}
|
||||
|
||||
// Assign the provider settings to the agent:
|
||||
logger.LogInformation($"The agent for the data source selection uses the provider '{agentProvider.InstanceName}' ({agentProvider.UsedLLMProvider.Name}, confidence={agentProvider.UsedLLMProvider.GetConfidence(this.SettingsManager).Level.Name}).");
|
||||
this.ProviderSettings = agentProvider;
|
||||
|
||||
//
|
||||
// 2. Prepare the current system and user prompts as input for the agent:
|
||||
//
|
||||
var lastPromptContent = lastUserPrompt switch
|
||||
{
|
||||
ContentText text => text.Text,
|
||||
|
||||
// Image prompts may be empty, e.g., when the image is too large:
|
||||
ContentImage image => await image.TryAsBase64(token) is (success: true, { } base64Image)
|
||||
? base64Image
|
||||
: string.Empty,
|
||||
|
||||
// Other content types are not supported yet:
|
||||
_ => string.Empty,
|
||||
};
|
||||
|
||||
if (string.IsNullOrWhiteSpace(lastPromptContent))
|
||||
{
|
||||
logger.LogWarning("The last prompt is empty. The AI cannot select data sources.");
|
||||
return [];
|
||||
}
|
||||
|
||||
//
|
||||
// 3. Prepare the allowed data sources as input for the agent:
|
||||
//
|
||||
var additionalData = new Dictionary<string, string>();
|
||||
logger.LogInformation("Preparing the list of allowed data sources for the agent to choose from.");
|
||||
|
||||
var sb = new StringBuilder();
|
||||
sb.AppendLineLF("The following data sources are available for selection:");
|
||||
foreach (var ds in dataSources.AllowedDataSources)
|
||||
{
|
||||
var description = await descriptionService.GetDescriptionAsync(ds, token);
|
||||
var descriptionPart = string.IsNullOrWhiteSpace(description) ? string.Empty : $", description='{description}'";
|
||||
switch (ds)
|
||||
{
|
||||
case DataSourceLocalDirectory localDirectory:
|
||||
sb.AppendLineLF($"- Id={ds.Id}, name='{localDirectory.Name}', type=local directory, path='{localDirectory.Path}'{descriptionPart}");
|
||||
break;
|
||||
|
||||
case DataSourceLocalFile localFile:
|
||||
sb.AppendLineLF($"- Id={ds.Id}, name='{localFile.Name}', type=local file, path='{localFile.FilePath}'{descriptionPart}");
|
||||
break;
|
||||
|
||||
case IERIDataSource eriDataSource:
|
||||
sb.AppendLineLF($"- Id={ds.Id}, name='{eriDataSource.Name}', type=external data source{descriptionPart}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
logger.LogInformation("Prepared the list of allowed data sources for the agent.");
|
||||
additionalData.Add("availableDataSources", sb.ToString());
|
||||
|
||||
//
|
||||
// 4. Let the agent select the data sources:
|
||||
//
|
||||
var prompt = $"""
|
||||
The system prompt is:
|
||||
|
||||
```
|
||||
{chatThread.SystemPrompt}
|
||||
```
|
||||
|
||||
The user prompt is:
|
||||
|
||||
```
|
||||
{lastPromptContent}
|
||||
```
|
||||
""";
|
||||
|
||||
// Call the agent:
|
||||
var aiResponse = await this.ProcessInput(new ContentBlock
|
||||
{
|
||||
Time = DateTimeOffset.UtcNow,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = new ContentText
|
||||
{
|
||||
Text = prompt,
|
||||
},
|
||||
}, additionalData);
|
||||
|
||||
if(aiResponse.Content is null)
|
||||
{
|
||||
logger.LogWarning("The agent did not return a response.");
|
||||
return [];
|
||||
}
|
||||
|
||||
switch (aiResponse)
|
||||
{
|
||||
|
||||
//
|
||||
// 5. Parse the agent response:
|
||||
//
|
||||
case { ContentType: ContentType.TEXT, Content: ContentText textContent }:
|
||||
{
|
||||
//
|
||||
// What we expect is a JSON list of SelectedDataSource objects:
|
||||
//
|
||||
var selectedDataSourcesJson = textContent.Text;
|
||||
|
||||
//
|
||||
// We know how bad LLM may be in generating JSON without surrounding text.
|
||||
// Thus, we expect the worst and try to extract the JSON list from the text:
|
||||
//
|
||||
var json = ModelAnswerJson.ExtractObjectList(selectedDataSourcesJson);
|
||||
|
||||
try
|
||||
{
|
||||
var aiSelectedDataSources = JsonSerializer.Deserialize<List<SelectedDataSource>>(json, JSON_SERIALIZER_OPTIONS);
|
||||
return aiSelectedDataSources ?? [];
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.LogWarning("The agent answered with an invalid or unexpected JSON format.");
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
case { ContentType: ContentType.TEXT }:
|
||||
logger.LogWarning("The agent answered with an unexpected inner content type.");
|
||||
return [];
|
||||
|
||||
case { ContentType: ContentType.NONE }:
|
||||
logger.LogWarning("The agent did not return a response.");
|
||||
return [];
|
||||
|
||||
default:
|
||||
logger.LogWarning($"The agent answered with an unexpected content type '{aiResponse.ContentType}'.");
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
/// <summary>
|
||||
/// The contracts with which System.Text.Json reads the answers of the agents, built at compile time.
|
||||
/// </summary>
|
||||
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
|
||||
[JsonSerializable(typeof(List<SelectedDataSource>))]
|
||||
[JsonSerializable(typeof(RetrievalContextValidationResult))]
|
||||
[JsonSerializable(typeof(AssistantAuditResult))]
|
||||
internal sealed partial class AgentJsonContext : JsonSerializerContext;
|
||||
@@ -1,343 +0,0 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Settings.DataModel;
|
||||
using AIStudio.Tools.RAG;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public sealed class AgentRetrievalContextValidation (ILogger<AgentRetrievalContextValidation> logger, ILogger<AgentBase> baseLogger, SettingsManager settingsManager, DataSourceService dataSourceService, ThreadSafeRandom rng) : AgentBase(baseLogger, settingsManager, dataSourceService, rng)
|
||||
{
|
||||
#region Overrides of AgentBase
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override Type Type => Type.WORKER;
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override Tools.Components Component => Tools.Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Id => "Retrieval Context Validation";
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override string JobDescription =>
|
||||
"""
|
||||
You receive a system and user prompt as well as a retrieval context as input. Your task is to decide whether this
|
||||
retrieval context is helpful in processing the prompts or not. You respond with the decision (true or false),
|
||||
your reasoning, and your confidence in this decision.
|
||||
|
||||
Your response is only one JSON object in the following format:
|
||||
|
||||
```
|
||||
{"decision": true, "reason": "Why did you choose this source?", "confidence": 0.87}
|
||||
```
|
||||
|
||||
You express your confidence as a floating-point number between 0.0 (maximum uncertainty) and
|
||||
1.0 (you are absolutely certain that this retrieval context is needed).
|
||||
|
||||
The JSON schema is:
|
||||
|
||||
```
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"decision": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"decision",
|
||||
"reason",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
You do not ask any follow-up questions. You do not address the user. Your response consists solely of
|
||||
that one JSON object.
|
||||
""";
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override string SystemPrompt(string retrievalContext) => $"""
|
||||
{this.JobDescription}
|
||||
|
||||
{retrievalContext}
|
||||
""";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Settings.Provider ProviderSettings { get; set; } = Settings.Provider.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The retrieval context validation agent does not work with context. Use
|
||||
/// the process input method instead.
|
||||
/// </summary>
|
||||
/// <returns>The chat thread without any changes.</returns>
|
||||
public override Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData) => Task.FromResult(chatThread);
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData)
|
||||
{
|
||||
if (input.Content is not ContentText text)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(text.InitialRemoteWait || text.IsStreaming)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(string.IsNullOrWhiteSpace(text.Text))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(!additionalData.TryGetValue("retrievalContext", out var retrievalContext) || string.IsNullOrWhiteSpace(retrievalContext))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
var thread = this.CreateChatThread(this.SystemPrompt(retrievalContext));
|
||||
var userRequest = AddUserRequest(thread, text.Text);
|
||||
await this.AddAIResponseAsync(thread, userRequest.UserPrompt, userRequest.Time);
|
||||
|
||||
return thread.Blocks[^1];
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Task<bool> MadeDecision(ContentBlock input) => Task.FromResult(true);
|
||||
|
||||
/// <summary>
|
||||
/// We do not provide any context. This agent will process many retrieval contexts.
|
||||
/// This would block a huge amount of memory.
|
||||
/// </summary>
|
||||
/// <returns>An empty list.</returns>
|
||||
public override IReadOnlyCollection<ContentBlock> GetContext() => [];
|
||||
|
||||
/// <summary>
|
||||
/// We do not provide any answers. This agent will process many retrieval contexts.
|
||||
/// This would block a huge amount of memory.
|
||||
/// </summary>
|
||||
/// <returns>An empty list.</returns>
|
||||
public override IReadOnlyCollection<ContentBlock> GetAnswers() => [];
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Sets the LLM provider for the agent.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// When you have to call the validation in parallel for many retrieval contexts,
|
||||
/// you can set the provider once and then call the validation method in parallel.
|
||||
/// </remarks>
|
||||
/// <param name="provider">The current LLM provider. When the user doesn't preselect an agent provider, the agent uses this provider.</param>
|
||||
/// <param name="requiredDataSecurity">The data security required by the retrieved data.</param>
|
||||
/// <param name="requiredConfidenceLevel">The minimum provider confidence required by the retrieved data.</param>
|
||||
public bool SetLLMProvider(IProvider provider, DataSourceSecurity requiredDataSecurity = DataSourceSecurity.NOT_SPECIFIED, ConfidenceLevel requiredConfidenceLevel = ConfidenceLevel.NONE)
|
||||
{
|
||||
// We start with the provider currently selected by the user:
|
||||
var agentProvider = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION, provider.ConfiguredProviderId, true);
|
||||
if (agentProvider == Settings.Provider.NONE)
|
||||
{
|
||||
logger.LogWarning("No provider is selected for the agent.");
|
||||
this.ProviderSettings = Settings.Provider.NONE;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!agentProvider.AllowsDataSourceAccess(this.SettingsManager, requiredDataSecurity, requiredConfidenceLevel))
|
||||
{
|
||||
logger.LogWarning($"The agent for retrieval context validation uses provider '{agentProvider.InstanceName}' with confidence '{agentProvider.GetConfidenceLevel(this.SettingsManager).Name}', but the retrieved data requires data security '{requiredDataSecurity}' and provider confidence '{requiredConfidenceLevel.Name}'. The agent cannot validate retrieval contexts.");
|
||||
this.ProviderSettings = Settings.Provider.NONE;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Assign the provider settings to the agent:
|
||||
logger.LogInformation($"The agent for the retrieval context validation uses the provider '{agentProvider.InstanceName}' ({agentProvider.UsedLLMProvider.Name}, confidence={agentProvider.UsedLLMProvider.GetConfidence(this.SettingsManager).Level.Name}).");
|
||||
this.ProviderSettings = agentProvider;
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Validate all retrieval contexts against the last user and the system prompt.
|
||||
/// </summary>
|
||||
/// <param name="lastUserPrompt">The last user prompt.</param>
|
||||
/// <param name="chatThread">The chat thread.</param>
|
||||
/// <param name="retrievalContexts">All retrieval contexts to validate, prepared for the AI and thus already filtered for prompt injections.</param>
|
||||
/// <param name="token">The cancellation token.</param>
|
||||
/// <returns>The validation results.</returns>
|
||||
public async Task<IReadOnlyList<RetrievalContextValidationResult>> ValidateRetrievalContextsAsync(IContent lastUserPrompt, ChatThread chatThread, IReadOnlyList<PreparedRetrievalContext> retrievalContexts, CancellationToken token = default)
|
||||
{
|
||||
// Check if the retrieval context validation is enabled:
|
||||
if (!this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation)
|
||||
return [];
|
||||
|
||||
logger.LogInformation($"Validating {retrievalContexts.Count:###,###,###,###} retrieval contexts.");
|
||||
|
||||
// Prepare the list of validation tasks:
|
||||
var validationTasks = new List<Task<RetrievalContextValidationResult>>(retrievalContexts.Count);
|
||||
|
||||
// Read the number of parallel validations:
|
||||
var numParallelValidations = 3;
|
||||
if(this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)
|
||||
numParallelValidations = this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.NumParallelValidations;
|
||||
|
||||
numParallelValidations = Math.Max(1, numParallelValidations);
|
||||
|
||||
// Use a semaphore to limit the number of parallel validations:
|
||||
using var semaphore = new SemaphoreSlim(numParallelValidations);
|
||||
foreach (var retrievalContext in retrievalContexts)
|
||||
{
|
||||
// Wait for an available slot in the semaphore:
|
||||
await semaphore.WaitAsync(token);
|
||||
|
||||
// Start the next validation task:
|
||||
validationTasks.Add(this.ValidateRetrievalContextAsync(lastUserPrompt, chatThread, retrievalContext, semaphore, token));
|
||||
}
|
||||
|
||||
// Wait for all validation tasks to complete:
|
||||
return await Task.WhenAll(validationTasks);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Validates the retrieval context against the last user and the system prompt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Probably, you have a lot of retrieval contexts to validate. In this case, you
|
||||
/// can call this method in parallel for each retrieval context. You might use
|
||||
/// the ValidateRetrievalContextsAsync method to validate all retrieval contexts.
|
||||
/// </remarks>
|
||||
/// <param name="lastUserPrompt">The last user prompt.</param>
|
||||
/// <param name="chatThread">The chat thread.</param>
|
||||
/// <param name="retrievalContext">The retrieval context to validate, prepared for the AI and thus already filtered for prompt injections.</param>
|
||||
/// <param name="semaphore">The optional semaphore to limit the number of parallel validations.</param>
|
||||
/// <param name="token">The cancellation token.</param>
|
||||
/// <returns>The validation result.</returns>
|
||||
public async Task<RetrievalContextValidationResult> ValidateRetrievalContextAsync(IContent lastUserPrompt, ChatThread chatThread, PreparedRetrievalContext retrievalContext, SemaphoreSlim? semaphore = null, CancellationToken token = default)
|
||||
{
|
||||
try
|
||||
{
|
||||
//
|
||||
// Check if the validation was canceled. This could happen when the user
|
||||
// canceled the validation process or when the validation process took
|
||||
// too long:
|
||||
//
|
||||
if(token.IsCancellationRequested)
|
||||
return new(false, "The validation was canceled.", 1.0f, retrievalContext);
|
||||
|
||||
//
|
||||
// 1. Prepare the current system and user prompts as input for the agent:
|
||||
//
|
||||
var lastPromptContent = lastUserPrompt switch
|
||||
{
|
||||
ContentText text => text.Text,
|
||||
|
||||
// Image prompts may be empty, e.g., when the image is too large:
|
||||
ContentImage image => await image.TryAsBase64(token) is (success: true, { } base64Image)
|
||||
? base64Image
|
||||
: string.Empty,
|
||||
|
||||
// Other content types are not supported yet:
|
||||
_ => string.Empty,
|
||||
};
|
||||
|
||||
if (string.IsNullOrWhiteSpace(lastPromptContent))
|
||||
{
|
||||
logger.LogWarning("The last prompt is empty. The AI cannot validate the retrieval context.");
|
||||
return new(false, "The last prompt was empty.", 1.0f, retrievalContext);
|
||||
}
|
||||
|
||||
//
|
||||
// 2. Prepare the retrieval context for the agent. It reads the context exactly as the
|
||||
// AI would, filtered once for both, so the check judges what is actually sent:
|
||||
//
|
||||
var additionalData = new Dictionary<string, string>();
|
||||
additionalData.Add("retrievalContext", retrievalContext.ToMarkdown());
|
||||
|
||||
//
|
||||
// 3. Let the agent validate the retrieval context:
|
||||
//
|
||||
var prompt = $"""
|
||||
The system prompt is:
|
||||
|
||||
```
|
||||
{chatThread.SystemPrompt}
|
||||
```
|
||||
|
||||
The user prompt is:
|
||||
|
||||
```
|
||||
{lastPromptContent}
|
||||
```
|
||||
""";
|
||||
|
||||
// Call the agent:
|
||||
var aiResponse = await this.ProcessInput(new ContentBlock
|
||||
{
|
||||
Time = DateTimeOffset.UtcNow,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = new ContentText
|
||||
{
|
||||
Text = prompt,
|
||||
},
|
||||
}, additionalData);
|
||||
|
||||
if (aiResponse.Content is null)
|
||||
{
|
||||
logger.LogWarning("The agent did not return a response.");
|
||||
return new(false, "The agent did not return a response.", 1.0f, retrievalContext);
|
||||
}
|
||||
|
||||
switch (aiResponse)
|
||||
{
|
||||
|
||||
//
|
||||
// 4. Parse the agent response:
|
||||
//
|
||||
case { ContentType: ContentType.TEXT, Content: ContentText textContent }:
|
||||
{
|
||||
//
|
||||
// What we expect is one JSON object:
|
||||
//
|
||||
var validationJson = textContent.Text;
|
||||
|
||||
//
|
||||
// We know how bad LLM may be in generating JSON without surrounding text.
|
||||
// Thus, we expect the worst and try to extract the JSON object from the text:
|
||||
//
|
||||
var json = ModelAnswerJson.ExtractObject(validationJson);
|
||||
|
||||
try
|
||||
{
|
||||
var result = JsonSerializer.Deserialize<RetrievalContextValidationResult>(json, JSON_SERIALIZER_OPTIONS);
|
||||
return result with { RetrievalContext = retrievalContext };
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.LogWarning("The agent answered with an invalid or unexpected JSON format.");
|
||||
return new(false, "The agent answered with an invalid or unexpected JSON format.", 1.0f, retrievalContext);
|
||||
}
|
||||
}
|
||||
|
||||
case { ContentType: ContentType.TEXT }:
|
||||
logger.LogWarning("The agent answered with an unexpected inner content type.");
|
||||
return new(false, "The agent answered with an unexpected inner content type.", 1.0f, retrievalContext);
|
||||
|
||||
case { ContentType: ContentType.NONE }:
|
||||
logger.LogWarning("The agent did not return a response.");
|
||||
return new(false, "The agent did not return a response.", 1.0f, retrievalContext);
|
||||
|
||||
default:
|
||||
logger.LogWarning($"The agent answered with an unexpected content type '{aiResponse.ContentType}'.");
|
||||
return new(false, $"The agent answered with an unexpected content type '{aiResponse.ContentType}'.", 1.0f, retrievalContext);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Release the semaphore slot:
|
||||
semaphore?.Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public sealed class AgentTextContentCleaner(ILogger<AgentBase> logger, SettingsManager settingsManager, DataSourceService dataSourceService, ThreadSafeRandom rng) : AgentBase(logger, settingsManager, dataSourceService, rng)
|
||||
{
|
||||
private readonly List<ContentBlock> context = new();
|
||||
private readonly List<ContentBlock> answers = new();
|
||||
|
||||
#region Overrides of AgentBase
|
||||
|
||||
public override AIStudio.Settings.Provider ProviderSettings { get; set; } = AIStudio.Settings.Provider.NONE;
|
||||
|
||||
protected override Type Type => Type.SYSTEM;
|
||||
|
||||
protected override Tools.Components Component => Tools.Components.AGENT_TEXT_CONTENT_CLEANER;
|
||||
|
||||
public override string Id => "Text Content Cleaner";
|
||||
|
||||
protected override string JobDescription =>
|
||||
"""
|
||||
You receive a Markdown document as input. Your goal is to identify the main content of the document
|
||||
and return it including Markdown formatting. Remove areas that do not belong to the main part of the
|
||||
document. For a blog article, return only the text of the article with its formatting. For a scientific
|
||||
paper, only the contents of the paper. Delete elements of navigation, advertisements, HTML artifacts,
|
||||
cookie banners, etc. If the content contains images, these images remain. The same applies to links.
|
||||
Ensure that links and images are present as valid Markdown:
|
||||
|
||||
- Syntax of links: [link text](URL)
|
||||
- Syntax of images: 
|
||||
|
||||
If you find relative links or images with relative paths, correct them to absolute paths. For this
|
||||
purpose, here is the source URL:
|
||||
""";
|
||||
|
||||
protected override string SystemPrompt(string additionalData) => $"{this.JobDescription} `{additionalData}`.";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override async Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData)
|
||||
{
|
||||
// We process the last block of the chat thread. Then, we add the result
|
||||
// to the chat thread as the last block:
|
||||
var answer = await this.ProcessInput(chatThread.Blocks[^1], additionalData);
|
||||
chatThread.Blocks.Add(answer);
|
||||
|
||||
this.context.Clear();
|
||||
this.context.AddRange(chatThread.Blocks);
|
||||
|
||||
return chatThread;
|
||||
}
|
||||
|
||||
// <inheritdoc />
|
||||
public override async Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData)
|
||||
{
|
||||
if (input.Content is not ContentText text)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(text.InitialRemoteWait || text.IsStreaming)
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(string.IsNullOrWhiteSpace(text.Text))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
if(!additionalData.TryGetValue("sourceURL", out var sourceURL) || string.IsNullOrWhiteSpace(sourceURL))
|
||||
return EMPTY_BLOCK;
|
||||
|
||||
var thread = this.CreateChatThread(this.SystemPrompt(sourceURL));
|
||||
var userRequest = AddUserRequest(thread, text.Text);
|
||||
await this.AddAIResponseAsync(thread, userRequest.UserPrompt, userRequest.Time);
|
||||
|
||||
var answer = thread.Blocks[^1];
|
||||
this.answers.Add(answer);
|
||||
return answer;
|
||||
}
|
||||
|
||||
// <inheritdoc />
|
||||
public override Task<bool> MadeDecision(ContentBlock input) => Task.FromResult(true);
|
||||
|
||||
// <inheritdoc />
|
||||
public override IReadOnlyCollection<ContentBlock> GetContext() => this.context;
|
||||
|
||||
// <inheritdoc />
|
||||
public override IReadOnlyCollection<ContentBlock> GetAnswers() => this.answers;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
|
||||
namespace AIStudio.Agents.AssistantAudit;
|
||||
|
||||
public static class AssistantAuditLevelExtensions
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(AssistantAuditLevelExtensions).Namespace, nameof(AssistantAuditLevelExtensions));
|
||||
|
||||
extension(AssistantAuditLevel level)
|
||||
{
|
||||
public string Name => level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => TB("Dangerous"),
|
||||
AssistantAuditLevel.CAUTION => TB("Concerning"),
|
||||
AssistantAuditLevel.SAFE => TB("Safe"),
|
||||
_ => TB("Unknown"),
|
||||
};
|
||||
|
||||
public Severity Severity => level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => Severity.Error,
|
||||
AssistantAuditLevel.CAUTION => Severity.Warning,
|
||||
AssistantAuditLevel.SAFE => Severity.Success,
|
||||
_ => Severity.Info,
|
||||
};
|
||||
|
||||
public Color Color => level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => Color.Error,
|
||||
AssistantAuditLevel.CAUTION => Color.Warning,
|
||||
AssistantAuditLevel.SAFE => Color.Success,
|
||||
_ => Color.Default,
|
||||
};
|
||||
|
||||
public string Icon => level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => AppIcons.SECURITY_DANGEROUS,
|
||||
AssistantAuditLevel.CAUTION => AppIcons.WARNING,
|
||||
AssistantAuditLevel.SAFE => AppIcons.AUDIT_SAFE,
|
||||
_ => AppIcons.UNKNOWN,
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Parses an audit level string and falls back to <see cref="AssistantAuditLevel.UNKNOWN"/> when parsing fails.
|
||||
/// </summary>
|
||||
/// <param name="value">The audit level text to parse.</param>
|
||||
/// <returns>The parsed audit level, or <see cref="AssistantAuditLevel.UNKNOWN"/> for null, empty, or invalid values.</returns>
|
||||
public static AssistantAuditLevel ParseOrUnknown(string? value) => Enum.TryParse<AssistantAuditLevel>(value, true, out var parsedLevel) ? parsedLevel : AssistantAuditLevel.UNKNOWN;
|
||||
}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
using AIStudio.Chat;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public interface IAgent
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name of the agent.
|
||||
/// </summary>
|
||||
public string Id { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The provider to use for this agent.
|
||||
/// </summary>
|
||||
public Settings.Provider ProviderSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Processes a chat thread (i.e., context) and returns the updated thread.
|
||||
/// </summary>
|
||||
/// <param name="chatThread">The chat thread to process. The thread is the context for the agent.</param>
|
||||
/// <param name="additionalData">Additional data to use for processing the chat thread.</param>
|
||||
/// <returns>The updated chat thread. The last content block of the thread is the agent's response.</returns>
|
||||
public Task<ChatThread> ProcessContext(ChatThread chatThread, IDictionary<string, string> additionalData);
|
||||
|
||||
/// <summary>
|
||||
/// Processes the input content block and returns the agent's response.
|
||||
/// </summary>
|
||||
/// <param name="input">The content block to process. It represents the input.</param>
|
||||
/// <param name="additionalData">Additional data to use for processing the input.</param>
|
||||
/// <returns>The content block representing the agent's response.</returns>
|
||||
public Task<ContentBlock> ProcessInput(ContentBlock input, IDictionary<string, string> additionalData);
|
||||
|
||||
/// <summary>
|
||||
/// The agent makes a decision based on the input.
|
||||
/// </summary>
|
||||
/// <param name="input">The content block to process. Should be a question or a request.</param>
|
||||
/// <returns>
|
||||
/// True if a decision has been made based on the input, false otherwise.
|
||||
/// </returns>
|
||||
public Task<bool> MadeDecision(ContentBlock input);
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves the context of the agent.
|
||||
/// </summary>
|
||||
/// <returns>The collection of content blocks representing the agent's context. This includes the user's and the other agent's messages.</returns>
|
||||
public IReadOnlyCollection<ContentBlock> GetContext();
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves the answers from the agent's context.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// The collection of content blocks representing the answers provided by this agent.
|
||||
/// </returns>
|
||||
public IReadOnlyCollection<ContentBlock> GetAnswers();
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
public enum Type
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an unspecified agent type.
|
||||
/// </summary>
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Represents a conversational agent who produces human-like responses and feedback (depending on the context and its job description).
|
||||
/// For example, an expert agent for a specific domain. Answers might be detailed and informative.
|
||||
/// </summary>
|
||||
CONVERSATIONAL,
|
||||
|
||||
/// <summary>
|
||||
/// Represents a worker agent type who performs tasks and provides information or services (depending on the context and its job description).
|
||||
/// For example, a quality assurance agent who assesses the quality of a product or service. Answers might be short and concise.
|
||||
/// </summary>
|
||||
WORKER,
|
||||
|
||||
/// <summary>
|
||||
/// Represents the system agent type who processes the input and provides a specific response (depending on the context and its job description).
|
||||
/// For example, a HTML content agent who processes the arbitrary HTML content and provides a structured Markdown response. Answers might be structured and formatted.
|
||||
/// </summary>
|
||||
SYSTEM,
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
using AIStudio.Chat;
|
||||
|
||||
namespace AIStudio.Agents;
|
||||
|
||||
/// <summary>
|
||||
/// The created user request.
|
||||
/// </summary>
|
||||
public sealed class UserRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// The time when the request was created.
|
||||
/// </summary>
|
||||
public required DateTimeOffset Time { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The user prompt.
|
||||
/// </summary>
|
||||
public required IContent UserPrompt { get; init; }
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
@attribute [Route(Routes.ASSISTANT_META_ASSISTANT)]
|
||||
@using AIStudio.Agents.AssistantAudit
|
||||
@using AIStudio.AIOperations.PluginAudit
|
||||
@using AIStudio.Tools.PluginSystem
|
||||
@using AIStudio.Tools.PluginSystem.Assistants.DataModel
|
||||
@inherits AssistantBaseCore<AIStudio.Dialogs.Settings.SettingsDialogAssistantBuilder>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Dialogs.Settings;
|
||||
using AIStudio.Tools.AssistantSessions;
|
||||
@@ -188,7 +188,7 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
|
||||
private bool PluginInstallCompleted => this.pluginInstallResult?.Success is true;
|
||||
|
||||
private bool AuditCompleted => this.pluginAudit is not null && this.pluginAudit.Level is not AssistantAuditLevel.UNKNOWN;
|
||||
private bool AuditCompleted => this.pluginAudit is not null && this.pluginAudit.Level is not PluginAuditLevel.UNKNOWN;
|
||||
|
||||
private bool AuditRequiredForActivation => this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation;
|
||||
|
||||
@@ -216,9 +216,9 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
|
||||
private Severity AuditSeverity => this.pluginAudit?.Level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => Severity.Error,
|
||||
AssistantAuditLevel.CAUTION => Severity.Warning,
|
||||
AssistantAuditLevel.SAFE => Severity.Info,
|
||||
PluginAuditLevel.DANGEROUS => Severity.Error,
|
||||
PluginAuditLevel.CAUTION => Severity.Warning,
|
||||
PluginAuditLevel.SAFE => Severity.Info,
|
||||
_ => Severity.Normal,
|
||||
};
|
||||
|
||||
@@ -742,8 +742,8 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
this.isAuditingPlugin = true;
|
||||
try
|
||||
{
|
||||
this.pluginAudit = await this.AssistantPluginAuditService.RunAuditAsync(this.installedAssistantPlugin, fallbackProvider: this.ProviderSettings);
|
||||
if (this.pluginAudit.Level is AssistantAuditLevel.UNKNOWN)
|
||||
this.pluginAudit = await this.AssistantPluginAuditService.RunAuditAsync(this.installedAssistantPlugin, providerAtHand: this.ProviderSettings);
|
||||
if (this.pluginAudit.Level is PluginAuditLevel.UNKNOWN)
|
||||
{
|
||||
this.FailInstallStep(BuilderInstallStep.SECURITY_CHECK, T("The security check could not determine a result."));
|
||||
await this.MessageBus.SendError(new(AppIcons.SECURITY_WARNING, T("The security check could not be completed.")));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@attribute [Route(Routes.ASSISTANT_DYNAMIC)]
|
||||
@using AIStudio.Agents.AssistantAudit
|
||||
@using AIStudio.AIOperations.PluginAudit
|
||||
@using AIStudio.Tools.PluginSystem.Assistants.DataModel
|
||||
@using AIStudio.Tools.PluginSystem.Assistants.DataModel.Layout
|
||||
@inherits AssistantBaseCore<AIStudio.Dialogs.Settings.NoSettingsPanel>
|
||||
@@ -26,7 +26,7 @@ else if (this.RootComponent is null)
|
||||
}
|
||||
else
|
||||
{
|
||||
@if (this.audit is not null && this.audit.Level is not AssistantAuditLevel.SAFE)
|
||||
@if (this.audit is not null && this.audit.Level is not PluginAuditLevel.SAFE)
|
||||
{
|
||||
<MudPaper Class="pa-4 ma-4" Elevation="0">
|
||||
<MudAlert Severity="@this.audit.Level.Severity" Variant="Variant.Filled" Square="false" Elevation="6" Class="pa-4">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Dialogs.Settings;
|
||||
@@ -304,7 +304,7 @@ public partial class AssistantDynamic : AssistantBaseCore<NoSettingsPanel>
|
||||
if (result.Data is not AssistantPluginRevisionDialogResult revisionResult)
|
||||
return;
|
||||
|
||||
this.Logger.LogInformation($"AssistantDynamic of plugin '{revisionResult.PluginName}' ({revisionResult.PluginName}) was successfully revised with audit result {revisionResult.Audit?.Level ?? AssistantAuditLevel.UNKNOWN}.");
|
||||
this.Logger.LogInformation($"AssistantDynamic of plugin '{revisionResult.PluginName}' ({revisionResult.PluginName}) was successfully revised with audit result {revisionResult.Audit?.Level ?? PluginAuditLevel.UNKNOWN}.");
|
||||
var updatedPlugin = PluginFactory.RunningPlugins.OfType<PluginAssistants>().FirstOrDefault(x => x.Id == revisionResult.PluginId);
|
||||
if (updatedPlugin is not null && !updatedPlugin.StartsChatDirectly)
|
||||
this.ApplyUpdatedAssistantPlugin(updatedPlugin);
|
||||
|
||||
@@ -46,47 +46,32 @@ LANG_NAME = "English (United States)"
|
||||
|
||||
UI_TEXT_CONTENT = {}
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2034826200"] = "No audit provider is configured."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087::INFORMAL"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2861409367"] = "The provider is not trusted enough for security checks."
|
||||
|
||||
-- The audit agent did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3310188890"] = "The audit agent did not return a usable response."
|
||||
|
||||
-- No provider is configured for the Security Audit Agent.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3605554201"] = "No provider is configured for the Security Audit Agent."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219::INFORMAL"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T432419958"] = "The audit result was empty."
|
||||
|
||||
-- The audit agent returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T917600186"] = "The audit agent returned invalid JSON."
|
||||
|
||||
-- Concerning
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T1500095429"] = "Concerning"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T1500095429"] = "Concerning"
|
||||
|
||||
-- Dangerous
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3421510547"] = "Dangerous"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3421510547"] = "Dangerous"
|
||||
|
||||
-- Unknown
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3424652889"] = "Unknown"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3424652889"] = "Unknown"
|
||||
|
||||
-- Safe
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T760494712"] = "Safe"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T760494712"] = "Safe"
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087::INFORMAL"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The audit did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T391654503"] = "The audit did not return a usable response."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T432419958"] = "The audit result was empty."
|
||||
|
||||
-- The audit returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T678594297"] = "The audit returned invalid JSON."
|
||||
|
||||
-- Objective
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::ASSISTANTAGENDA::T1121586136"] = "Objective"
|
||||
@@ -10252,8 +10237,8 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613"] = "The cont
|
||||
-- The content cleaner uses the model of this assistant. Please select one below.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613::INFORMAL"] = "The content cleaner uses the model of this assistant. Please select one below."
|
||||
|
||||
-- The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1164201762"] = "The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used."
|
||||
-- The content was loaded, but not cleaned: the model of the content cleaner gave no answer.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1189712796"] = "The content was loaded, but not cleaned: the model of the content cleaner gave no answer."
|
||||
|
||||
-- Fetch
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1396322691"] = "Fetch"
|
||||
@@ -10264,12 +10249,21 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807"] = "Please p
|
||||
-- Please provide a URL to load the content from.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807::INFORMAL"] = "Please provide a URL to load the content from."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324"] = "Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324::INFORMAL"] = "Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696"] = "Loads the content from your URL. Does not work when the content is hidden behind a paywall."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696::INFORMAL"] = "Loads the content from your URL. Does not work when the content is hidden behind a paywall."
|
||||
|
||||
-- The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2765793850"] = "The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work."
|
||||
|
||||
-- URL from which to load the content
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2883163022"] = "URL from which to load the content"
|
||||
|
||||
@@ -10288,6 +10282,9 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288"] = "Please pr
|
||||
-- Please provide a valid HTTP or HTTPS URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288::INFORMAL"] = "Please provide a valid HTTP or HTTPS URL."
|
||||
|
||||
-- Clean up the content with AI?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3375295820"] = "Clean up the content with AI?"
|
||||
|
||||
-- No content cleaning
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3588401674"] = "No content cleaning"
|
||||
|
||||
@@ -10297,9 +10294,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228"] = "Please p
|
||||
-- Please provide a valid URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228::INFORMAL"] = "Please provide a valid URL."
|
||||
|
||||
-- Clean up content by using an LLM agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4057255553"] = "Clean up content by using an LLM agent?"
|
||||
|
||||
-- Show web content options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4249712357"] = "Show web content options"
|
||||
|
||||
@@ -10351,6 +10345,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SELECTFILE::T4285779702"] = "Choose File"
|
||||
-- External Assistants rated below this audit level are treated as insufficiently reviewed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1162151451"] = "External Assistants rated below this audit level are treated as insufficiently reviewed."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617::INFORMAL"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing."
|
||||
|
||||
-- Users may still activate plugins below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1840342259"] = "Users may still activate plugins below the minimum Audit-Level"
|
||||
|
||||
@@ -10363,6 +10363,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- External Assistants must be audited before activation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2065972970"] = "External Assistants must be audited before activation"
|
||||
|
||||
-- Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2081939459"] = "Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes."
|
||||
|
||||
-- AI Task: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2200966468"] = "AI Task: Security Audit for external Assistants"
|
||||
|
||||
-- Block activation below the minimum Audit-Level?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T232834129"] = "Block activation below the minimum Audit-Level?"
|
||||
|
||||
@@ -10372,8 +10378,14 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2516645821::INFORMAL"] = "Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?"
|
||||
|
||||
-- Agent: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2910364422"] = "Agent: Security Audit for external Assistants"
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563"] = "Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options."
|
||||
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563::INFORMAL"] = "Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options."
|
||||
|
||||
-- Use the app default, otherwise the model chosen when auditing
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2888830822"] = "Use the app default, otherwise the model chosen when auditing"
|
||||
|
||||
-- External Assistant can be activated without an audit
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2915620630"] = "External Assistant can be activated without an audit"
|
||||
@@ -10399,101 +10411,101 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Activation is blocked below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4041192469"] = "Activation is blocked below the minimum Audit-Level"
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352::INFORMAL"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144::INFORMAL"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant."
|
||||
|
||||
-- This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T893652865"] = "This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes."
|
||||
-- When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1587139574"] = "When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used."
|
||||
|
||||
-- Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1299550589"] = "Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used."
|
||||
-- Use the model of the assistant
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T2899245972"] = "Use the model of the assistant"
|
||||
|
||||
-- Agent: Text Content Cleaner Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3517268866"] = "Agent: Text Content Cleaner Options"
|
||||
-- AI Task: Text Content Cleaner
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3478589970"] = "AI Task: Text Content Cleaner"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- Preselect text content cleaner options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3659087305"] = "Preselect text content cleaner options?"
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Use Case: this agent is used to select the appropriate data sources for the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2208143316"] = "Use Case: this agent is used to select the appropriate data sources for the current prompt."
|
||||
-- AI Task: Data Source Selection
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T1227800581"] = "AI Task: Data Source Selection"
|
||||
|
||||
-- Agent: Data Source Selection Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2258031949"] = "Agent: Data Source Selection Options"
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366::INFORMAL"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2522862914"] = "In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt."
|
||||
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3435835378"] = "Use the model of the chat"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Preselect data source selection options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T991598424"] = "Preselect data source selection options?"
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386"] = "Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595"] = "Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations."
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386::INFORMAL"] = "Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595::INFORMAL"] = "Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations."
|
||||
|
||||
-- The validation agent is enabled
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2274149855"] = "The validation agent is enabled"
|
||||
-- AI Task: Retrieval Context Validation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1717726852"] = "AI Task: Retrieval Context Validation"
|
||||
|
||||
-- Enable the retrieval context validation agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663872937"] = "Enable the retrieval context validation agent?"
|
||||
-- How many validations should run simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2326205445"] = "How many validations should run simultaneously?"
|
||||
|
||||
-- When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T240073404"] = "When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt."
|
||||
|
||||
-- Validate the retrieval contexts?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2428915017"] = "Validate the retrieval contexts?"
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642"] = "When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642::INFORMAL"] = "When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- Preselect retrieval context validation options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663938643"] = "Preselect retrieval context validation options?"
|
||||
|
||||
-- agents
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2669785679"] = "agents"
|
||||
|
||||
-- When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T298440039"] = "When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt."
|
||||
|
||||
-- How many validation agents should work simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3431541788"] = "How many validation agents should work simultaneously?"
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3435835378"] = "Use the model of the chat"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890"] = "More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890::INFORMAL"] = "More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Agent: Retrieval Context Validation Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T928989804"] = "Agent: Retrieval Context Validation Options"
|
||||
-- validations
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T595734827"] = "validations"
|
||||
|
||||
-- Each retrieval context is validated
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T705018823"] = "Each retrieval context is validated"
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962"] = "In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one."
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962::INFORMAL"] = "In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one."
|
||||
|
||||
-- No validation is performed
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T95175095"] = "No validation is performed"
|
||||
@@ -10507,6 +10519,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044"]
|
||||
-- Do you want to show preview features in the app?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044::INFORMAL"] = "Do you want to show preview features in the app?"
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771::INFORMAL"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- AI Studio cannot check for updates when running as a Flatpak. Updates are managed outside the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1190632518"] = "AI Studio cannot check for updates when running as a Flatpak. Updates are managed outside the app."
|
||||
|
||||
@@ -10612,12 +10630,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663"]
|
||||
-- Select the language for the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663::INFORMAL"] = "Select the language for the app."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697::INFORMAL"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- Your organization has disabled update checks and installations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1909339369"] = "Your organization has disabled update checks and installations."
|
||||
|
||||
@@ -11923,6 +11935,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T193192210"] = "
|
||||
-- null
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T1996966820"] = "null"
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726"] = "The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726::INFORMAL"] = "The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Properties
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2177370620"] = "Properties"
|
||||
|
||||
@@ -11941,9 +11959,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T273798258"] = "
|
||||
-- Size
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2789707388"] = "Size"
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141"] = "Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141::INFORMAL"] = "Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715"] = "The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715::INFORMAL"] = "The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model configured
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2941224401"] = "No model configured"
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535"] = "No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535::INFORMAL"] = "No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Prompt: set
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3156437951"] = "Prompt: set"
|
||||
|
||||
@@ -12001,12 +12037,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T521056824::INFO
|
||||
-- Audit model
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T532102309"] = "Audit model"
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381"] = "No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381::INFORMAL"] = "No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- System Prompt
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T628396066"] = "System Prompt"
|
||||
|
||||
@@ -16591,9 +16621,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T386176
|
||||
-- When enabled, you can preselect some job posting options. This might be useful when you prefer a specific LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T3861766667::INFORMAL"] = "When enabled, you can preselect some job posting options. This might be useful when you prefer a specific LLM model."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -16621,8 +16648,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361
|
||||
-- Choose whether the assistant should use the app default profile, no profile, or a specific profile.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361623::INFORMAL"] = "Choose whether the assistant should use the app default profile, no profile, or a specific profile."
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1993094764"] = "When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often."
|
||||
@@ -16642,27 +16672,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2529161
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3448155331"] = "Close"
|
||||
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Assistant: Legal Check Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4033382756"] = "Assistant: Legal Check Options"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- No preset preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGMODELCOMPARISON::T1028082569"] = "No preset preselected"
|
||||
|
||||
@@ -17101,9 +17131,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T99564
|
||||
-- A slide holds at most this many bullet points, in all of its text slots together. Match it to the room for text in the layouts of your template.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T995644230::INFORMAL"] = "A slide holds at most this many bullet points, in all of its text slots together. Match it to the room for text in the layouts of your template."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -17119,9 +17146,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T16331
|
||||
-- Web content reader is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1701127912"] = "Web content reader is not preselected"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2090693677"] = "Hide the web content reader?"
|
||||
|
||||
@@ -17131,21 +17155,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T21718
|
||||
-- No SWOT analysis options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2361666775"] = "No SWOT analysis options are preselected"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2429021439"] = "When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed."
|
||||
|
||||
-- Preselect SWOT analysis options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2593950994"] = "Preselect SWOT analysis options?"
|
||||
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907"] = "When enabled, the web content reader is preselected. This is useful when you often analyze content from websites."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907::INFORMAL"] = "When enabled, the web content reader is preselected. This is useful when you often analyze content from websites."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T332064979"] = "When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed."
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3448155331"] = "Close"
|
||||
|
||||
@@ -17155,9 +17185,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T35473
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Specify topics the SWOT analysis should pay particular attention to.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3857591121"] = "Specify topics the SWOT analysis should pay particular attention to."
|
||||
|
||||
@@ -17173,6 +17200,9 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T62915
|
||||
-- Preselect an analysis focus
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T656094797"] = "Preselect an analysis focus"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T975761680"] = "When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM."
|
||||
|
||||
@@ -17209,9 +17239,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T388911788
|
||||
-- Preselect synonym options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T4170921846"] = "Preselect synonym options?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -17227,12 +17254,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T141
|
||||
-- Preselect another target language
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1462295644"] = "Preselect another target language"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1633101895"] = "When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use."
|
||||
|
||||
@@ -17242,9 +17263,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T170
|
||||
-- Assistant: Text Summarizer Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1767527569"] = "Assistant: Text Summarizer Options"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2090693677"] = "Hide the web content reader?"
|
||||
|
||||
@@ -17260,6 +17278,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T244
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- No summarizer options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3215334223"] = "No summarizer options are preselected"
|
||||
|
||||
@@ -17278,12 +17302,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T354
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Preselect important aspects
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3705987833"] = "Preselect important aspects"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- Which summarizer complexity should be preselected?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T408530182"] = "Which summarizer complexity should be preselected?"
|
||||
|
||||
@@ -17299,8 +17326,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T511
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1013787967"] = "Content cleaner agent is preselected"
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- Assistant: Translator Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1016384269"] = "Assistant: Translator Options"
|
||||
@@ -17326,8 +17353,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T170112
|
||||
-- Live translation is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1825690873"] = "Live translation is not preselected"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- Preselect translator options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1989346399"] = "Preselect translator options?"
|
||||
@@ -17344,9 +17374,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T243574
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- No translator options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2866358796"] = "No translator options are preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3448155331"] = "Close"
|
||||
|
||||
@@ -17362,9 +17398,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T354826
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T4195511669"] = "When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model."
|
||||
|
||||
@@ -17374,11 +17407,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T419551
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- How fast should the live translation react?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T884246296"] = "How fast should the live translation react?"
|
||||
@@ -18178,12 +18208,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3011450657"] = "My Tasks"
|
||||
-- E-Mail
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3026443472"] = "E-Mail"
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page."
|
||||
|
||||
-- Translate AI Studio text content into other languages
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3181803840"] = "Translate AI Studio text content into other languages"
|
||||
|
||||
@@ -19510,12 +19534,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410"] = "Please drop only one
|
||||
-- Please drop only one plugin archive at a time.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410::INFORMAL"] = "Please drop only one plugin archive at a time."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually."
|
||||
|
||||
-- The assistant plugin '{0}' has been successfully revised.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4157246824"] = "The assistant plugin '{0}' has been successfully revised."
|
||||
|
||||
@@ -21541,6 +21559,54 @@ UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1713926719"] = "The export s
|
||||
-- The export failed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1895034475"] = "The export failed."
|
||||
|
||||
-- The organization does not allow the provider for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1679509394"] = "The organization does not allow the provider for security checks."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532"] = "AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings."
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2034826200"] = "No audit provider is configured."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167"] = "Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167::INFORMAL"] = "Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2861409367"] = "The provider is not trusted enough for security checks."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740"] = "AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings."
|
||||
|
||||
-- No provider is configured for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3445977179"] = "No provider is configured for security checks."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793"] = "AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219::INFORMAL"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- Text
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::DATAMODEL::ASSISTANTCOMPONENTTYPEEXTENSIONS::T1041509726"] = "Text"
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ public static class ChatCompression
|
||||
/// still has the message being written in that field, so such a message is summarized instead.<br/><br/>
|
||||
///
|
||||
/// What described the last request of the compressed chat is reset, as after a rollback: the data
|
||||
/// retrieved for it and the data sources an agent picked. The restrictions only tighten, by those
|
||||
/// retrieved for it and the data sources an AI operation picked. The restrictions only tighten, by those
|
||||
/// the summary brings along, see AssistantLaunchService.CreateTextPayloadAsync.<br/><br/>
|
||||
///
|
||||
/// The last answer keeps what AI Studio noted about its tool calls and sources. The web addresses
|
||||
|
||||
@@ -200,7 +200,7 @@ public sealed class ContentText : IContent
|
||||
{
|
||||
try
|
||||
{
|
||||
// Most answers, those of the agents among them, received nothing to store, and need no database:
|
||||
// Most answers, those of the AI operations among them, received nothing to store, and need no database:
|
||||
if (!this.SourcePassages.Any(passage => passage.HoldsTextsToStore))
|
||||
return;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ public static class ImageSourceExtensions
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is for the images inside the content of a chat, which go to external data sources and
|
||||
/// agents as they are. Attached images, which go to a model, take ModelImageService instead: it
|
||||
/// AI operations as they are. Attached images, which go to a model, take ModelImageService instead: it
|
||||
/// scales them down and encodes them anew within the limit of the provider.<br/>
|
||||
/// <br/>
|
||||
/// The images are directly converted to base64 strings. The maximum
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@using AIStudio.Agents.AssistantAudit
|
||||
@using AIStudio.AIOperations.PluginAudit
|
||||
@inherits MSGComponentBase
|
||||
|
||||
@if (this.Plugin is not null)
|
||||
|
||||
@@ -1070,7 +1070,7 @@ public partial class ChatComponent : MSGComponentBase
|
||||
/// <remarks>
|
||||
/// As with the tools, a template which carries no options says nothing and leaves the chat
|
||||
/// defaults in place. A template which carries them answers more than which sources to search:
|
||||
/// whether data sources are used at all, and whether an agent picks them for each message.
|
||||
/// whether data sources are used at all, and whether an AI operation picks them for each message.
|
||||
/// </remarks>
|
||||
private DataSourceOptions GetAutomaticDataSourceOptions() =>
|
||||
this.currentChatTemplate.DataSourceOptions?.CreateCopy() ?? this.SettingsManager.ConfigurationData.Chat.PreselectedDataSourceOptions.CreateCopy();
|
||||
@@ -2355,7 +2355,7 @@ public partial class ChatComponent : MSGComponentBase
|
||||
await this.SyncWorkspaceHeaderWithChatThreadAsync();
|
||||
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
|
||||
|
||||
// The new chat forgot which data sources an agent picked for the last request of the old one:
|
||||
// The new chat forgot which data sources an AI operation picked for the last request of the old one:
|
||||
this.dataSourceSelectionComponent?.ChangeOptionWithoutSaving(continuation.DataSourceOptions, continuation.AISelectedDataSources);
|
||||
this.tokenTracker?.Nudge();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@inherits ConfigurationBaseCore
|
||||
|
||||
<MudSwitch T="bool" Disabled="@this.IsDisabled" Value="@this.State()" ValueChanged="@this.OptionChanged" Color="Color.Primary">
|
||||
<MudSwitch @key="@this.switchKey" T="bool" Disabled="@this.IsDisabled" Value="@this.State()" ValueChanged="@this.OptionChanged" Color="Color.Primary">
|
||||
@(this.State() ? this.LabelOn : this.LabelOff)
|
||||
</MudSwitch>
|
||||
@@ -31,6 +31,24 @@ public partial class ConfigurationOption : ConfigurationBaseCore
|
||||
[Parameter]
|
||||
public Action<bool> StateUpdate { get; set; } = _ => { };
|
||||
|
||||
/// <summary>
|
||||
/// Asks before the option takes the new state, e.g., whether the user really wants to turn off a protection.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It gets the new state and returns false to keep the old one.
|
||||
/// </remarks>
|
||||
[Parameter]
|
||||
public Func<bool, Task<bool>> ConfirmChange { get; set; } = _ => Task.FromResult(true);
|
||||
|
||||
/// <summary>
|
||||
/// The key of the switch, which changes whenever a change was rejected.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The switch shows the state the user clicked, until its value changes. A rejected change leaves the value
|
||||
/// as it was, so the switch is built anew to show it.
|
||||
/// </remarks>
|
||||
private int switchKey;
|
||||
|
||||
#region Overrides of ConfigurationBase
|
||||
|
||||
/// <inheritdoc />
|
||||
@@ -46,6 +64,12 @@ public partial class ConfigurationOption : ConfigurationBaseCore
|
||||
|
||||
private async Task OptionChanged(bool updatedState)
|
||||
{
|
||||
if (!await this.ConfirmChange(updatedState))
|
||||
{
|
||||
this.switchKey++;
|
||||
return;
|
||||
}
|
||||
|
||||
this.StateUpdate(updatedState);
|
||||
await this.SettingsManager.StoreSettings();
|
||||
await this.InformAboutChange();
|
||||
|
||||
@@ -49,13 +49,23 @@ public partial class ConfigurationProviderSelection : MSGComponentBase
|
||||
[Parameter]
|
||||
public string? NoPreselectionText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The text of the empty entry, which says what happens without a preselected provider, or null for "Use app default".
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Set it where the empty entry falls back on something else than the provider of the whole app, e.g., on the
|
||||
/// model of the chat.
|
||||
/// </remarks>
|
||||
[Parameter]
|
||||
public string? EmptySelectionText { get; set; }
|
||||
|
||||
private IEnumerable<ConfigurationSelectData<string>> FilteredData()
|
||||
{
|
||||
if (this.NoPreselectionText is not null)
|
||||
yield return new(this.NoPreselectionText, AIStudio.Settings.Provider.NONE.Id);
|
||||
|
||||
if(this.Component is not Tools.Components.NONE and not Tools.Components.APP_SETTINGS)
|
||||
yield return new(T("Use app default"), string.Empty);
|
||||
yield return new(this.EmptySelectionText ?? T("Use app default"), string.Empty);
|
||||
|
||||
//
|
||||
// Filter the providers based on the minimum confidence level of this component, the enforced
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using AIStudio.Agents;
|
||||
using AIStudio.AIOperations.DataSourceChoice;
|
||||
using AIStudio.Settings;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<MudTextSwitch Label="@T("AI-based data source selection")" Value="@this.aiBasedSourceSelection" LabelOn="@T("Yes, let the AI decide which data sources are needed.")" LabelOff="@T("No, I manually decide which data source to use.")" ValueChanged="@this.AutoModeChanged" Dense="@true" Disabled="@this.ReadOnly"/>
|
||||
}
|
||||
|
||||
@* With Semantic Search, no agent takes part: nothing would validate the retrieved data. *@
|
||||
@* With Semantic Search, no AI operation takes part: nothing would validate the retrieved data. *@
|
||||
@if (this.AllowsAutomaticSelection && this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation && !this.IsSemanticSearchEffective)
|
||||
{
|
||||
<MudTextSwitch Label="@T("AI-based data validation")" Value="@this.aiBasedValidation" LabelOn="@T("Yes, let the AI validate & filter the retrieved data.")" LabelOff="@T("No, use all data retrieved from the data sources.")" ValueChanged="@this.ValidationModeChanged" Dense="@true" Disabled="@this.ReadOnly"/>
|
||||
@@ -130,8 +130,8 @@
|
||||
</MudList>
|
||||
</ExpansionPanel>
|
||||
@*
|
||||
With Semantic Search, no agent selects: the chat model picks with each search, and its
|
||||
searches show in the answer. With classic RAG, there is something to show once the agent
|
||||
With Semantic Search, no AI operation selects: the chat model picks with each search, and its
|
||||
searches show in the answer. With classic RAG, there is something to show once the AI operation
|
||||
picked for a message.
|
||||
*@
|
||||
@if (!this.IsSemanticSearchEffective && this.DataSourcesAISelected.Count > 0)
|
||||
|
||||
@@ -313,7 +313,7 @@ public partial class DataSourceSelection : MSGComponentBase
|
||||
// that field holds what was usable the last time we looked, so a source filtered out once
|
||||
// would never come back, while the RAG process keeps reading it from the preselection.
|
||||
//
|
||||
// How the chat searches decides whether the agents of the RAG process see the data, and
|
||||
// How the chat searches decides whether the AI operations of the RAG process see the data, and
|
||||
// with that which data sources the provider of the chat may use at all. With several
|
||||
// models, all of them search the same way, and each must be allowed every data source:
|
||||
//
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<MudTextSwitch Label="@T("Read content from web?")" Disabled="@this.AgentIsRunning" Value="@this.Preselect" ValueChanged="@this.ShowWebContentReaderChanged" LabelOn="@T("Show web content options")" LabelOff="@T("Hide web content options")" />
|
||||
@if (this.Preselect)
|
||||
{
|
||||
<MudTextSwitch Label="@T("Clean up content by using an LLM agent?")" Value="@this.PreselectContentCleanerAgent" ValueChanged="@this.UseContentCleanerAgentChanged" Disabled="@this.AgentIsRunning" LabelOn="@T("The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used.")" LabelOff="@T("No content cleaning")" />
|
||||
<MudTextSwitch Label="@T("Clean up the content with AI?")" Value="@this.PreselectContentCleanerAgent" ValueChanged="@this.UseContentCleanerAgentChanged" Disabled="@this.AgentIsRunning" LabelOn="@T("The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work.")" LabelOff="@T("No content cleaning")" />
|
||||
@if (this.ContentCleanerHint is { } contentCleanerHint)
|
||||
{
|
||||
<MudText Typo="Typo.body2" Color="Color.Error" Class="mb-3">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using AIStudio.Agents;
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.AIOperations;
|
||||
using AIStudio.AIOperations.TextContentCleaning;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.Security;
|
||||
using AIStudio.Tools.Web;
|
||||
|
||||
@@ -25,7 +27,10 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
private ILogger<ReadWebContent> Logger { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
private AgentTextContentCleaner AgentTextContentCleaner { get; init; } = null!;
|
||||
private TextContentCleaningOperation TextContentCleaning { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
private AIOperationProviderResolver ProviderResolver { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
private PromptInjectionGuardService PromptInjectionGuardService { get; init; } = null!;
|
||||
@@ -74,15 +79,15 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
private ProcessStepValue processStep;
|
||||
|
||||
/// <summary>
|
||||
/// The model the content cleaner runs with.
|
||||
/// The model the content cleaner would run with, and why others were not chosen.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is a resolved value, not a chosen one: the reader has no model selection of its own,
|
||||
/// it takes what the assistant around it uses, unless a dedicated one for the cleaner or an
|
||||
/// app-wide default takes precedence. Because the assistant's model can change at any moment,
|
||||
/// this is resolved again on every render instead of being remembered from the first one.
|
||||
/// it takes what the assistant around it uses, unless a dedicated one for the cleaner takes
|
||||
/// precedence, or the app-wide default fills in. Because the assistant's model can change at any
|
||||
/// moment, this is resolved again on every render instead of being remembered from the first one.
|
||||
/// </remarks>
|
||||
private AIStudio.Settings.Provider providerSettings = AIStudio.Settings.Provider.NONE;
|
||||
private AIOperationProviderChoice cleanerChoice = new(AIStudio.Settings.Provider.NONE, AIOperationProviderIssue.NOT_SET, AIOperationProviderIssue.NOT_SET);
|
||||
|
||||
#region Overrides of ComponentBase
|
||||
|
||||
@@ -130,7 +135,24 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
/// parameter, and a parameter arrives whenever the parent renders. Resolving only once would
|
||||
/// leave the cleaner with whatever was set the first time this component was built.
|
||||
/// </remarks>
|
||||
private void ResolveProvider() => this.providerSettings = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_TEXT_CONTENT_CLEANER, this.ProviderSettings.Id, true);
|
||||
private void ResolveProvider() => this.cleanerChoice = this.ProviderResolver.Preview(TextContentCleaningOperation.GetProviderSettings(this.SettingsManager), ConfidenceLevel.NONE, GetCleanerProviderOptions(this.SettingsManager, this.ProviderSettings));
|
||||
|
||||
/// <summary>
|
||||
/// What the reader adds to the choice of the provider for the content cleaner.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Without a model of its own, the cleaner falls back on the model of the assistant, and then on
|
||||
/// the app-wide default. Its minimum confidence applies to both of them: a model somebody picked
|
||||
/// for the assistant has to clear the bar of the cleaner before the cleaner uses it.
|
||||
/// </remarks>
|
||||
/// <param name="settingsManager">The settings, for the app-wide default.</param>
|
||||
/// <param name="assistantProvider">The model of the assistant around the reader.</param>
|
||||
/// <returns>The options for the provider resolver.</returns>
|
||||
internal static AIOperationProviderOptions GetCleanerProviderOptions(SettingsManager settingsManager, AIStudio.Settings.Provider assistantProvider) => new()
|
||||
{
|
||||
FallbackProviderIds = [assistantProvider.Id, settingsManager.AppDefaultProviderId],
|
||||
OwnMinimumConfidenceAppliesToFallbacks = true,
|
||||
};
|
||||
|
||||
private async Task LoadFromWeb()
|
||||
{
|
||||
@@ -161,41 +183,30 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
markdown = retrievedPage.ExtractedPage.Markdown;
|
||||
markdown = await this.PromptInjectionGuardService.SanitizeAsync(markdown, PromptInjectionSource.WebContent(this.URL));
|
||||
|
||||
if (this.PreselectContentCleanerAgent && this.providerSettings == AIStudio.Settings.Provider.NONE)
|
||||
if (this.PreselectContentCleanerAgent)
|
||||
{
|
||||
var request = new TextContentCleaningRequest(markdown, this.URL);
|
||||
var choice = this.ProviderResolver.Resolve(this.TextContentCleaning, request, TextContentCleaningOperation.GetProviderSettings(this.SettingsManager), GetCleanerProviderOptions(this.SettingsManager, this.ProviderSettings));
|
||||
if (!choice.HasProvider)
|
||||
{
|
||||
//
|
||||
// Say that the cleaning did not happen. The user asked for it, the page arrives,
|
||||
// and without a word they would take the raw markdown -- navigation, cookie banner
|
||||
// and advertising included -- for the cleaned result.
|
||||
//
|
||||
await this.MessageBus.SendError(new(AppIcons.AGENT, T("The content was loaded, but not cleaned: no model is available for the content cleaner.")));
|
||||
await this.MessageBus.SendError(new(AppIcons.AI_OPERATION, T("The content was loaded, but not cleaned: no model is available for the content cleaner.")));
|
||||
}
|
||||
|
||||
if (this.PreselectContentCleanerAgent && this.providerSettings != AIStudio.Settings.Provider.NONE)
|
||||
else
|
||||
{
|
||||
this.AgentTextContentCleaner.ProviderSettings = this.providerSettings;
|
||||
var additionalData = new Dictionary<string, string>
|
||||
{
|
||||
{ "sourceURL", this.URL },
|
||||
};
|
||||
|
||||
this.processStep = this.process[ReadWebContentSteps.CLEANING];
|
||||
this.AgentIsRunning = true;
|
||||
await this.AgentIsRunningChanged.InvokeAsync(this.AgentIsRunning);
|
||||
this.StateHasChanged();
|
||||
|
||||
var contentBlock = await this.AgentTextContentCleaner.ProcessInput(new ContentBlock
|
||||
{
|
||||
Time = DateTimeOffset.UtcNow,
|
||||
ContentType = ContentType.TEXT,
|
||||
Role = ChatRole.USER,
|
||||
Content = new ContentText
|
||||
{
|
||||
Text = markdown,
|
||||
},
|
||||
}, additionalData);
|
||||
|
||||
markdown = contentBlock.Content is ContentText text ? text.Text : markdown;
|
||||
var result = await this.TextContentCleaning.RunAsync(request, new(choice.Provider));
|
||||
markdown = result.Markdown;
|
||||
if (!result.IsCleaned)
|
||||
await this.MessageBus.SendWarning(new(AppIcons.AI_OPERATION, T("The content was loaded, but not cleaned: the model of the content cleaner gave no answer.")));
|
||||
|
||||
this.processStep = this.process[ReadWebContentSteps.DONE];
|
||||
this.AgentIsRunning = false;
|
||||
@@ -203,6 +214,7 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
this.StateHasChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
if (this.AgentIsRunning)
|
||||
@@ -269,20 +281,24 @@ public partial class ReadWebContent : MSGComponentBase
|
||||
/// This is a hint, not a validation: the cleaner is an option of the reader, and an option
|
||||
/// nobody can use yet must not keep the assistant around it from running. It is also stated
|
||||
/// rather than remembered, so that choosing a model below makes it disappear at once.
|
||||
/// The two causes lead to different places, which is why they are told apart: either no model
|
||||
/// was chosen at all, or the chosen one is not trusted enough for this agent.
|
||||
/// The causes lead to different places, which is why they are told apart: no model was chosen
|
||||
/// at all, the organization does not allow the chosen one, or it is not trusted enough for the
|
||||
/// cleaner. The reason comes from the choice itself, where the first named fallback is the model
|
||||
/// of the assistant, or the app-wide default when the assistant has none.
|
||||
/// </remarks>
|
||||
private string? ContentCleanerHint
|
||||
{
|
||||
get
|
||||
{
|
||||
if(!this.PreselectContentCleanerAgent || this.providerSettings != AIStudio.Settings.Provider.NONE)
|
||||
if(!this.PreselectContentCleanerAgent || this.cleanerChoice.HasProvider)
|
||||
return null;
|
||||
|
||||
if(this.ProviderSettings == AIStudio.Settings.Provider.NONE)
|
||||
return TA("The content cleaner uses the model of this assistant. Please select one below.");
|
||||
|
||||
return TA("The selected model does not meet the confidence requirements of the content cleaner. Please select another model, or configure an eligible one in the app settings.");
|
||||
return this.cleanerChoice.FallbackIssue switch
|
||||
{
|
||||
AIOperationProviderIssue.NOT_SET => TA("The content cleaner uses the model of this assistant. Please select one below."),
|
||||
AIOperationProviderIssue.PROHIBITED => TA("Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings."),
|
||||
_ => TA("The selected model does not meet the confidence requirements of the content cleaner. Please select another model, or configure an eligible one in the app settings."),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +1,25 @@
|
||||
@using AIStudio.Settings
|
||||
@inherits SettingsPanelBase
|
||||
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.SECURITY_AUDIT" HeaderText="@T("Agent: Security Audit for external Assistants")">
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.SECURITY_AUDIT" HeaderText="@T("AI Task: Security Audit for external Assistants")">
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
||||
@T("This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes.")
|
||||
@T("Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes.")
|
||||
</MudJustifiedText>
|
||||
<MudField Label="@T("Require a security audit before activating external Assistants?")" Variant="Variant.Outlined" Underline="false" Class="mb-6" InnerPadding="false">
|
||||
<MudSwitch T="bool" Value="@this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation" ValueChanged="@this.RequireAuditBeforeActivationChanged" Color="Color.Primary">
|
||||
@(this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation ? T("External Assistants must be audited before activation") : T("External Assistant can be activated without an audit"))
|
||||
</MudSwitch>
|
||||
</MudField>
|
||||
<ConfigurationProviderSelection Data="@this.AvailableLLMProvidersFunc()" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantPluginAudit.PreselectedAgentProvider = selectedValue)" HelpText="@(() => TA("Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider."))" />
|
||||
<ConfigurationSelect OptionDescription="@T("Minimum required audit level")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel)" Data="@ConfigurationSelectDataFactory.GetAssistantAuditLevelsData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel = selectedValue)" OptionHelp="@T("External Assistants rated below this audit level are treated as insufficiently reviewed.")" />
|
||||
<ConfigurationOption OptionDescription="@T("Require a security audit before activating external Assistants?")" LabelOn="@T("External Assistants must be audited before activation")" LabelOff="@T("External Assistant can be activated without an audit")" State="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation = updatedState)" ConfirmChange="@this.ConfirmRequireAuditBeforeActivationChange" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.RequireAuditBeforeActivation, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationMinConfidenceSelection RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumProviderConfidence = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.MinimumProviderConfidence, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Component="Components.AGENT_ASSISTANT_PLUGIN_AUDIT" EmptySelectionText="@T("Use the app default, otherwise the model chosen when auditing")" Data="@this.AvailableLLMProvidersFunc()" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantPluginAudit.PreselectedAgentProvider = selectedValue)" HelpText="@(() => TA("Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing."))" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Minimum required audit level")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel)" Data="@ConfigurationSelectDataFactory.GetAssistantAuditLevelsData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel = selectedValue)" OptionHelp="@T("External Assistants rated below this audit level are treated as insufficiently reviewed.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.MinimumLevel, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@T("Block activation below the minimum Audit-Level?")" LabelOn="@T("Activation is blocked below the minimum Audit-Level")" LabelOff="@T("Users may still activate plugins below the minimum Audit-Level")" State="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.BlockActivationBelowMinimum)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AssistantPluginAudit.BlockActivationBelowMinimum = updatedState)"
|
||||
OptionHelp="@TA("The audit shows you all security risks and information. If you consider this rating false at your own discretion, you can decide to install it anyway (not recommended).")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Automatically audit new or updated plugins in the background?")" LabelOn="@T("Security audit is automatically done in the background")" LabelOff="@T("Security audit is done manually by the user")" State="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.AutomaticallyAuditAssistants)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AssistantPluginAudit.AutomaticallyAuditAssistants = updatedState)" />
|
||||
OptionHelp="@TA("The audit shows you all security risks and information. If you consider this rating false at your own discretion, you can decide to install it anyway (not recommended).")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.BlockActivationBelowMinimum, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@T("Automatically audit new or updated plugins in the background?")" LabelOn="@T("Security audit is automatically done in the background")" LabelOff="@T("Security audit is done manually by the user")" State="@(() => this.SettingsManager.ConfigurationData.AssistantPluginAudit.AutomaticallyAuditAssistants)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AssistantPluginAudit.AutomaticallyAuditAssistants = updatedState)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantPluginAudit, x => x.AutomaticallyAuditAssistants, out var meta) && meta.IsLocked"/>
|
||||
@if (this.IsAutomaticAuditWithoutProvider)
|
||||
{
|
||||
<MudAlert Severity="Severity.Warning" Dense="@true" Class="mb-3">
|
||||
<MudJustifiedText Typo="Typo.body2">
|
||||
@TA("Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.")
|
||||
</MudJustifiedText>
|
||||
</MudAlert>
|
||||
}
|
||||
</MudPaper>
|
||||
</ExpansionPanel>
|
||||
+27
-16
@@ -1,37 +1,48 @@
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
using DialogOptions = AIStudio.Dialogs.DialogOptions;
|
||||
|
||||
namespace AIStudio.Components.Settings;
|
||||
|
||||
public partial class SettingsPanelAgentAssistantAudit : SettingsPanelBase
|
||||
{
|
||||
private async Task RequireAuditBeforeActivationChanged(bool updatedState)
|
||||
{
|
||||
if (!updatedState)
|
||||
[Inject]
|
||||
private AssistantPluginAuditService AssistantPluginAuditService { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Whether automatic audits are switched on, although no provider is left for them.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Without a provider, the automatic audit skips every plugin. The least any audit requires decides here:
|
||||
/// should no provider meet it, none meets what a particular plugin requires either.
|
||||
/// </remarks>
|
||||
private bool IsAutomaticAuditWithoutProvider => this.SettingsManager.ConfigurationData.AssistantPluginAudit.AutomaticallyAuditAssistants && !this.AssistantPluginAuditService.PreviewProvider().HasProvider;
|
||||
/// <summary>
|
||||
/// Asks the user before they turn off the audit before activation; turning it on needs no confirmation.
|
||||
/// </summary>
|
||||
/// <param name="updatedState">The state the user chose.</param>
|
||||
/// <returns>True when the option may take the state.</returns>
|
||||
private async Task<bool> ConfirmRequireAuditBeforeActivationChange(bool updatedState)
|
||||
{
|
||||
if (updatedState)
|
||||
return true;
|
||||
|
||||
var dialogParameters = new DialogParameters<ConfirmDialog>
|
||||
{
|
||||
{
|
||||
x => x.Message,
|
||||
this.TA("Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?")
|
||||
TA("Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?")
|
||||
},
|
||||
};
|
||||
|
||||
var dialogReference = await this.DialogService.ShowAsync<ConfirmDialog>(
|
||||
this.T("Disable Assistant Audit Protection"),
|
||||
T("Disable Assistant Audit Protection"),
|
||||
dialogParameters,
|
||||
DialogOptions.FULLSCREEN);
|
||||
var dialogResult = await dialogReference.Result;
|
||||
if (dialogResult is null || dialogResult.Canceled)
|
||||
{
|
||||
await this.InvokeAsync(this.StateHasChanged);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.SettingsManager.ConfigurationData.AssistantPluginAudit.RequireAuditBeforeActivation = updatedState;
|
||||
await this.SettingsManager.StoreSettings();
|
||||
await this.SendMessage<bool>(Event.CONFIGURATION_CHANGED);
|
||||
await this.InvokeAsync(this.StateHasChanged);
|
||||
return dialogResult is { Canceled: false };
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,13 @@
|
||||
@using AIStudio.Settings
|
||||
@inherits SettingsPanelBase
|
||||
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.AGENT_CONTENT_CLEANER" HeaderText="@T("Agent: Text Content Cleaner Options")">
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.TEXT_CONTENT_CLEANER" HeaderText="@T("AI Task: Text Content Cleaner")">
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
||||
@T("Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.")
|
||||
@T("When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.")
|
||||
</MudJustifiedText>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect text content cleaner options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.")"/>
|
||||
<ConfigurationProviderSelection Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectedAgentProvider = selectedValue)"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect text content cleaner options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.TextContentCleaner, x => x.PreselectAgentOptions, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationMinConfidenceSelection Disabled="@(() => !this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)" RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.TextContentCleaner.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.TextContentCleaner.MinimumProviderConfidence = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.TextContentCleaner, x => x.MinimumProviderConfidence, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Component="Components.AGENT_TEXT_CONTENT_CLEANER" EmptySelectionText="@T("Use the model of the assistant")" Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectedAgentProvider = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.TextContentCleaner, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
</MudPaper>
|
||||
</ExpansionPanel>
|
||||
+5
-4
@@ -1,12 +1,13 @@
|
||||
@using AIStudio.Settings
|
||||
@inherits SettingsPanelBase
|
||||
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.AGENT_DATA_SOURCE_SELECTION" HeaderText="@T("Agent: Data Source Selection Options")">
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.DATA_SOURCE_SELECTION" HeaderText="@T("AI Task: Data Source Selection")">
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
||||
@T("Use Case: this agent is used to select the appropriate data sources for the current prompt.")
|
||||
@T("In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt.")
|
||||
</MudJustifiedText>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect data source selection options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentDataSourceSelection, x => x.PreselectAgentOptions, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectedAgentProvider = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentDataSourceSelection, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect data source selection options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentDataSourceSelection, x => x.PreselectAgentOptions, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationMinConfidenceSelection Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions)" RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.MinimumProviderConfidence = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentDataSourceSelection, x => x.MinimumProviderConfidence, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Component="Components.AGENT_DATA_SOURCE_SELECTION" EmptySelectionText="@T("Use the model of the chat")" Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentDataSourceSelection.PreselectedAgentProvider = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentDataSourceSelection, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
</MudPaper>
|
||||
</ExpansionPanel>
|
||||
+7
-6
@@ -1,17 +1,18 @@
|
||||
@using AIStudio.Settings
|
||||
@inherits SettingsPanelBase
|
||||
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.AGENT_RETRIEVAL_CONTEXT_VALIDATION" HeaderText="@T("Agent: Retrieval Context Validation Options")">
|
||||
<ExpansionPanel HeaderIcon="@AppIcons.RETRIEVAL_CONTEXT_VALIDATION" HeaderText="@T("AI Task: Retrieval Context Validation")">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
||||
@TA("Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.")
|
||||
@TA("In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.")
|
||||
</MudJustifiedText>
|
||||
<ConfigurationOption OptionDescription="@T("Enable the retrieval context validation agent?")" LabelOn="@T("The validation agent is enabled")" LabelOff="@T("No validation is performed")" State="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation = updatedState)" OptionHelp="@T("When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.EnableRetrievalContextValidation, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@T("Validate the retrieval contexts?")" LabelOn="@T("Each retrieval context is validated")" LabelOff="@T("No validation is performed")" State="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation = updatedState)" OptionHelp="@T("When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.EnableRetrievalContextValidation, out var meta) && meta.IsLocked"/>
|
||||
@if (this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation)
|
||||
{
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect retrieval context validation options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.PreselectAgentOptions, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSlider T="int" OptionDescription="@T("How many validation agents should work simultaneously?")" Min="1" Max="100" Step="1" Unit="@T("agents")" Value="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.NumParallelValidations)" ValueUpdate="@(updatedValue => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.NumParallelValidations = updatedValue)" OptionHelp="@TA("More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.NumParallelValidations, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectedAgentProvider = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect retrieval context validation options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.PreselectAgentOptions, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSlider T="int" OptionDescription="@T("How many validations should run simultaneously?")" Min="1" Max="100" Step="1" Unit="@T("validations")" Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" Value="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.NumParallelValidations)" ValueUpdate="@(updatedValue => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.NumParallelValidations = updatedValue)" OptionHelp="@TA("Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.NumParallelValidations, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationMinConfidenceSelection Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.MinimumProviderConfidence = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.MinimumProviderConfidence, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationProviderSelection Component="Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION" EmptySelectionText="@T("Use the model of the chat")" Data="@this.AvailableLLMProvidersFunc()" Disabled="@(() => !this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectedAgentProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectedAgentProvider = selectedValue)" IsLocked="() => ManagedConfiguration.TryGet(x => x.AgentRetrievalContextValidation, x => x.PreselectedAgentProvider, out var meta) && meta.IsLocked"/>
|
||||
</MudPaper>
|
||||
}
|
||||
</ExpansionPanel>
|
||||
@@ -23,7 +23,7 @@
|
||||
<ConfigurationOption OptionDescription="@T("Close messages about exported files automatically?")" LabelOn="@T("The message closes after a few seconds")" LabelOff="@TA("The message stays until you close it")" State="@(() => this.SettingsManager.ConfigurationData.App.CloseExportMessagesAutomatically)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.App.CloseExportMessagesAutomatically = updatedState)" OptionHelp="@TA("After you export a file, for example, an answer or a presentation, a message offers to show the file in your file manager or to open it. When enabled, this message closes after a few seconds, like other messages. When disabled, it stays until you close it.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Show details when suspicious content was removed?")" LabelOn="@T("A dialog lists what was removed and explains the attack pattern")" LabelOff="@T("Only a short notification is shown")" State="@(() => this.SettingsManager.ConfigurationData.App.ShowPromptInjectionAlert)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.App.ShowPromptInjectionAlert = updatedState)" OptionHelp="@T("Shows a dialog listing the removed passages, together with an explanation and an external reference.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.App, x => x.ShowPromptInjectionAlert, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSlider T="int" OptionDescription="@T("Request timeout")" Min="@ExternalHttpClientTimeout.MIN_HTTP_CLIENT_TIMEOUT_SECONDS" Max="@ExternalHttpClientTimeout.MAX_HTTP_CLIENT_TIMEOUT_SECONDS" Step="60" Unit="@T("seconds")" Value="@(() => this.SettingsManager.ConfigurationData.App.HttpClientTimeoutSeconds)" ValueUpdate="@(updatedValue => this.SettingsManager.ConfigurationData.App.HttpClientTimeoutSeconds = updatedValue)" OptionHelp="@T("How long AI Studio waits for external HTTP requests, such as AI providers, embeddings, transcription, ERI data sources, and enterprise configuration downloads.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.App, x => x.HttpClientTimeoutSeconds, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@TA("Share feature usage with operators of self-hosted servers?")" LabelOn="@T("Operators of self-hosted servers learn which feature sent a request")" LabelOff="@T("No usage details are sent")" State="@(() => this.SettingsManager.ConfigurationData.App.ShareFeatureUsageWithSelfHostedServerOperators)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.App.ShareFeatureUsageWithSelfHostedServerOperators = updatedState)" OptionHelp="@TA("When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.App, x => x.ShareFeatureUsageWithSelfHostedServerOperators, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationOption OptionDescription="@TA("Share feature usage with operators of self-hosted servers?")" LabelOn="@T("Operators of self-hosted servers learn which feature sent a request")" LabelOff="@T("No usage details are sent")" State="@(() => this.SettingsManager.ConfigurationData.App.ShareFeatureUsageWithSelfHostedServerOperators)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.App.ShareFeatureUsageWithSelfHostedServerOperators = updatedState)" OptionHelp="@TA("When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.")" IsLocked="() => ManagedConfiguration.TryGet(x => x.App, x => x.ShareFeatureUsageWithSelfHostedServerOperators, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Check for updates")" SelectedValue="@(() => this.DisplayedUpdateInterval)" Data="@ConfigurationSelectDataFactory.GetManagedUpdateIntervalData(this.DisplayedUpdateInterval)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.App.UpdateInterval = selectedValue)" OptionHelp="@this.UpdateIntervalHelp" IsLocked="@this.IsUpdateIntervalLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Update installation method")" SelectedValue="@(() => this.DisplayedUpdateInstallation)" Data="@ConfigurationSelectDataFactory.GetUpdateBehaviourData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.App.UpdateInstallation = selectedValue)" OptionHelp="@this.UpdateInstallationHelp" IsLocked="@this.IsUpdateInstallationLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Navigation bar behavior")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.App.NavigationBehavior)" Data="@ConfigurationSelectDataFactory.GetNavBehaviorData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.App.NavigationBehavior = selectedValue)" OptionHelp="@TA("Select the desired behavior for the navigation bar.")"/>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@using AIStudio.Agents.AssistantAudit
|
||||
@using AIStudio.AIOperations.PluginAudit
|
||||
@inherits MSGComponentBase
|
||||
|
||||
<MudDialog DefaultFocus="DefaultFocus.FirstChild">
|
||||
@@ -40,7 +40,7 @@
|
||||
{
|
||||
<MudPaper Class="pa-3 border-dashed border rounded-lg">
|
||||
<MudText Typo="Typo.body2" Class="mb-3">
|
||||
@TA("No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.")
|
||||
@this.ProviderSelectionHint
|
||||
</MudText>
|
||||
<CascadingValue Value="Components.AGENT_ASSISTANT_PLUGIN_AUDIT">
|
||||
<ProviderSelection @bind-ProviderSettings="@this.auditProviderSelection" ValidateProvider="@this.ValidatingProvider" Label="@T("Model")" Disabled="@this.isAuditing" />
|
||||
@@ -210,7 +210,7 @@
|
||||
<MudStack Spacing="2" Class="mt-4">
|
||||
<MudText Typo="Typo.h6">@T("Audit Result")</MudText>
|
||||
|
||||
@if (this.audit.Findings.Count == 0 && this.audit.Level is not AssistantAuditLevel.UNKNOWN)
|
||||
@if (this.audit.Findings.Count == 0 && this.audit.Level is not PluginAuditLevel.UNKNOWN)
|
||||
{
|
||||
<MudAlert Severity="Severity.Success" Variant="Variant.Filled" Dense="true" Icon="@AppIcons.AUDIT_SAFE">
|
||||
<strong>@T("Safe")</strong><span>: @T("No security issues were found during this check.")</span>
|
||||
@@ -241,22 +241,22 @@
|
||||
{
|
||||
var severityUi = finding.Severity switch
|
||||
{
|
||||
AssistantAuditLevel.UNKNOWN => (
|
||||
PluginAuditLevel.UNKNOWN => (
|
||||
AlertStyling: "color: rgb(12,128,223); background-color: rgba(33,150,243,0.06);",
|
||||
AlertIcon: AppIcons.UNKNOWN,
|
||||
ChipColor: Color.Info
|
||||
),
|
||||
AssistantAuditLevel.DANGEROUS => (
|
||||
PluginAuditLevel.DANGEROUS => (
|
||||
AlertStyling: "color: rgb(242,28,13); background-color: rgba(244,67,54,0.06);",
|
||||
AlertIcon: AppIcons.SECURITY_DANGEROUS,
|
||||
ChipColor: Color.Error
|
||||
),
|
||||
AssistantAuditLevel.CAUTION => (
|
||||
PluginAuditLevel.CAUTION => (
|
||||
AlertStyling: "color: rgb(214,129,0); background-color: rgba(255,152,0,0.06);",
|
||||
AlertIcon: AppIcons.WARNING,
|
||||
ChipColor: Color.Warning
|
||||
),
|
||||
AssistantAuditLevel.SAFE => (
|
||||
PluginAuditLevel.SAFE => (
|
||||
AlertStyling: "color: rgb(0,163,68); background-color: rgba(0,200,83,0.06);",
|
||||
AlertIcon: AppIcons.AUDIT_SAFE,
|
||||
ChipColor: Color.Success
|
||||
|
||||
@@ -2,7 +2,8 @@ using System.Collections;
|
||||
using System.Collections.Immutable;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Components;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings.DataModel;
|
||||
@@ -26,6 +27,9 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
[Inject]
|
||||
private IDialogService DialogService { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
private AIOperationProviderResolver ProviderResolver { get; init; } = null!;
|
||||
|
||||
[Parameter] public Guid PluginId { get; set; }
|
||||
|
||||
private PluginAssistants? plugin;
|
||||
@@ -40,7 +44,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
private PluginAssistantSecurityState securityState = new();
|
||||
|
||||
/// <summary>
|
||||
/// The provider the user picks inside this dialog when nothing is configured for the audit agent.
|
||||
/// The provider the user picks inside this dialog when nothing is configured for the audit.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It lives and dies with this dialog and is never written to the settings: an audit is a one-off
|
||||
@@ -48,19 +52,34 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
/// </remarks>
|
||||
private AIStudio.Settings.Provider auditProviderSelection = AIStudio.Settings.Provider.NONE;
|
||||
|
||||
private AIStudio.Settings.Provider CurrentProvider => this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_ASSISTANT_PLUGIN_AUDIT, null, true);
|
||||
/// <summary>
|
||||
/// The provider an audit would run with without a choice in this dialog, and why others were not chosen.
|
||||
/// </summary>
|
||||
private AIOperationProviderChoice ConfiguredChoice => this.ProviderResolver.Preview(PluginAuditOperation.GetProviderSettings(this.SettingsManager), ConfidenceLevel.NONE, AssistantPluginAuditService.GetProviderOptions(this.SettingsManager, null));
|
||||
|
||||
/// <summary>
|
||||
/// The provider this audit runs with: the configured one, or what the user picked here instead.
|
||||
/// </summary>
|
||||
private AIStudio.Settings.Provider EffectiveProvider => this.CurrentProvider == AIStudio.Settings.Provider.NONE
|
||||
? this.auditProviderSelection
|
||||
: this.CurrentProvider;
|
||||
/// <remarks>
|
||||
/// Chosen as the audit service chooses, so that the dialog never names a provider the audit would refuse.
|
||||
/// </remarks>
|
||||
private AIStudio.Settings.Provider EffectiveProvider => this.ProviderResolver.Preview(PluginAuditOperation.GetProviderSettings(this.SettingsManager), ConfidenceLevel.NONE, AssistantPluginAuditService.GetProviderOptions(this.SettingsManager, this.auditProviderSelection)).Provider;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this dialog has to offer a provider, because neither the audit agent nor the app has one.
|
||||
/// Whether this dialog has to offer a provider, because neither the audit nor the app has a usable one.
|
||||
/// </summary>
|
||||
private bool NeedsProviderSelection => this.CurrentProvider == AIStudio.Settings.Provider.NONE;
|
||||
private bool NeedsProviderSelection => !this.ConfiguredChoice.HasProvider;
|
||||
|
||||
/// <summary>
|
||||
/// Says why this dialog offers a provider: none is set, or the one set cannot be used.
|
||||
/// </summary>
|
||||
private string ProviderSelectionHint => AssistantPluginAuditService.GetRelevantIssue(this.ConfiguredChoice) switch
|
||||
{
|
||||
AIOperationProviderIssue.NOT_SET => TA("No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."),
|
||||
AIOperationProviderIssue.MISSING => TA("The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."),
|
||||
AIOperationProviderIssue.PROHIBITED => TA("Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."),
|
||||
_ => TA("The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."),
|
||||
};
|
||||
|
||||
private string ProviderLabel => this.EffectiveProvider == AIStudio.Settings.Provider.NONE
|
||||
? T("No model configured")
|
||||
@@ -68,7 +87,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
|
||||
private DataAssistantPluginAudit AuditSettings => this.SettingsManager.ConfigurationData.AssistantPluginAudit;
|
||||
|
||||
private AssistantAuditLevel MinimumLevel => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel;
|
||||
private PluginAuditLevel MinimumLevel => this.SettingsManager.ConfigurationData.AssistantPluginAudit.MinimumLevel;
|
||||
|
||||
private string MinimumLevelLabel => this.MinimumLevel.Name;
|
||||
|
||||
@@ -87,7 +106,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
/// audits. What the dialog shows the user still reads the raw result: a failed run is precisely
|
||||
/// what they need to see.
|
||||
/// </remarks>
|
||||
private PluginAssistantAudit? ConclusiveAudit => this.audit is { Level: not AssistantAuditLevel.UNKNOWN } ? this.audit : null;
|
||||
private PluginAssistantAudit? ConclusiveAudit => this.audit is { Level: not PluginAuditLevel.UNKNOWN } ? this.audit : null;
|
||||
|
||||
private bool IsAuditBelowMinimum => this.ConclusiveAudit is not null && this.ConclusiveAudit.Level < this.MinimumLevel;
|
||||
|
||||
@@ -144,10 +163,10 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
{
|
||||
//
|
||||
// The provider picked here is handed over as the fallback: the audit service uses it only
|
||||
// when nothing is configured for the audit agent, so an organization-wide provider keeps
|
||||
// when nothing is configured for the audit, so an organization-wide provider keeps
|
||||
// its precedence.
|
||||
//
|
||||
this.audit = await this.AssistantPluginAuditService.RunAuditAsync(this.plugin, fallbackProvider: this.auditProviderSelection);
|
||||
this.audit = await this.AssistantPluginAuditService.RunAuditAsync(this.plugin, providerAtHand: this.auditProviderSelection);
|
||||
this.securityState = PluginAssistantSecurityResolver.Resolve(this.SettingsManager, this.plugin);
|
||||
}
|
||||
finally
|
||||
@@ -212,9 +231,9 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
|
||||
|
||||
private Severity GetAuditResultSeverity() => this.audit?.Level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => Severity.Error,
|
||||
AssistantAuditLevel.CAUTION => Severity.Warning,
|
||||
AssistantAuditLevel.SAFE => Severity.Success,
|
||||
PluginAuditLevel.DANGEROUS => Severity.Error,
|
||||
PluginAuditLevel.CAUTION => Severity.Warning,
|
||||
PluginAuditLevel.SAFE => Severity.Success,
|
||||
_ => Severity.Normal,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Components;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
@@ -200,11 +200,11 @@ public partial class AssistantPluginRevisionDialog : MSGComponentBase
|
||||
{
|
||||
//
|
||||
// The provider the user picked for the revision serves as the fallback: it is used only
|
||||
// when nothing is configured for the audit agent, and only when it is trusted enough for
|
||||
// when nothing is configured for the audit, and only when it is trusted enough for
|
||||
// an audit. Without it, a revised plugin could not be checked at all here.
|
||||
//
|
||||
var audit = await this.AssistantPluginAuditService.RunAuditAsync(updatedPlugin, fallbackProvider: this.providerSettings);
|
||||
if (audit.Level is AssistantAuditLevel.UNKNOWN)
|
||||
var audit = await this.AssistantPluginAuditService.RunAuditAsync(updatedPlugin, providerAtHand: this.providerSettings);
|
||||
if (audit.Level is PluginAuditLevel.UNKNOWN)
|
||||
return audit;
|
||||
|
||||
UpsertAudit(this.SettingsManager.ConfigurationData.AssistantPluginAudits, audit);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Components;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
@@ -231,7 +231,7 @@ public partial class DirectChatLauncherSettingsDialog : MSGComponentBase
|
||||
try
|
||||
{
|
||||
var audit = await this.AssistantPluginAuditService.RunAuditAsync(updatedPlugin);
|
||||
if (audit.Level is AssistantAuditLevel.UNKNOWN)
|
||||
if (audit.Level is PluginAuditLevel.UNKNOWN)
|
||||
return audit;
|
||||
|
||||
UpsertAudit(this.SettingsManager.ConfigurationData.AssistantPluginAudits, audit);
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect legal check options?")" LabelOn="@T("Legal check options are preselected")" LabelOff="@T("No legal check options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect some legal check options. This might be useful when you prefer a specific LLM model.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the web content reader?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions || this.SettingsManager.ConfigurationData.LegalCheck.HideWebContentReader)" LabelOn="@T("Web content reader is preselected")" LabelOff="@T("Web content reader is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.LegalCheck.PreselectWebContentReader)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.LegalCheck.PreselectWebContentReader = updatedState)" OptionHelp="@TA("When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the content cleaner agent?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions || this.SettingsManager.ConfigurationData.LegalCheck.HideWebContentReader)" LabelOn="@T("Content cleaner agent is preselected")" LabelOff="@T("Content cleaner agent is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.LegalCheck.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.LegalCheck.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the text content cleaner?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions || this.SettingsManager.ConfigurationData.LegalCheck.HideWebContentReader)" LabelOn="@T("Text content cleaner is preselected")" LabelOff="@T("Text content cleaner is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.LegalCheck.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.LegalCheck.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.")"/>
|
||||
<ConfigurationMinConfidenceSelection Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions)" RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.LegalCheck.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.LegalCheck.MinimumProviderConfidence = selectedValue)"/>
|
||||
<ConfigurationProviderSelection Component="Components.LEGAL_CHECK_ASSISTANT" Data="@this.AvailableLLMProviders" Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.LegalCheck.PreselectedProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.LegalCheck.PreselectedProvider = selectedValue)"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect a profile")" Disabled="@(() => !this.SettingsManager.ConfigurationData.LegalCheck.PreselectOptions)" SelectedValue="@(() => ProfilePreselection.FromStoredValue(this.SettingsManager.ConfigurationData.LegalCheck.PreselectedProfile))" Data="@ConfigurationSelectDataFactory.GetComponentProfilesData(this.SettingsManager.ConfigurationData.Profiles)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.LegalCheck.PreselectedProfile = selectedValue)" OptionHelp="@TA("Choose whether the assistant should use the app default profile, no profile, or a specific profile.")"/>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect SWOT analysis options?")" LabelOn="@T("SWOT analysis options are preselected")" LabelOff="@T("No SWOT analysis options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the web content reader?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions || this.SettingsManager.ConfigurationData.SWOTAnalysis.HideWebContentReader)" LabelOn="@T("Web content reader is preselected")" LabelOff="@T("Web content reader is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectWebContentReader)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectWebContentReader = updatedState)" OptionHelp="@TA("When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the content cleaner agent?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions || this.SettingsManager.ConfigurationData.SWOTAnalysis.HideWebContentReader)" LabelOn="@T("Content cleaner agent is preselected")" LabelOff="@T("Content cleaner agent is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectContentCleanerAgent = updatedState)" OptionHelp="@T("When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the text content cleaner?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions || this.SettingsManager.ConfigurationData.SWOTAnalysis.HideWebContentReader)" LabelOn="@T("Text content cleaner is preselected")" LabelOff="@T("Text content cleaner is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectContentCleanerAgent = updatedState)" OptionHelp="@T("When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed.")"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect the target language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which target language should be preselected?")"/>
|
||||
@if (this.SettingsManager.ConfigurationData.SWOTAnalysis.PreselectedTargetLanguage is CommonLanguages.OTHER)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect summarizer options?")" LabelOn="@T("Summarizer options are preselected")" LabelOff="@T("No summarizer options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the text summarizer options. This might be useful when you prefer a specific language, complexity, or LLM.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the web content reader?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions || this.SettingsManager.ConfigurationData.TextSummarizer.HideWebContentReader)" LabelOn="@T("Web content reader is preselected")" LabelOff="@T("Web content reader is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectWebContentReader)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectWebContentReader = updatedState)" OptionHelp="@TA("When enabled, the web content reader is preselected. This might be useful when you prefer to load content from the web very often.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the content cleaner agent?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions || this.SettingsManager.ConfigurationData.TextSummarizer.HideWebContentReader)" LabelOn="@T("Content cleaner agent is preselected")" LabelOff="@T("Content cleaner agent is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the text content cleaner?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions || this.SettingsManager.ConfigurationData.TextSummarizer.HideWebContentReader)" LabelOn="@T("Text content cleaner is preselected")" LabelOff="@T("Text content cleaner is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.")"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect the target language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.TextSummarizer.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.TextSummarizer.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which target language should be preselected?")"/>
|
||||
@if (this.SettingsManager.ConfigurationData.TextSummarizer.PreselectedTargetLanguage is CommonLanguages.OTHER)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect translator options?")" LabelOn="@T("Translator options are preselected")" LabelOff="@T("No translator options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the web content reader?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.Translation.PreselectOptions || this.SettingsManager.ConfigurationData.Translation.HideWebContentReader)" LabelOn="@T("Web content reader is preselected")" LabelOff="@T("Web content reader is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectWebContentReader)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.PreselectWebContentReader = updatedState)" OptionHelp="@TA("When enabled, the web content reader is preselected. This might be useful when you prefer to load content from the web very often.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the content cleaner agent?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.Translation.PreselectOptions || this.SettingsManager.ConfigurationData.Translation.HideWebContentReader)" LabelOn="@T("Content cleaner agent is preselected")" LabelOff="@T("Content cleaner agent is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect the text content cleaner?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.Translation.PreselectOptions || this.SettingsManager.ConfigurationData.Translation.HideWebContentReader)" LabelOn="@T("Text content cleaner is preselected")" LabelOff="@T("Text content cleaner is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectContentCleanerAgent)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.PreselectContentCleanerAgent = updatedState)" OptionHelp="@TA("When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.")"/>
|
||||
<ConfigurationOption OptionDescription="@T("Preselect live translation?")" Disabled="@(() => !this.SettingsManager.ConfigurationData.Translation.PreselectOptions)" LabelOn="@T("Live translation is preselected")" LabelOff="@T("Live translation is not preselected")" State="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectLiveTranslation)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.PreselectLiveTranslation = updatedState)" />
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect the target language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.Translation.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.Translation.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.Translation.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which target language should be preselected?")"/>
|
||||
@if (this.SettingsManager.ConfigurationData.Translation.PreselectedTargetLanguage is CommonLanguages.OTHER)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using AIStudio.Components;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.Dialogs.Settings;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
@@ -96,28 +95,13 @@ public partial class Assistants : MSGComponentBase
|
||||
|
||||
try
|
||||
{
|
||||
var wasConfigurationChanged = false;
|
||||
var assistantPlugins = PluginFactory.RunningPlugins.OfType<PluginAssistants>().ToList();
|
||||
foreach (var assistantPlugin in assistantPlugins)
|
||||
{
|
||||
var securityState = PluginAssistantSecurityResolver.Resolve(this.SettingsManager, assistantPlugin);
|
||||
if (!securityState.RequiresAudit)
|
||||
continue;
|
||||
|
||||
var audit = await this.AssistantPluginAuditService.RunAuditAsync(assistantPlugin);
|
||||
if (audit.Level is AssistantAuditLevel.UNKNOWN)
|
||||
{
|
||||
await MessageBus.INSTANCE.SendError(new (AppIcons.AGENT, string.Format(this.TA("The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page."), assistantPlugin.Name)));
|
||||
continue;
|
||||
}
|
||||
|
||||
this.UpsertAuditCard(audit);
|
||||
wasConfigurationChanged = true;
|
||||
}
|
||||
|
||||
if (!wasConfigurationChanged)
|
||||
var audits = await this.AssistantPluginAuditService.RunAutomaticAuditsAsync();
|
||||
if (audits.Count == 0)
|
||||
return;
|
||||
|
||||
foreach (var audit in audits)
|
||||
this.UpsertAuditCard(audit);
|
||||
|
||||
await this.SettingsManager.StoreSettings();
|
||||
await this.MessageBus.SendMessage<bool>(this, Event.CONFIGURATION_CHANGED);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using AIStudio.Components;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Settings.DataModel;
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
@@ -152,7 +152,7 @@ public partial class Plugins : MSGComponentBase
|
||||
await this.MessageBus.SendMessage<bool>(this, Event.CONFIGURATION_CHANGED);
|
||||
}
|
||||
|
||||
private async Task<bool> ConfirmActivationBelowMinimumAsync(string pluginName, AssistantAuditLevel actualLevel)
|
||||
private async Task<bool> ConfirmActivationBelowMinimumAsync(string pluginName, PluginAuditLevel actualLevel)
|
||||
{
|
||||
var dialogParameters = new DialogParameters<ConfirmDialog>
|
||||
{
|
||||
@@ -570,28 +570,13 @@ public partial class Plugins : MSGComponentBase
|
||||
|
||||
try
|
||||
{
|
||||
var wasConfigurationChanged = false;
|
||||
var assistantPlugins = PluginFactory.RunningPlugins.OfType<PluginAssistants>().ToList();
|
||||
foreach (var assistantPlugin in assistantPlugins)
|
||||
{
|
||||
var securityState = PluginAssistantSecurityResolver.Resolve(this.SettingsManager, assistantPlugin);
|
||||
if (!securityState.RequiresAudit)
|
||||
continue;
|
||||
|
||||
var audit = await this.AssistantPluginAuditService.RunAuditAsync(assistantPlugin);
|
||||
if (audit.Level is AssistantAuditLevel.UNKNOWN)
|
||||
{
|
||||
await MessageBus.INSTANCE.SendError(new (AppIcons.AGENT, string.Format(this.TA("The automatic security audit for the assistant plugin '{0}' failed. Please run it manually."), assistantPlugin.Name)));
|
||||
continue;
|
||||
}
|
||||
|
||||
this.UpsertAuditCard(audit);
|
||||
wasConfigurationChanged = true;
|
||||
}
|
||||
|
||||
if (!wasConfigurationChanged)
|
||||
var audits = await this.AssistantPluginAuditService.RunAutomaticAuditsAsync();
|
||||
if (audits.Count == 0)
|
||||
return;
|
||||
|
||||
foreach (var audit in audits)
|
||||
this.UpsertAuditCard(audit);
|
||||
|
||||
await this.SettingsManager.StoreSettings();
|
||||
await this.MessageBus.SendMessage<bool>(this, Event.CONFIGURATION_CHANGED);
|
||||
}
|
||||
|
||||
@@ -646,15 +646,15 @@ CONFIG["SETTINGS"] = {}
|
||||
-- call tools, neither the tools nor semantic_search may be switched off, and the provider has
|
||||
-- to meet a minimum confidence you set for semantic_search, see DataTools. Otherwise, AI Studio
|
||||
-- searches with every message instead.
|
||||
-- With SEMANTIC_SEARCH, no agent takes part: DataChat.PreselectedDataSourcesAutomaticSelection
|
||||
-- With SEMANTIC_SEARCH, no AI task takes part: DataChat.PreselectedDataSourcesAutomaticSelection
|
||||
-- then lets the AI itself choose among all data sources it may use, and
|
||||
-- DataChat.PreselectedDataSourcesAutomaticValidation has no effect.
|
||||
-- CONFIG["SETTINGS"]["DataChat.PreselectedDataSourcesRetrievalMode"] = "EVERY_MESSAGE"
|
||||
|
||||
-- Controls whether AI Studio asks an agent to choose data sources:
|
||||
-- Controls whether an AI task chooses the data sources:
|
||||
-- CONFIG["SETTINGS"]["DataChat.PreselectedDataSourcesAutomaticSelection"] = true
|
||||
|
||||
-- Controls whether retrieved data is validated by an agent:
|
||||
-- Controls whether an AI task validates the retrieved data:
|
||||
-- CONFIG["SETTINGS"]["DataChat.PreselectedDataSourcesAutomaticValidation"] = true
|
||||
|
||||
-- Must contain IDs from CONFIG["DATA_SOURCES"] or user-configured data sources.
|
||||
@@ -1605,27 +1605,56 @@ CONFIG["SETTINGS"] = {}
|
||||
-- CONFIG["SETTINGS"]["DataDataSourceIndexing.MinimumPauseBetweenStepsSeconds.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataDataSourceIndexing.MaximumPauseBetweenStepsSeconds.AllowUserOverride"] = 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"].
|
||||
-- Configure the text content cleaner, an AI task.
|
||||
-- It removes navigation, advertisements, and other clutter from web pages which an assistant reads.
|
||||
-- The provider must be one of the provider IDs defined in CONFIG["LLM_PROVIDERS"]. Without one, the
|
||||
-- cleaner uses the provider of the assistant, and otherwise the app-wide default provider.
|
||||
-- The minimum confidence applies to every provider the cleaner uses, the provider of the assistant
|
||||
-- and the app-wide default included. The provider and the minimum confidence apply only while
|
||||
-- PreselectAgentOptions is true.
|
||||
-- Allowed confidence values are: NONE, UNTRUSTED, UNKNOWN, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.PreselectAgentOptions"] = true
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.PreselectedAgentProvider"] = "00000000-0000-0000-0000-000000000000"
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.MinimumProviderConfidence"] = "NONE"
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.PreselectAgentOptions.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.PreselectedAgentProvider.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataTextContentCleaner.MinimumProviderConfidence.AllowUserOverride"] = true
|
||||
|
||||
-- Configure the data source selection, an AI task.
|
||||
-- It runs 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"]. Without one, the
|
||||
-- AI task uses the provider of the chat, and otherwise the app-wide default provider.
|
||||
-- The minimum confidence applies to every provider the AI task uses, the provider of the chat and the
|
||||
-- app-wide default included. The provider and the minimum confidence apply only while
|
||||
-- PreselectAgentOptions is true.
|
||||
-- Allowed confidence values are: NONE, UNTRUSTED, UNKNOWN, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.PreselectAgentOptions"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.PreselectedAgentProvider"] = "00000000-0000-0000-0000-000000000000"
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.MinimumProviderConfidence"] = "NONE"
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.PreselectAgentOptions.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.PreselectedAgentProvider.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentDataSourceSelection.MinimumProviderConfidence.AllowUserOverride"] = true
|
||||
|
||||
-- Configure the retrieval context validation agent.
|
||||
-- This agent is used when retrieval context validation is enabled globally and chat data source options enable AI-based validation.
|
||||
-- The provider must be one of the provider IDs defined in CONFIG["LLM_PROVIDERS"].
|
||||
-- Configure the retrieval context validation, an AI task.
|
||||
-- It runs when retrieval context validation is enabled globally and chat data source options enable AI-based validation.
|
||||
-- The provider must be one of the provider IDs defined in CONFIG["LLM_PROVIDERS"]. Without one, the
|
||||
-- AI task uses the provider of the chat, and otherwise the app-wide default provider.
|
||||
-- The minimum confidence applies to every provider the AI task uses, the provider of the chat and the
|
||||
-- app-wide default included. The provider and the minimum confidence apply only while
|
||||
-- PreselectAgentOptions is true.
|
||||
-- Allowed confidence values are: NONE, UNTRUSTED, UNKNOWN, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.EnableRetrievalContextValidation"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.PreselectAgentOptions"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.PreselectedAgentProvider"] = "00000000-0000-0000-0000-000000000000"
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.MinimumProviderConfidence"] = "NONE"
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.NumParallelValidations"] = 3
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.EnableRetrievalContextValidation.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.PreselectAgentOptions.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.PreselectedAgentProvider.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.MinimumProviderConfidence.AllowUserOverride"] = true
|
||||
-- CONFIG["SETTINGS"]["DataAgentRetrievalContextValidation.NumParallelValidations.AllowUserOverride"] = true
|
||||
|
||||
-- Configure assistant plugin security audits.
|
||||
-- Configure the security audit of assistant plugins, an AI task.
|
||||
--
|
||||
-- Configure whether assistant plugins must be audited before users can activate them.
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.RequireAuditBeforeActivation"] = true
|
||||
@@ -1635,6 +1664,11 @@ CONFIG["SETTINGS"] = {}
|
||||
-- Without a selected audit provider, AI Studio uses the app-wide default provider.
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.PreselectedAgentProvider"] = "00000000-0000-0000-0000-000000000000"
|
||||
--
|
||||
-- Configure the minimum confidence of the provider which audits a plugin. It applies to every
|
||||
-- provider an audit uses, the app-wide default and the one picked in the audit dialog included.
|
||||
-- Allowed confidence values are: NONE, UNTRUSTED, UNKNOWN, VERY_LOW, LOW, MODERATE, MEDIUM, HIGH
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.MinimumProviderConfidence"] = "NONE"
|
||||
--
|
||||
-- Configure the minimum audit level assistant plugins must meet.
|
||||
-- Allowed values are: UNKNOWN, DANGEROUS, CAUTION, SAFE
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.MinimumLevel"] = "CAUTION"
|
||||
@@ -1643,11 +1677,14 @@ CONFIG["SETTINGS"] = {}
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.BlockActivationBelowMinimum"] = true
|
||||
--
|
||||
-- Configure whether new or changed assistant plugins are audited automatically in the background.
|
||||
-- Automatic audits need a provider: the dedicated audit provider or the app-wide default. Without
|
||||
-- one, AI Studio skips them and tells the user once.
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.AutomaticallyAuditAssistants"] = false
|
||||
--
|
||||
-- Configure whether users can change assistant plugin audit settings locally.
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.RequireAuditBeforeActivation.AllowUserOverride"] = false
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.PreselectedAgentProvider.AllowUserOverride"] = false
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.MinimumProviderConfidence.AllowUserOverride"] = false
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.MinimumLevel.AllowUserOverride"] = false
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.BlockActivationBelowMinimum.AllowUserOverride"] = false
|
||||
-- CONFIG["SETTINGS"]["DataAssistantPluginAudit.AutomaticallyAuditAssistants.AllowUserOverride"] = false
|
||||
@@ -1744,16 +1781,16 @@ CONFIG["CHAT_TEMPLATES"] = {}
|
||||
-- -- How the data sources are searched, with the same values and the same fallback
|
||||
-- -- as DataChat.PreselectedDataSourcesRetrievalMode: SEMANTIC_SEARCH lets the AI
|
||||
-- -- search them itself whenever a question calls for it, EVERY_MESSAGE lets AI Studio
|
||||
-- -- search them with every message. With SEMANTIC_SEARCH, no agent takes part:
|
||||
-- -- search them with every message. With SEMANTIC_SEARCH, no AI task takes part:
|
||||
-- -- AutomaticDataSourceSelection then lets the AI itself choose among all data
|
||||
-- -- sources it may use, and AutomaticValidation has no effect.
|
||||
-- ["RetrievalMode"] = "EVERY_MESSAGE",
|
||||
--
|
||||
-- -- Let an agent choose the fitting data sources for each question. When true,
|
||||
-- -- Let an AI task choose the fitting data sources for each question. When true,
|
||||
-- -- PreselectedDataSourceIds is not used.
|
||||
-- ["AutomaticDataSourceSelection"] = false,
|
||||
--
|
||||
-- -- Let an agent check whether the retrieved data fits the question.
|
||||
-- -- Let an AI task check whether the retrieved data fits the question.
|
||||
-- ["AutomaticValidation"] = true,
|
||||
--
|
||||
-- -- Must contain IDs from CONFIG["DATA_SOURCES"] or user-configured data sources.
|
||||
|
||||
+240
-174
@@ -48,47 +48,32 @@ LANG_NAME = "Deutsch (Deutschland)"
|
||||
|
||||
UI_TEXT_CONTENT = {}
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2034826200"] = "Es ist kein Audit-Anbieter konfiguriert."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087"] = "Die Sicherheitsprüfung konnte nicht abgeschlossen werden, da die Antwort des LLM unbrauchbar war. Die Audit-Stufe bleibt „Unbekannt“, bitte versuchen Sie es später erneut."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087::INFORMAL"] = "Die Sicherheitsprüfung konnte nicht abgeschlossen werden, da die Antwort des LLM unbrauchbar war. Die Audit-Stufe bleibt „Unbekannt“, bitte versuche es später erneut."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2861409367"] = "Der Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug."
|
||||
|
||||
-- The audit agent did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3310188890"] = "Der Audit-Agent hat keine verwendbare Antwort zurückgegeben."
|
||||
|
||||
-- No provider is configured for the Security Audit Agent.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3605554201"] = "Für den Sicherheitsprüfungs-Agenten ist kein Anbieter konfiguriert."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219"] = "Der ausgewählte Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug. Wählen Sie einen Anbieter aus, der das hier erforderliche Vertrauensniveau erfüllt, oder legen Sie in den App-Einstellungen einen speziellen Anbieter für Audits fest."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219::INFORMAL"] = "Der ausgewählte Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug. Wähle einen Anbieter aus, der das hier erforderliche Vertrauensniveau erfüllt, oder lege in den App-Einstellungen einen speziellen Anbieter für Audits fest."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T432419958"] = "Das Prüfergebnis war leer."
|
||||
|
||||
-- The audit agent returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T917600186"] = "Der Audit-Agent hat ungültiges JSON zurückgegeben."
|
||||
|
||||
-- Concerning
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T1500095429"] = "Bedenklich"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T1500095429"] = "Bedenklich"
|
||||
|
||||
-- Dangerous
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3421510547"] = "Gefährlich"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3421510547"] = "Gefährlich"
|
||||
|
||||
-- Unknown
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3424652889"] = "Unbekannt"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3424652889"] = "Unbekannt"
|
||||
|
||||
-- Safe
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T760494712"] = "Sicher"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T760494712"] = "Sicher"
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087"] = "Die Sicherheitsprüfung konnte nicht abgeschlossen werden, da die Antwort des LLM unbrauchbar war. Die Audit-Stufe bleibt „Unbekannt“. Bitte versuchen Sie es später erneut."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087::INFORMAL"] = "Die Sicherheitsprüfung konnte nicht abgeschlossen werden, da die Antwort des LLM unbrauchbar war. Die Audit-Stufe bleibt „Unbekannt“. Bitte versuche es später erneut."
|
||||
|
||||
-- The audit did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T391654503"] = "Die Prüfung hat keine brauchbare Antwort geliefert."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T432419958"] = "Das Prüfergebnis war leer."
|
||||
|
||||
-- The audit returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T678594297"] = "Die Prüfung hat ungültiges JSON zurückgegeben."
|
||||
|
||||
-- Objective
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::ASSISTANTAGENDA::T1121586136"] = "Zielsetzung"
|
||||
@@ -10254,8 +10239,8 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613"] = "Der Agen
|
||||
-- The content cleaner uses the model of this assistant. Please select one below.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613::INFORMAL"] = "Der Agent zur Inhaltsbereinigung verwendet das Modell dieses Assistenten. Bitte wähle unten eines aus."
|
||||
|
||||
-- The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1164201762"] = "Der Inhalt wird mithilfe eines LLM-Agenten bereinigt: Der Hauptinhalt wird extrahiert, Werbung und andere irrelevante Elemente werden nach Möglichkeit entfernt. Relative Links werden nach Möglichkeit in absolute Links umgewandelt, damit sie verwendet werden können."
|
||||
-- The content was loaded, but not cleaned: the model of the content cleaner gave no answer.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1189712796"] = "Der Inhalt wurde geladen, aber nicht bereinigt: Das Modell der Inhaltsbereinigung hat keine Antwort gegeben."
|
||||
|
||||
-- Fetch
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1396322691"] = "Abrufen"
|
||||
@@ -10266,12 +10251,21 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807"] = "Bitte ge
|
||||
-- Please provide a URL to load the content from.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807::INFORMAL"] = "Bitte gib eine URL an, von der der Inhalt geladen werden soll."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324"] = "Ihre Organisation erlaubt das ausgewählte Modell nicht. Bitte wählen Sie ein anderes Modell aus oder konfigurieren Sie in den App-Einstellungen ein zugelassenes Modell."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324::INFORMAL"] = "Deine Organisation erlaubt das ausgewählte Modell nicht. Bitte wähle ein anderes Modell aus oder konfiguriere in den App-Einstellungen ein zugelassenes Modell."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696"] = "Lädt den Inhalt von der übergebenen URL. Funktioniert nicht, wenn der Inhalt hinter einer Paywall verborgen ist."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696::INFORMAL"] = "Lädt den Inhalt von der übergebenen URL. Funktioniert nicht, wenn der Inhalt hinter einer Paywall verborgen ist."
|
||||
|
||||
-- The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2765793850"] = "Die Inhaltsbereinigung, eine KI-Aufgabe, extrahiert den Hauptinhalt und versucht, Werbung und andere störende Elemente zu entfernen sowie relative Links in absolute umzuwandeln, damit sie funktionieren."
|
||||
|
||||
-- URL from which to load the content
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2883163022"] = "URL, von der der Inhalt geladen werden soll"
|
||||
|
||||
@@ -10290,6 +10284,9 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288"] = "Bitte geb
|
||||
-- Please provide a valid HTTP or HTTPS URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288::INFORMAL"] = "Bitte gib eine gültige HTTP- oder HTTPS-URL ein."
|
||||
|
||||
-- Clean up the content with AI?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3375295820"] = "Inhalte mit KI bereinigen?"
|
||||
|
||||
-- No content cleaning
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3588401674"] = "Keine Inhaltsbereinigung"
|
||||
|
||||
@@ -10299,9 +10296,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228"] = "Bitte ge
|
||||
-- Please provide a valid URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228::INFORMAL"] = "Bitte gib eine gültige URL ein."
|
||||
|
||||
-- Clean up content by using an LLM agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4057255553"] = "Inhalte mit einem LLM-Agenten bereinigen?"
|
||||
|
||||
-- Show web content options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4249712357"] = "Optionen für Webinhalte anzeigen"
|
||||
|
||||
@@ -10353,6 +10347,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SELECTFILE::T4285779702"] = "Datei auswä
|
||||
-- External Assistants rated below this audit level are treated as insufficiently reviewed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1162151451"] = "Externe Assistenten, die unterhalb dieser Audit-Stufe bewertet werden, gelten als nicht ausreichend geprüft."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617"] = "Optional können Sie einen eigenen Anbieter für die Prüfung von Assistenten-Plugins auswählen. Bleibt das Feld leer, verwendet AI Studio den appweiten Standardanbieter und sonst das Modell, das Sie bei der Prüfung auswählen."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617::INFORMAL"] = "Optional kannst du einen eigenen Anbieter für die Prüfung von Assistenten-Plugins auswählen. Bleibt das Feld leer, verwendet AI Studio den appweiten Standardanbieter und sonst das Modell, das du bei der Prüfung auswählst."
|
||||
|
||||
-- Users may still activate plugins below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1840342259"] = "Nutzer können Assistenten unterhalb der Mindest-Audit-Stufe weiterhin aktivieren."
|
||||
|
||||
@@ -10365,6 +10365,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- External Assistants must be audited before activation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2065972970"] = "Externe Assistenten müssen vor der Aktivierung geprüft werden."
|
||||
|
||||
-- Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2081939459"] = "Bevor externe Assistenten aktiviert werden, prüft ein Modell neu installierte oder aktualisierte Assistenten auf Sicherheitsrisiken. AI Studio speichert die neueste Audit-Karte, bis sich das Plugin-Manifest ändert."
|
||||
|
||||
-- AI Task: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2200966468"] = "KI-Aufgabe: Sicherheitsprüfung für externe Assistenten"
|
||||
|
||||
-- Block activation below the minimum Audit-Level?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T232834129"] = "Aktivierung unterhalb der Mindest-Audit-Stufe blockieren?"
|
||||
|
||||
@@ -10374,8 +10380,14 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2516645821::INFORMAL"] = "Wenn du diese Einstellung deaktivierst, werden die Sicherheitsprüfungen für Assistenten-Plugins ausgeschaltet. Externe Assistenten können dann auch ohne gültige Prüfung oder nach Änderungen an Plugins aktiviert und verwendet werden. Möchtest du diesen Schutz wirklich deaktivieren?"
|
||||
|
||||
-- Agent: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2910364422"] = "Agent: Sicherheitsaudit für externe Assistenten"
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563"] = "Automatische Prüfungen können nicht laufen, weil kein Modell für Sicherheitsprüfungen verfügbar ist. Wählen Sie oben eines aus oder legen Sie in den App-Einstellungen einen appweiten Standardanbieter fest."
|
||||
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563::INFORMAL"] = "Automatische Prüfungen können nicht laufen, weil kein Modell für Sicherheitsprüfungen verfügbar ist. Wähle oben eines aus oder lege in den App-Einstellungen einen appweiten Standardanbieter fest."
|
||||
|
||||
-- Use the app default, otherwise the model chosen when auditing
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2888830822"] = "App-Standard verwenden, sonst das bei der Prüfung gewählte Modell"
|
||||
|
||||
-- External Assistant can be activated without an audit
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2915620630"] = "Externer Assistent kann ohne Prüfung aktiviert werden"
|
||||
@@ -10401,101 +10413,101 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Activation is blocked below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4041192469"] = "Die Aktivierung ist unterhalb der Mindest-Audit-Stufe blockiert."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352"] = "Optional können Sie einen speziellen Anbieter für Audits auswählen. Wenn dieses Feld leer bleibt, verwendet AI Studio den appweiten Standardanbieter."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144"] = "Wenn diese Option aktiviert ist, können Sie das Modell für diese Aufgabe und das nötige Vertrauensniveau vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Assistenten."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352::INFORMAL"] = "Optional kannst du einen speziellen Anbieter für Audits auswählen. Wenn dieses Feld leer bleibt, verwendet AI Studio den appweiten Standardanbieter."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du das Modell für diese Aufgabe und das nötige Vertrauensniveau vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Assistenten."
|
||||
|
||||
-- This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T893652865"] = "Dieser Agent überprüft neu installierte oder aktualisierte externe Assistenten-Plugins vor ihrer Aktivierung auf Sicherheitsrisiken und speichert die neueste Audit-Karte, bis sich das Plugin-Manifest ändert."
|
||||
-- When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1587139574"] = "Wenn ein Assistent Inhalte aus dem Internet lädt, kann ein Modell sie bereinigen: Es extrahiert den Hauptinhalt, entfernt Werbung und andere irrelevante Elemente und versucht, relative Links in absolute Links umzuwandeln, damit sie verwendet werden können."
|
||||
|
||||
-- Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1299550589"] = "Anwendungsfall: Dieser Agent wird verwendet, um Textinhalte zu bereinigen. Er extrahiert den Hauptinhalt, entfernt Werbung und andere irrelevante Elemente und versucht, relative Links in absolute Links umzuwandeln, damit diese verwendet werden können."
|
||||
-- Use the model of the assistant
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T2899245972"] = "Modell des Assistenten verwenden"
|
||||
|
||||
-- Agent: Text Content Cleaner Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3517268866"] = "Agent: Inhaltsbereinigung"
|
||||
-- AI Task: Text Content Cleaner
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3478589970"] = "KI-Aufgabe: Inhaltsbereinigung"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T354528094"] = "Es sind keine Optionen vorausgewählt"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214"] = "Wenn diese Option aktiviert ist, können Sie einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn Sie ein bestimmtes LLM bevorzugen."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn du ein bestimmtes LLM bevorzugst."
|
||||
|
||||
-- Preselect text content cleaner options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3659087305"] = "Optionen des Agenten zur Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3875604319"] = "Optionen sind vorausgewählt"
|
||||
|
||||
-- Use Case: this agent is used to select the appropriate data sources for the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2208143316"] = "Anwendungsfall: Dieser Agent wird verwendet, um die passenden Datenquellen für die aktuelle Eingabe auszuwählen."
|
||||
-- AI Task: Data Source Selection
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T1227800581"] = "KI-Aufgabe: Wahl der Datenquellen"
|
||||
|
||||
-- Agent: Data Source Selection Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2258031949"] = "Agent: Wahl der Datenquellen"
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366"] = "Wenn diese Option aktiviert ist, können Sie das Modell für diese Aufgabe und das nötige Vertrauensniveau vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Chats."
|
||||
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du das Modell für diese Aufgabe und das nötige Vertrauensniveau vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Chats."
|
||||
|
||||
-- In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2522862914"] = "Beim klassischen RAG, das die Datenquellen bei jeder Nachricht durchsucht, wählt ein Modell zuerst die Datenquellen aus, die zum aktuellen Prompt passen."
|
||||
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3435835378"] = "Modell des Chats verwenden"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T354528094"] = "Es sind keine Optionen vorausgewählt"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214"] = "Wenn diese Option aktiviert ist, können Sie einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn Sie ein bestimmtes LLM bevorzugen."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn du ein bestimmtes LLM bevorzugst."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3875604319"] = "Optionen sind vorausgewählt"
|
||||
|
||||
-- Preselect data source selection options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T991598424"] = "Datenquellen-Auswahloptionen vorauswählen?"
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386"] = "Anwendungsfall: Dieser Agent wird verwendet, um beliebige Abrufkontexte in jedem Abrufprozess zu validieren. Möglicherweise gibt es viele solcher Abrufkontexte, und Sie möchten sie alle überprüfen. Daher empfiehlt es sich, für diese Aufgabe ein günstiges und schnelles LLM zu verwenden. Wenn Sie ein lokales oder selbst gehostetes LLM nutzen, sollten Sie auf ein kleines (z. B. 3B) und schnelles Modell achten."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595"] = "Jede Validierung ist eine eigene Anfrage. Mehr gleichzeitige Validierungen bedeuten also entsprechend viele gleichzeitige Anfragen. Einige Anbieter begrenzen die Anzahl der Anfragen pro Minute. Wenn Sie unsicher sind, wählen Sie eine niedrige Einstellung zwischen 1 und 6 Validierungen."
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386::INFORMAL"] = "Anwendungsfall: Dieser Agent wird verwendet, um beliebige Abrufkontexte in jedem Abrufprozess zu validieren. Möglicherweise gibt es viele solcher Abrufkontexte, und du möchtest sie alle überprüfen. Daher empfiehlt es sich, für diese Aufgabe ein günstiges und schnelles LLM zu verwenden. Wenn du ein lokales oder selbst gehostetes LLM nutzt, solltest du auf ein kleines (z. B. 3B) und schnelles Modell achten."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595::INFORMAL"] = "Jede Validierung ist eine eigene Anfrage. Mehr gleichzeitige Validierungen bedeuten also entsprechend viele gleichzeitige Anfragen. Einige Anbieter begrenzen die Anzahl der Anfragen pro Minute. Wenn du unsicher bist, wähle eine niedrige Einstellung zwischen 1 und 6 Validierungen."
|
||||
|
||||
-- The validation agent is enabled
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2274149855"] = "Der Validierungs-Agent ist aktiviert"
|
||||
-- AI Task: Retrieval Context Validation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1717726852"] = "KI-Aufgabe: Validierung der Abrufkontexte"
|
||||
|
||||
-- Enable the retrieval context validation agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663872937"] = "Den Validierungs-Agenten für den Abrufkontext aktivieren?"
|
||||
-- How many validations should run simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2326205445"] = "Wie viele Validierungen sollen gleichzeitig ausgeführt werden?"
|
||||
|
||||
-- When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T240073404"] = "Wenn diese Option aktiviert ist, prüft ein Modell bei jedem Abrufkontext des klassischen RAG, ob er zum jeweiligen Prompt passt."
|
||||
|
||||
-- Validate the retrieval contexts?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2428915017"] = "Abrufkontexte validieren?"
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642"] = "Wenn diese Option aktiviert ist, können Sie das Modell für diese Aufgabe, das nötige Vertrauensniveau und die Zahl der gleichzeitigen Validierungen vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Chats."
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du das Modell für diese Aufgabe, das nötige Vertrauensniveau und die Zahl der gleichzeitigen Validierungen vorauswählen. Ohne vorausgewähltes Modell verwendet AI Studio das Modell des Chats."
|
||||
|
||||
-- Preselect retrieval context validation options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663938643"] = "Optionen zur Überprüfung des Abrufkontexts vorauswählen?"
|
||||
|
||||
-- agents
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2669785679"] = "Agenten"
|
||||
|
||||
-- When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T298440039"] = "Wenn diese Option aktiviert ist, prüft der Validierungs-Agent für Abrufkontexte bei jedem Abrufprozess, ob der jeweilige Kontext zum eingegebenen Prompt passt."
|
||||
|
||||
-- How many validation agents should work simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3431541788"] = "Wie viele Validierungs-Agenten sollten gleichzeitig arbeiten?"
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3435835378"] = "Modell des Chats verwenden"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T354528094"] = "Es sind keine Optionen vorausgewählt"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214"] = "Wenn diese Option aktiviert ist, können Sie einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn Sie ein bestimmtes LLM bevorzugen."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du einige Agenten-Optionen vorauswählen. Das kann nützlich sein, wenn du ein bestimmtes LLM bevorzugst."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890"] = "Mehr aktive Agenten bedeuten auch, dass entsprechend viele Anfragen gleichzeitig gestellt werden. Einige Anbieter begrenzen die Anzahl der Anfragen pro Minute. Wenn Sie unsicher sind, wählen Sie eine niedrige Einstellung zwischen 1 und 6 Agenten."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890::INFORMAL"] = "Mehr aktive Agenten bedeuten auch, dass entsprechend viele Anfragen gleichzeitig gestellt werden. Einige Anbieter begrenzen die Anzahl der Anfragen pro Minute. Wenn du unsicher bist, wähle eine niedrige Einstellung zwischen 1 und 6 Agenten."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3875604319"] = "Optionen sind vorausgewählt"
|
||||
|
||||
-- Agent: Retrieval Context Validation Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T928989804"] = "Agent: Validierung der Abrufkontexte"
|
||||
-- validations
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T595734827"] = "Validierungen"
|
||||
|
||||
-- Each retrieval context is validated
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T705018823"] = "Jeder Abrufkontext wird validiert"
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962"] = "Beim klassischen RAG prüft ein Modell jeden Abrufkontext – also jede Textstelle, die in den Datenquellen gefunden wurde – darauf, ob er zum aktuellen Prompt passt. Da es viele davon geben kann, empfiehlt sich für diese Aufgabe ein kostengünstiges und schnelles Modell. Wenn Sie ein lokales oder selbst gehostetes Modell verwenden, wählen Sie ein kleines (z. B. 3B) und schnelles Modell aus."
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962::INFORMAL"] = "Beim klassischen RAG prüft ein Modell jeden Abrufkontext – also jede Textstelle, die in den Datenquellen gefunden wurde – darauf, ob er zum aktuellen Prompt passt. Da es viele davon geben kann, empfiehlt sich für diese Aufgabe ein kostengünstiges und schnelles Modell. Wenn du ein lokales oder selbst gehostetes Modell verwendest, wähle ein kleines (z. B. 3B) und schnelles Modell aus."
|
||||
|
||||
-- No validation is performed
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T95175095"] = "Es findet keine Validierung statt"
|
||||
@@ -10509,6 +10521,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044"]
|
||||
-- Do you want to show preview features in the app?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044::INFORMAL"] = "Möchtest du Vorschaufunktionen in der App anzeigen lassen?"
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771"] = "Wenn diese Option aktiviert ist, nennen Anfragen an selbst gehostete Anbieter und LiteLLM die Funktion, von der sie stammen, zum Beispiel den Chat, einen Assistenten oder eine KI-Aufgabe. Dazu kommen die Version von AI Studio und Ihr Betriebssystem. So sehen die Betreiber dieser Server, in der Regel Ihre Organisation, welche Funktionen genutzt werden. Cloud-Anbieter erhalten diese Angaben nie, und AI Studio sendet niemals etwas an seine Entwickler."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771::INFORMAL"] = "Wenn diese Option aktiviert ist, nennen Anfragen an selbst gehostete Anbieter und LiteLLM die Funktion, von der sie stammen, zum Beispiel den Chat, einen Assistenten oder eine KI-Aufgabe. Dazu kommen die Version von AI Studio und dein Betriebssystem. So sehen die Betreiber dieser Server, in der Regel deine Organisation, welche Funktionen genutzt werden. Cloud-Anbieter erhalten diese Angaben nie, und AI Studio sendet niemals etwas an seine Entwickler."
|
||||
|
||||
-- AI Studio cannot check for updates when running as a Flatpak. Updates are managed outside the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1190632518"] = "AI Studio kann bei Ausführung als Flatpak nicht nach Updates suchen. Updates werden außerhalb der App verwaltet."
|
||||
|
||||
@@ -10614,12 +10632,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663"]
|
||||
-- Select the language for the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663::INFORMAL"] = "Wähle die Sprache für die App aus."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697"] = "Wenn diese Option aktiviert ist, nennen Anfragen an selbst gehostete Anbieter und LiteLLM die Funktion, von der sie stammen, zum Beispiel den Chat, einen Assistenten oder einen Agenten. Dazu kommen die Version von AI Studio und Ihr Betriebssystem. So sehen die Betreiber dieser Server, in der Regel Ihre Organisation, welche Funktionen genutzt werden. Cloud-Anbieter erhalten diese Angaben nie, und AI Studio sendet niemals etwas an seine Entwickler."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697::INFORMAL"] = "Wenn diese Option aktiviert ist, nennen Anfragen an selbst gehostete Anbieter und LiteLLM die Funktion, von der sie stammen, zum Beispiel den Chat, einen Assistenten oder einen Agenten. Dazu kommen die Version von AI Studio und dein Betriebssystem. So sehen die Betreiber dieser Server, in der Regel deine Organisation, welche Funktionen genutzt werden. Cloud-Anbieter erhalten diese Angaben nie, und AI Studio sendet niemals etwas an seine Entwickler."
|
||||
|
||||
-- Your organization has disabled update checks and installations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1909339369"] = "Ihre Organisation hat die Suche nach Updates und deren Installation deaktiviert."
|
||||
|
||||
@@ -11925,6 +11937,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T193192210"] = "
|
||||
-- null
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T1996966820"] = "null"
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726"] = "Das für Sicherheitsprüfungen festgelegte Modell existiert nicht mehr. Wählen Sie hier ein Modell aus, um dieses Plugin zu prüfen. Ihre Auswahl gilt nur für diese Prüfung; in den App-Einstellungen können Sie ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726::INFORMAL"] = "Das für Sicherheitsprüfungen festgelegte Modell existiert nicht mehr. Wähle hier ein Modell aus, um dieses Plugin zu prüfen. Deine Auswahl gilt nur für diese Prüfung; in den App-Einstellungen kannst du ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- Properties
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2177370620"] = "Eigenschaften"
|
||||
|
||||
@@ -11943,9 +11961,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T273798258"] = "
|
||||
-- Size
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2789707388"] = "Größe"
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141"] = "Das für Sicherheitsprüfungen festgelegte Modell ist von Ihrer Organisation nicht zugelassen. Wählen Sie hier ein Modell aus, um dieses Plugin zu prüfen. Ihre Auswahl gilt nur für diese Prüfung; in den App-Einstellungen können Sie ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141::INFORMAL"] = "Das für Sicherheitsprüfungen festgelegte Modell ist von deiner Organisation nicht zugelassen. Wähle hier ein Modell aus, um dieses Plugin zu prüfen. Deine Auswahl gilt nur für diese Prüfung; in den App-Einstellungen kannst du ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715"] = "Das für Sicherheitsprüfungen festgelegte Modell ist dafür nicht vertrauenswürdig genug. Wählen Sie hier ein Modell aus, um dieses Plugin zu prüfen. Ihre Auswahl gilt nur für diese Prüfung; in den App-Einstellungen können Sie ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715::INFORMAL"] = "Das für Sicherheitsprüfungen festgelegte Modell ist dafür nicht vertrauenswürdig genug. Wähle hier ein Modell aus, um dieses Plugin zu prüfen. Deine Auswahl gilt nur für diese Prüfung; in den App-Einstellungen kannst du ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- No model configured
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2941224401"] = "Kein Modell konfiguriert"
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535"] = "Für Sicherheitsprüfungen ist weder für diese KI-Aufgabe noch appweit ein Modell festgelegt. Wählen Sie hier eines aus, um dieses Plugin zu prüfen. Ihre Auswahl gilt nur für diese Prüfung; in den App-Einstellungen können Sie ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535::INFORMAL"] = "Für Sicherheitsprüfungen ist weder für diese KI-Aufgabe noch appweit ein Modell festgelegt. Wähle hier eines aus, um dieses Plugin zu prüfen. Deine Auswahl gilt nur für diese Prüfung; in den App-Einstellungen kannst du ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- Prompt: set
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3156437951"] = "Prompt: festgelegt"
|
||||
|
||||
@@ -12003,12 +12039,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T521056824::INFO
|
||||
-- Audit model
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T532102309"] = "Audit-Modell"
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381"] = "Für Sicherheitsprüfungen ist weder für diesen Agenten noch appweit ein Modell festgelegt. Wählen Sie hier eines aus, um dieses Plugin zu prüfen. Ihre Auswahl gilt nur für diese Prüfung; in den App-Einstellungen können Sie ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381::INFORMAL"] = "Für Sicherheitsprüfungen ist weder für diesen Agenten noch appweit ein Modell festgelegt. Wähle hier eines aus, um dieses Plugin zu prüfen. Deine Auswahl gilt nur für diese Prüfung; in den App-Einstellungen kannst du ein dauerhaftes Modell festlegen."
|
||||
|
||||
-- System Prompt
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T628396066"] = "System-Prompt"
|
||||
|
||||
@@ -16593,9 +16623,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T386176
|
||||
-- When enabled, you can preselect some job posting options. This might be useful when you prefer a specific LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T3861766667::INFORMAL"] = "Wenn diese Option aktiviert ist, kannst du einige Optionen für Stellenanzeigen vorauswählen. Das kann nützlich sein, wenn du ein bestimmtes LLM bevorzugst."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1013787967"] = "Agent zur Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1030372436"] = "Der Web-Content-Reader wird angezeigt"
|
||||
|
||||
@@ -16623,8 +16650,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361
|
||||
-- Choose whether the assistant should use the app default profile, no profile, or a specific profile.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361623::INFORMAL"] = "Wähle, ob der Assistent das Standardprofil der App, kein Profil oder ein bestimmtes Profil verwenden soll."
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1969816694"] = "Agent zur Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn Sie den rechtlichen Inhalt bereinigen möchten, bevor Sie ihn übersetzen."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245::INFORMAL"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn du den rechtlichen Inhalt bereinigen möchtest, bevor du ihn übersetzt."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1993094764"] = "Wenn diese Option aktiviert ist, wird der Web-Content-Reader vorausgewählt. Das kann nützlich sein, wenn Sie häufig juristische Inhalte aus dem Internet laden möchten."
|
||||
@@ -16644,27 +16674,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2529161
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2799795311"] = "Der Web-Content-Reader ist ausgeblendet"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T284131714"] = "Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2981779520"] = "Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3448155331"] = "Schließen"
|
||||
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3641773985"] = "Der Web-Content-Reader ist vorausgewählt"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3649428096"] = "Agent zur Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Assistant: Legal Check Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4033382756"] = "Assistent: Optionen für die rechtliche Prüfung"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385"] = "Wenn diese Option aktiviert ist, ist der Agent zur Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn Sie den rechtlichen Inhalt bereinigen möchten, bevor Sie ihn übersetzen."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385::INFORMAL"] = "Wenn diese Option aktiviert ist, ist der Agent zur Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn du den rechtlichen Inhalt bereinigen möchtest, bevor du ihn übersetzt."
|
||||
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T629158142"] = "Den Web-Content-Reader vorauswählen?"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T845988899"] = "Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- No preset preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGMODELCOMPARISON::T1028082569"] = "Keine Voreinstellung vorausgewählt"
|
||||
|
||||
@@ -17103,9 +17133,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T99564
|
||||
-- A slide holds at most this many bullet points, in all of its text slots together. Match it to the room for text in the layouts of your template.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T995644230::INFORMAL"] = "Eine Folie enthält höchstens so viele Aufzählungspunkte, in allen ihren Textfeldern zusammen. Stimme den Wert auf den Platz für Text in den Layouts deiner Vorlage ab."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1013787967"] = "Agent zur Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1030372436"] = "Der Web-Content-Reader wird angezeigt"
|
||||
|
||||
@@ -17121,9 +17148,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T16331
|
||||
-- Web content reader is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1701127912"] = "Der Web-Content-Reader ist nicht vorausgewählt"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1969816694"] = "Agent zur Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2090693677"] = "Web-Content-Reader ausblenden?"
|
||||
|
||||
@@ -17133,21 +17157,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T21718
|
||||
-- No SWOT analysis options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2361666775"] = "Es sind keine Optionen für die SWOT-Analyse vorausgewählt"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2429021439"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt, um Webinhalte vor der Analyse zu bereinigen."
|
||||
|
||||
-- Preselect SWOT analysis options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2593950994"] = "Optionen für die SWOT-Analyse vorauswählen?"
|
||||
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2799795311"] = "Der Web-Content-Reader ist ausgeblendet"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T284131714"] = "Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2981779520"] = "Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907"] = "Wenn diese Option aktiviert ist, ist der Web-Content-Reader vorausgewählt. Das kann nützlich sein, wenn Sie häufig Inhalte von Websites analysieren."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907::INFORMAL"] = "Wenn diese Option aktiviert ist, ist der Web-Content-Reader vorausgewählt. Das kann nützlich sein, wenn du häufig Inhalte von Websites analysierst."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T332064979"] = "Wenn diese Option aktiviert ist, ist der Agent zur Inhaltsbereinigung vorausgewählt, um Webinhalte vor der Analyse zu bereinigen."
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3448155331"] = "Schließen"
|
||||
|
||||
@@ -17157,9 +17187,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T35473
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3641773985"] = "Der Web-Content-Reader ist vorausgewählt"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3649428096"] = "Agent zur Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Specify topics the SWOT analysis should pay particular attention to.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3857591121"] = "Geben Sie die Themen an, auf die die SWOT-Analyse besonders achten soll."
|
||||
|
||||
@@ -17175,6 +17202,9 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T62915
|
||||
-- Preselect an analysis focus
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T656094797"] = "Analysefokus vorauswählen"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T845988899"] = "Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T975761680"] = "Wenn diese Option aktiviert ist, können Sie die Optionen für die SWOT-Analyse vorauswählen. Das kann nützlich sein, wenn Sie eine bestimmte Sprache, einen bestimmten Analysefokus oder ein bestimmtes LLM bevorzugen."
|
||||
|
||||
@@ -17211,9 +17241,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T388911788
|
||||
-- Preselect synonym options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T4170921846"] = "Synonymoptionen vorauswählen?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1013787967"] = "Agent zur Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1030372436"] = "Der Web-Content-Reader wird angezeigt"
|
||||
|
||||
@@ -17229,12 +17256,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T141
|
||||
-- Preselect another target language
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1462295644"] = "Eine andere Zielsprache vorauswählen"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569"] = "Wenn diese Option aktiviert ist, wird der Agent zur Inhaltsbereinigung automatisch vorausgewählt. Das kann nützlich sein, wenn Sie den Inhalt bereinigen möchten, bevor Sie ihn zusammenfassen."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569::INFORMAL"] = "Wenn diese Option aktiviert ist, wird der Agent zur Inhaltsbereinigung automatisch vorausgewählt. Das kann nützlich sein, wenn du den Inhalt bereinigen möchtest, bevor du ihn zusammenfasst."
|
||||
|
||||
-- When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1633101895"] = "Wenn diese Option aktiviert ist, wird der Web-Content-Reader ausgeblendet und kann nicht verwendet werden. Dadurch wird die Benutzeroberfläche etwas einfacher zu bedienen."
|
||||
|
||||
@@ -17244,9 +17265,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T170
|
||||
-- Assistant: Text Summarizer Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1767527569"] = "Assistent: Optionen für die Textzusammenfassung"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1969816694"] = "Agent zur Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2090693677"] = "Web-Content-Reader ausblenden?"
|
||||
|
||||
@@ -17262,6 +17280,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T244
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2799795311"] = "Der Web-Content-Reader ist ausgeblendet"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T284131714"] = "Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2981779520"] = "Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- No summarizer options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3215334223"] = "Es sind keine Optionen für die Textzusammenfassung vorausgewählt"
|
||||
|
||||
@@ -17280,12 +17304,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T354
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3641773985"] = "Der Web-Content-Reader ist vorausgewählt"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3649428096"] = "Agent zur Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Preselect important aspects
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3705987833"] = "Wichtige Aspekte vorauswählen"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn Sie den Inhalt bereinigen möchten, bevor Sie ihn zusammenfassen."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229::INFORMAL"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn du den Inhalt bereinigen möchtest, bevor du ihn zusammenfasst."
|
||||
|
||||
-- Which summarizer complexity should be preselected?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T408530182"] = "Welche Komplexität der Zusammenfassung soll vorausgewählt werden?"
|
||||
|
||||
@@ -17301,8 +17328,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T511
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T629158142"] = "Den Web-Content-Reader vorauswählen?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1013787967"] = "Agent zur Inhaltsbereinigung ist vorausgewählt"
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T845988899"] = "Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- Assistant: Translator Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1016384269"] = "Assistent: Übersetzeroptionen"
|
||||
@@ -17328,8 +17355,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T170112
|
||||
-- Live translation is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1825690873"] = "Live-Übersetzung ist nicht vorausgewählt"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1969816694"] = "Agent zur Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn Sie den Inhalt vor der Übersetzung bereinigen möchten."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390::INFORMAL"] = "Wenn diese Option aktiviert ist, ist die Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn du den Inhalt vor der Übersetzung bereinigen möchtest."
|
||||
|
||||
-- Preselect translator options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1989346399"] = "Übersetzeroptionen vorauswählen?"
|
||||
@@ -17346,9 +17376,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T243574
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2799795311"] = "Der Web-Content-Reader ist ausgeblendet"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T284131714"] = "Inhaltsbereinigung ist nicht vorausgewählt"
|
||||
|
||||
-- No translator options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2866358796"] = "Es sind keine Übersetzeroptionen vorausgewählt"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2981779520"] = "Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3448155331"] = "Schließen"
|
||||
|
||||
@@ -17364,9 +17400,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T354826
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3641773985"] = "Der Web-Content-Reader ist vorausgewählt"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3649428096"] = "Agent zur Inhaltsbereinigung vorauswählen?"
|
||||
|
||||
-- When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T4195511669"] = "Wenn diese Option aktiviert ist, können Sie die Übersetzeroptionen vorauswählen. Das kann nützlich sein, wenn Sie eine bestimmte Zielsprache oder ein bestimmtes LLM bevorzugen."
|
||||
|
||||
@@ -17376,11 +17409,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T419551
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T629158142"] = "Den Web-Content-Reader vorauswählen?"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938"] = "Wenn diese Option aktiviert ist, ist der Agent zur Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn Sie den Inhalt vor der Übersetzung bereinigen möchten."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938::INFORMAL"] = "Wenn diese Option aktiviert ist, ist der Agent zur Inhaltsbereinigung vorausgewählt. Das kann nützlich sein, wenn du den Inhalt vor der Übersetzung bereinigen möchtest."
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T845988899"] = "Inhaltsbereinigung ist vorausgewählt"
|
||||
|
||||
-- How fast should the live translation react?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T884246296"] = "Wie schnell soll die Live-Übersetzung reagieren?"
|
||||
@@ -18180,12 +18210,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3011450657"] = "Meine Aufgaben"
|
||||
-- E-Mail
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3026443472"] = "E-Mail"
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führen Sie sie manuell auf der Plugin-Seite aus."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455::INFORMAL"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führe sie manuell auf der Plugin-Seite aus."
|
||||
|
||||
-- Translate AI Studio text content into other languages
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3181803840"] = "Textinhalte von AI Studio in andere Sprachen übersetzen."
|
||||
|
||||
@@ -19512,12 +19536,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410"] = "Bitte legen Sie jewe
|
||||
-- Please drop only one plugin archive at a time.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410::INFORMAL"] = "Bitte lege jeweils nur ein Plugin-Archiv gleichzeitig ab."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führen Sie sie manuell aus."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817::INFORMAL"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führe sie manuell aus."
|
||||
|
||||
-- The assistant plugin '{0}' has been successfully revised.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4157246824"] = "Das Assistenten-Plugin „{0}“ wurde erfolgreich überarbeitet."
|
||||
|
||||
@@ -21543,6 +21561,54 @@ UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1713926719"] = "Der Export w
|
||||
-- The export failed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1895034475"] = "Der Export ist fehlgeschlagen."
|
||||
|
||||
-- The organization does not allow the provider for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1679509394"] = "Die Organisation lässt den Anbieter für Sicherheitsprüfungen nicht zu."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil weder ein Modell für Sicherheitsprüfungen noch ein appweiter Standardanbieter festgelegt ist. Wählen Sie in den Einstellungen ein Modell für Sicherheitsprüfungen aus."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532::INFORMAL"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil weder ein Modell für Sicherheitsprüfungen noch ein appweiter Standardanbieter festgelegt ist. Wähle in den Einstellungen ein Modell für Sicherheitsprüfungen aus."
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2034826200"] = "Es ist kein Audit-Anbieter konfiguriert."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167"] = "Der Anbieter für Sicherheitsprüfungen ist in Ihrer Organisation nicht zugelassen. Wählen Sie einen anderen aus oder legen Sie in den App-Einstellungen einen eigens für Sicherheitsprüfungen vorgesehenen Anbieter fest."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167::INFORMAL"] = "Der Anbieter für Sicherheitsprüfungen ist in deiner Organisation nicht zugelassen. Wähle einen anderen aus oder lege in den App-Einstellungen einen eigens für Sicherheitsprüfungen vorgesehenen Anbieter fest."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2861409367"] = "Der Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führen Sie sie manuell auf der Plugin-Seite aus."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862::INFORMAL"] = "Die automatische Sicherheitsprüfung für das Assistenten-Plugin „{0}“ ist fehlgeschlagen. Bitte führe sie manuell auf der Plugin-Seite aus."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil das Modell für Sicherheitsprüfungen nicht vertrauenswürdig genug ist. Wählen Sie in den Einstellungen ein anderes aus."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740::INFORMAL"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil das Modell für Sicherheitsprüfungen nicht vertrauenswürdig genug ist. Wähle in den Einstellungen ein anderes aus."
|
||||
|
||||
-- No provider is configured for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3445977179"] = "Für Sicherheitsprüfungen ist kein Anbieter konfiguriert."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil Ihre Organisation das Modell für Sicherheitsprüfungen nicht zulässt. Wählen Sie in den Einstellungen ein anderes aus."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793::INFORMAL"] = "AI Studio hat neue oder aktualisierte Assistenten-Plugins nicht automatisch geprüft, weil deine Organisation das Modell für Sicherheitsprüfungen nicht zulässt. Wähle in den Einstellungen ein anderes aus."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219"] = "Der ausgewählte Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug. Wählen Sie einen Anbieter, der das hier erforderliche Vertrauensniveau erreicht, oder legen Sie in den App-Einstellungen einen eigens für Sicherheitsprüfungen vorgesehenen Anbieter fest."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219::INFORMAL"] = "Der ausgewählte Anbieter ist für Sicherheitsprüfungen nicht vertrauenswürdig genug. Wähle einen Anbieter, der das hier erforderliche Vertrauensniveau erreicht, oder lege in den App-Einstellungen einen eigens für Sicherheitsprüfungen vorgesehenen Anbieter fest."
|
||||
|
||||
-- Text
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::DATAMODEL::ASSISTANTCOMPONENTTYPEEXTENSIONS::T1041509726"] = "Text"
|
||||
|
||||
|
||||
+240
-174
@@ -48,47 +48,32 @@ LANG_NAME = "English (United States)"
|
||||
|
||||
UI_TEXT_CONTENT = {}
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2034826200"] = "No audit provider is configured."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2451573087::INFORMAL"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T2861409367"] = "The provider is not trusted enough for security checks."
|
||||
|
||||
-- The audit agent did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3310188890"] = "The audit agent did not return a usable response."
|
||||
|
||||
-- No provider is configured for the Security Audit Agent.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T3605554201"] = "No provider is configured for the Security Audit Agent."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T4104574219::INFORMAL"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T432419958"] = "The audit result was empty."
|
||||
|
||||
-- The audit agent returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITAGENT::T917600186"] = "The audit agent returned invalid JSON."
|
||||
|
||||
-- Concerning
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T1500095429"] = "Concerning"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T1500095429"] = "Concerning"
|
||||
|
||||
-- Dangerous
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3421510547"] = "Dangerous"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3421510547"] = "Dangerous"
|
||||
|
||||
-- Unknown
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T3424652889"] = "Unknown"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T3424652889"] = "Unknown"
|
||||
|
||||
-- Safe
|
||||
UI_TEXT_CONTENT["AISTUDIO::AGENTS::ASSISTANTAUDIT::ASSISTANTAUDITLEVELEXTENSIONS::T760494712"] = "Safe"
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITLEVELEXTENSIONS::T760494712"] = "Safe"
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T2451573087::INFORMAL"] = "The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."
|
||||
|
||||
-- The audit did not return a usable response.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T391654503"] = "The audit did not return a usable response."
|
||||
|
||||
-- The audit result was empty.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T432419958"] = "The audit result was empty."
|
||||
|
||||
-- The audit returned invalid JSON.
|
||||
UI_TEXT_CONTENT["AISTUDIO::AIOPERATIONS::PLUGINAUDIT::PLUGINAUDITOPERATION::T678594297"] = "The audit returned invalid JSON."
|
||||
|
||||
-- Objective
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::ASSISTANTAGENDA::T1121586136"] = "Objective"
|
||||
@@ -10254,8 +10239,8 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613"] = "The cont
|
||||
-- The content cleaner uses the model of this assistant. Please select one below.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1160768613::INFORMAL"] = "The content cleaner uses the model of this assistant. Please select one below."
|
||||
|
||||
-- The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1164201762"] = "The content is cleaned using an LLM agent: the main content is extracted, advertisements and other irrelevant things are attempted to be removed; relative links are attempted to be converted into absolute links so that they can be used."
|
||||
-- The content was loaded, but not cleaned: the model of the content cleaner gave no answer.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1189712796"] = "The content was loaded, but not cleaned: the model of the content cleaner gave no answer."
|
||||
|
||||
-- Fetch
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T1396322691"] = "Fetch"
|
||||
@@ -10266,12 +10251,21 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807"] = "Please p
|
||||
-- Please provide a URL to load the content from.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2235427807::INFORMAL"] = "Please provide a URL to load the content from."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324"] = "Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings."
|
||||
|
||||
-- Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2247340324::INFORMAL"] = "Your organization does not allow the selected model. Please select another model, or configure an eligible one in the app settings."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696"] = "Loads the content from your URL. Does not work when the content is hidden behind a paywall."
|
||||
|
||||
-- Loads the content from your URL. Does not work when the content is hidden behind a paywall.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2672192696::INFORMAL"] = "Loads the content from your URL. Does not work when the content is hidden behind a paywall."
|
||||
|
||||
-- The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2765793850"] = "The text content cleaner, an AI task, extracts the main content, tries to remove advertisements and other clutter, and tries to turn relative links into absolute ones, so that they work."
|
||||
|
||||
-- URL from which to load the content
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T2883163022"] = "URL from which to load the content"
|
||||
|
||||
@@ -10290,6 +10284,9 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288"] = "Please pr
|
||||
-- Please provide a valid HTTP or HTTPS URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T307442288::INFORMAL"] = "Please provide a valid HTTP or HTTPS URL."
|
||||
|
||||
-- Clean up the content with AI?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3375295820"] = "Clean up the content with AI?"
|
||||
|
||||
-- No content cleaning
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3588401674"] = "No content cleaning"
|
||||
|
||||
@@ -10299,9 +10296,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228"] = "Please p
|
||||
-- Please provide a valid URL.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T3825586228::INFORMAL"] = "Please provide a valid URL."
|
||||
|
||||
-- Clean up content by using an LLM agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4057255553"] = "Clean up content by using an LLM agent?"
|
||||
|
||||
-- Show web content options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::READWEBCONTENT::T4249712357"] = "Show web content options"
|
||||
|
||||
@@ -10353,6 +10347,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SELECTFILE::T4285779702"] = "Choose File"
|
||||
-- External Assistants rated below this audit level are treated as insufficiently reviewed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1162151451"] = "External Assistants rated below this audit level are treated as insufficiently reviewed."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1707650617::INFORMAL"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio uses the app-wide default provider, or else the model you choose when auditing."
|
||||
|
||||
-- Users may still activate plugins below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T1840342259"] = "Users may still activate plugins below the minimum Audit-Level"
|
||||
|
||||
@@ -10365,6 +10365,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- External Assistants must be audited before activation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2065972970"] = "External Assistants must be audited before activation"
|
||||
|
||||
-- Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2081939459"] = "Before external assistants are activated, a model audits newly installed or updated ones for security risks. AI Studio keeps the latest audit card until the plugin manifest changes."
|
||||
|
||||
-- AI Task: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2200966468"] = "AI Task: Security Audit for external Assistants"
|
||||
|
||||
-- Block activation below the minimum Audit-Level?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T232834129"] = "Block activation below the minimum Audit-Level?"
|
||||
|
||||
@@ -10374,8 +10380,14 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2516645821::INFORMAL"] = "Disabling this setting turns off assistant plugin security audits. External assistants may then be activated and used even without a valid audit or after plugin changes. Do you really want to disable this protection?"
|
||||
|
||||
-- Agent: Security Audit for external Assistants
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2910364422"] = "Agent: Security Audit for external Assistants"
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563"] = "Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options."
|
||||
|
||||
-- Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2857321563::INFORMAL"] = "Automatic audits cannot run, because no model is available for security checks. Choose one above, or set an app-wide default provider in the app options."
|
||||
|
||||
-- Use the app default, otherwise the model chosen when auditing
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2888830822"] = "Use the app default, otherwise the model chosen when auditing"
|
||||
|
||||
-- External Assistant can be activated without an audit
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T2915620630"] = "External Assistant can be activated without an audit"
|
||||
@@ -10401,101 +10413,101 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDI
|
||||
-- Activation is blocked below the minimum Audit-Level
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4041192469"] = "Activation is blocked below the minimum Audit-Level"
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant."
|
||||
|
||||
-- Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T4166969352::INFORMAL"] = "Optionally choose a dedicated provider for assistant plugin audits. When left empty, AI Studio falls back to the app-wide default provider."
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1210631144::INFORMAL"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the assistant."
|
||||
|
||||
-- This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTASSISTANTAUDIT::T893652865"] = "This Agent audits newly installed or updated external Plugin-Assistant for security risks before they are activated and stores the latest audit card until the plugin manifest changes."
|
||||
-- When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1587139574"] = "When an assistant loads content from the web, a model can clean it up: it extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used."
|
||||
|
||||
-- Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T1299550589"] = "Use Case: this agent is used to clean up text content. It extracts the main content, removes advertisements and other irrelevant things, and attempts to convert relative links into absolute links so that they can be used."
|
||||
-- Use the model of the assistant
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T2899245972"] = "Use the model of the assistant"
|
||||
|
||||
-- Agent: Text Content Cleaner Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3517268866"] = "Agent: Text Content Cleaner"
|
||||
-- AI Task: Text Content Cleaner
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3478589970"] = "AI Task: Text Content Cleaner"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- Preselect text content cleaner options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3659087305"] = "Preselect text content cleaner options?"
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTCONTENTCLEANER::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Use Case: this agent is used to select the appropriate data sources for the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2208143316"] = "Use Case: this agent is used to select the appropriate data sources for the current prompt."
|
||||
-- AI Task: Data Source Selection
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T1227800581"] = "AI Task: Data Source Selection"
|
||||
|
||||
-- Agent: Data Source Selection Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2258031949"] = "Agent: Data Source Selection"
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2513220366::INFORMAL"] = "When enabled, you can preselect the model for this task and the confidence it needs. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T2522862914"] = "In classic RAG, which searches the data sources with every message, a model first selects the data sources which fit the current prompt."
|
||||
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3435835378"] = "Use the model of the chat"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Preselect data source selection options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTDATASOURCESELECTION::T991598424"] = "Preselect data source selection options?"
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386"] = "Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595"] = "Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations."
|
||||
|
||||
-- Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1326813386::INFORMAL"] = "Use Case: this agent is used to validate any retrieval context of any retrieval process. Perhaps there are many of these retrieval contexts and you want to validate them all. Therefore, you might want to use a cheap and fast LLM for this job. When using a local or self-hosted LLM, look for a small (e.g. 3B) and fast model."
|
||||
-- Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1490986595::INFORMAL"] = "Each validation is a request of its own, so more simultaneous validations mean as many simultaneous requests. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 and 6 validations."
|
||||
|
||||
-- The validation agent is enabled
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2274149855"] = "The validation agent is enabled"
|
||||
-- AI Task: Retrieval Context Validation
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T1717726852"] = "AI Task: Retrieval Context Validation"
|
||||
|
||||
-- Enable the retrieval context validation agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663872937"] = "Enable the retrieval context validation agent?"
|
||||
-- How many validations should run simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2326205445"] = "How many validations should run simultaneously?"
|
||||
|
||||
-- When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T240073404"] = "When enabled, a model checks each retrieval context of classic RAG, whether it makes sense for the given prompt."
|
||||
|
||||
-- Validate the retrieval contexts?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2428915017"] = "Validate the retrieval contexts?"
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642"] = "When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2520295642::INFORMAL"] = "When enabled, you can preselect the model for this task, the confidence it needs, and how many validations run simultaneously. Without a preselected model, AI Studio uses the model of the chat."
|
||||
|
||||
-- Preselect retrieval context validation options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2663938643"] = "Preselect retrieval context validation options?"
|
||||
|
||||
-- agents
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T2669785679"] = "agents"
|
||||
|
||||
-- When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T298440039"] = "When enabled, the retrieval context validation agent will check each retrieval context of any retrieval process, whether a context makes sense for the given prompt."
|
||||
|
||||
-- How many validation agents should work simultaneously?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3431541788"] = "How many validation agents should work simultaneously?"
|
||||
-- Use the model of the chat
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3435835378"] = "Use the model of the chat"
|
||||
|
||||
-- No options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T354528094"] = "No options are preselected"
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- When enabled, you can preselect some agent options. This might be useful when you prefer an LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3577764214::INFORMAL"] = "When enabled, you can preselect some agent options. This might be useful when you prefer an LLM."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890"] = "More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents."
|
||||
|
||||
-- More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3819544890::INFORMAL"] = "More active agents also mean that a corresponding number of requests are made simultaneously. Some providers limit the number of requests per minute. When you are unsure, choose a low setting between 1 to 6 agents."
|
||||
|
||||
-- Options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T3875604319"] = "Options are preselected"
|
||||
|
||||
-- Agent: Retrieval Context Validation Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T928989804"] = "Agent: Retrieval Context Validation"
|
||||
-- validations
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T595734827"] = "validations"
|
||||
|
||||
-- Each retrieval context is validated
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T705018823"] = "Each retrieval context is validated"
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962"] = "In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one."
|
||||
|
||||
-- In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T765642962::INFORMAL"] = "In classic RAG, a model checks each retrieval context, i.e., each passage found in the data sources, whether it fits the current prompt. There can be many of them, so you might want to use a cheap and fast model for this job. When using a local or self-hosted model, look for a small (e.g., 3B) and fast one."
|
||||
|
||||
-- No validation is performed
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAGENTRETRIEVALCONTEXTVALIDATION::T95175095"] = "No validation is performed"
|
||||
@@ -10509,6 +10521,12 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044"]
|
||||
-- Do you want to show preview features in the app?
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1118505044::INFORMAL"] = "Do you want to show preview features in the app?"
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1140234771::INFORMAL"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an AI task, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- AI Studio cannot check for updates when running as a Flatpak. Updates are managed outside the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1190632518"] = "AI Studio cannot check for updates when running as a Flatpak. Updates are managed outside the app."
|
||||
|
||||
@@ -10614,12 +10632,6 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663"]
|
||||
-- Select the language for the app.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907446663::INFORMAL"] = "Select the language for the app."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1907749697::INFORMAL"] = "When enabled, requests to self-hosted providers and LiteLLM name the feature that sent them, e.g., the chat, an assistant, or an agent, together with the version of AI Studio and your operating system. This lets the operators of these servers, usually your organization, see which features are used. Cloud providers never receive these details, and AI Studio never sends anything to its developers."
|
||||
|
||||
-- Your organization has disabled update checks and installations.
|
||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::SETTINGS::SETTINGSPANELAPP::T1909339369"] = "Your organization has disabled update checks and installations."
|
||||
|
||||
@@ -11925,6 +11937,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T193192210"] = "
|
||||
-- null
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T1996966820"] = "null"
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726"] = "The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2001789726::INFORMAL"] = "The model set for security checks no longer exists. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Properties
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2177370620"] = "Properties"
|
||||
|
||||
@@ -11943,9 +11961,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T273798258"] = "
|
||||
-- Size
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2789707388"] = "Size"
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141"] = "Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2882229141::INFORMAL"] = "Your organization does not allow the model set for security checks. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715"] = "The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2917601715::INFORMAL"] = "The model set for security checks is not trusted enough for them. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model configured
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T2941224401"] = "No model configured"
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535"] = "No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3013234535::INFORMAL"] = "No model is set for security checks, neither for this AI task nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- Prompt: set
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T3156437951"] = "Prompt: set"
|
||||
|
||||
@@ -12003,12 +12039,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T521056824::INFO
|
||||
-- Audit model
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T532102309"] = "Audit model"
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381"] = "No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T614645381::INFORMAL"] = "No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings."
|
||||
|
||||
-- System Prompt
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::ASSISTANTPLUGINAUDITDIALOG::T628396066"] = "System Prompt"
|
||||
|
||||
@@ -16593,9 +16623,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T386176
|
||||
-- When enabled, you can preselect some job posting options. This might be useful when you prefer a specific LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGJOBPOSTINGS::T3861766667::INFORMAL"] = "When enabled, you can preselect some job posting options. This might be useful when you prefer a specific LLM model."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -16623,8 +16650,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361
|
||||
-- Choose whether the assistant should use the app default profile, no profile, or a specific profile.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1766361623::INFORMAL"] = "Choose whether the assistant should use the app default profile, no profile, or a specific profile."
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1958081245::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T1993094764"] = "When enabled, the web content reader is preselected. This might be useful when you prefer to load legal content from the web very often."
|
||||
@@ -16644,27 +16674,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2529161
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3448155331"] = "Close"
|
||||
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Assistant: Legal Check Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4033382756"] = "Assistant: Legal Check Options"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T4049873385::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the legal content before translating it."
|
||||
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGLEGALCHECK::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- No preset preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGMODELCOMPARISON::T1028082569"] = "No preset preselected"
|
||||
|
||||
@@ -17103,9 +17133,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T99564
|
||||
-- A slide holds at most this many bullet points, in all of its text slots together. Match it to the room for text in the layouts of your template.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSLIDEBUILDER::T995644230::INFORMAL"] = "A slide holds at most this many bullet points, in all of its text slots together. Match it to the room for text in the layouts of your template."
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -17121,9 +17148,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T16331
|
||||
-- Web content reader is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1701127912"] = "Web content reader is not preselected"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2090693677"] = "Hide the web content reader?"
|
||||
|
||||
@@ -17133,21 +17157,27 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T21718
|
||||
-- No SWOT analysis options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2361666775"] = "No SWOT analysis options are preselected"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2429021439"] = "When enabled, the text content cleaner is preselected for cleaning website content before it is analyzed."
|
||||
|
||||
-- Preselect SWOT analysis options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2593950994"] = "Preselect SWOT analysis options?"
|
||||
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907"] = "When enabled, the web content reader is preselected. This is useful when you often analyze content from websites."
|
||||
|
||||
-- When enabled, the web content reader is preselected. This is useful when you often analyze content from websites.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3088856907::INFORMAL"] = "When enabled, the web content reader is preselected. This is useful when you often analyze content from websites."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T332064979"] = "When enabled, the content cleaner agent is preselected for cleaning website content before it is analyzed."
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3448155331"] = "Close"
|
||||
|
||||
@@ -17157,9 +17187,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T35473
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Specify topics the SWOT analysis should pay particular attention to.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T3857591121"] = "Specify topics the SWOT analysis should pay particular attention to."
|
||||
|
||||
@@ -17175,6 +17202,9 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T62915
|
||||
-- Preselect an analysis focus
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T656094797"] = "Preselect an analysis focus"
|
||||
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSWOTANALYSIS::T975761680"] = "When enabled, you can preselect the SWOT analysis options. This is useful when you prefer a specific language, analysis focus, or LLM."
|
||||
|
||||
@@ -17211,9 +17241,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T388911788
|
||||
-- Preselect synonym options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGSYNONYMS::T4170921846"] = "Preselect synonym options?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1013787967"] = "Content cleaner agent is preselected"
|
||||
|
||||
-- Web content reader is shown
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1030372436"] = "Web content reader is shown"
|
||||
|
||||
@@ -17229,12 +17256,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T141
|
||||
-- Preselect another target language
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1462295644"] = "Preselect another target language"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T154694569::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1633101895"] = "When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use."
|
||||
|
||||
@@ -17244,9 +17265,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T170
|
||||
-- Assistant: Text Summarizer Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1767527569"] = "Assistant: Text Summarizer Options"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
|
||||
-- Hide the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2090693677"] = "Hide the web content reader?"
|
||||
|
||||
@@ -17262,6 +17280,12 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T244
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- No summarizer options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3215334223"] = "No summarizer options are preselected"
|
||||
|
||||
@@ -17280,12 +17304,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T354
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- Preselect important aspects
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T3705987833"] = "Preselect important aspects"
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T402180229::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before summarizing it."
|
||||
|
||||
-- Which summarizer complexity should be preselected?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T408530182"] = "Which summarizer complexity should be preselected?"
|
||||
|
||||
@@ -17301,8 +17328,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T511
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- Content cleaner agent is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1013787967"] = "Content cleaner agent is preselected"
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTEXTSUMMARIZER::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- Assistant: Translator Options
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1016384269"] = "Assistant: Translator Options"
|
||||
@@ -17328,8 +17355,11 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T170112
|
||||
-- Live translation is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1825690873"] = "Live translation is not preselected"
|
||||
|
||||
-- Content cleaner agent is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1969816694"] = "Content cleaner agent is not preselected"
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1936357390::INFORMAL"] = "When enabled, the text content cleaner is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- Preselect translator options?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T1989346399"] = "Preselect translator options?"
|
||||
@@ -17346,9 +17376,15 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T243574
|
||||
-- Web content reader is hidden
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2799795311"] = "Web content reader is hidden"
|
||||
|
||||
-- Text content cleaner is not preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T284131714"] = "Text content cleaner is not preselected"
|
||||
|
||||
-- No translator options are preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2866358796"] = "No translator options are preselected"
|
||||
|
||||
-- Preselect the text content cleaner?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T2981779520"] = "Preselect the text content cleaner?"
|
||||
|
||||
-- Close
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3448155331"] = "Close"
|
||||
|
||||
@@ -17364,9 +17400,6 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T354826
|
||||
-- Web content reader is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3641773985"] = "Web content reader is preselected"
|
||||
|
||||
-- Preselect the content cleaner agent?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T3649428096"] = "Preselect the content cleaner agent?"
|
||||
|
||||
-- When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T4195511669"] = "When enabled, you can preselect the translator options. This might be useful when you prefer a specific target language or LLM model."
|
||||
|
||||
@@ -17376,11 +17409,8 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T419551
|
||||
-- Preselect the web content reader?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T629158142"] = "Preselect the web content reader?"
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
|
||||
-- When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it.
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T82436938::INFORMAL"] = "When enabled, the content cleaner agent is preselected. This might be useful when you prefer to clean up the content before translating it."
|
||||
-- Text content cleaner is preselected
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T845988899"] = "Text content cleaner is preselected"
|
||||
|
||||
-- How fast should the live translation react?
|
||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGTRANSLATION::T884246296"] = "How fast should the live translation react?"
|
||||
@@ -18180,12 +18210,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3011450657"] = "My Tasks"
|
||||
-- E-Mail
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3026443472"] = "E-Mail"
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T311775455::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually from the plugins page."
|
||||
|
||||
-- Translate AI Studio text content into other languages
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::ASSISTANTS::T3181803840"] = "Translate AI Studio text content into other languages"
|
||||
|
||||
@@ -19512,12 +19536,6 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410"] = "Please drop only one
|
||||
-- Please drop only one plugin archive at a time.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T3974628410::INFORMAL"] = "Please drop only one plugin archive at a time."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4066679817::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually."
|
||||
|
||||
-- The assistant plugin '{0}' has been successfully revised.
|
||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::PLUGINS::T4157246824"] = "The assistant plugin '{0}' has been successfully revised."
|
||||
|
||||
@@ -21543,6 +21561,54 @@ UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1713926719"] = "The export s
|
||||
-- The export failed.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLAINFILEEXPORT::T1895034475"] = "The export failed."
|
||||
|
||||
-- The organization does not allow the provider for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1679509394"] = "The organization does not allow the provider for security checks."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532"] = "AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T1994155532::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because no model is set for security checks, and there is no app-wide default either. Choose a model for security checks in the settings."
|
||||
|
||||
-- No audit provider is configured.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2034826200"] = "No audit provider is configured."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167"] = "Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2109782167::INFORMAL"] = "Your organization does not allow the provider for security checks. Pick another one, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The provider is not trusted enough for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T2861409367"] = "The provider is not trusted enough for security checks."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page."
|
||||
|
||||
-- The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3322815862::INFORMAL"] = "The automatic security audit for the assistant plugin '{0}' failed. Please run it manually on the plugins page."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740"] = "AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3336137740::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because the model for security checks is not trusted enough. Choose another one in the settings."
|
||||
|
||||
-- No provider is configured for security checks.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T3445977179"] = "No provider is configured for security checks."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793"] = "AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings."
|
||||
|
||||
-- AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T399386793::INFORMAL"] = "AI Studio did not audit new or updated assistant plugins automatically, because your organization does not allow the model for security checks. Choose another one in the settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::ASSISTANTPLUGINAUDITSERVICE::T4104574219::INFORMAL"] = "The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings."
|
||||
|
||||
-- Text
|
||||
UI_TEXT_CONTENT["AISTUDIO::TOOLS::PLUGINSYSTEM::ASSISTANTS::DATAMODEL::ASSISTANTCOMPONENTTYPEEXTENSIONS::T1041509726"] = "Text"
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
using AIStudio.Agents;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations;
|
||||
using AIStudio.AIOperations.DataSourceChoice;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.AIOperations.RetrievalContextValidation;
|
||||
using AIStudio.AIOperations.TextContentCleaning;
|
||||
using AIStudio.Assistants.BeyondFactsLab;
|
||||
using AIStudio.Assistants.ModelComparison;
|
||||
using AIStudio.Assistants.VisualBriefing;
|
||||
@@ -260,10 +263,11 @@ internal sealed class Program
|
||||
|
||||
// Stateless: every method works on its arguments alone, so one instance serves everyone.
|
||||
builder.Services.AddSingleton<HTMLParser>();
|
||||
builder.Services.AddTransient<AgentDataSourceSelection>();
|
||||
builder.Services.AddTransient<AgentRetrievalContextValidation>();
|
||||
builder.Services.AddTransient<AgentTextContentCleaner>();
|
||||
builder.Services.AddTransient<AssistantAuditAgent>();
|
||||
builder.Services.AddSingleton<AIOperationProviderResolver>();
|
||||
builder.Services.AddSingleton<TextContentCleaningOperation>();
|
||||
builder.Services.AddSingleton<DataSourceChoiceOperation>();
|
||||
builder.Services.AddSingleton<RetrievalContextValidationOperation>();
|
||||
builder.Services.AddSingleton<PluginAuditOperation>();
|
||||
builder.Services.AddTransient<AssistantPluginAuditService>();
|
||||
builder.Services.AddHostedService<UpdateService>();
|
||||
builder.Services.AddHostedService<TemporaryChatService>();
|
||||
|
||||
@@ -63,7 +63,7 @@ public record ChatTemplate(
|
||||
/// <remarks>
|
||||
/// Null means the template says nothing, so the chat starts with the data source defaults from
|
||||
/// the app settings. Anything else is the template's own answer, and it carries more than a
|
||||
/// list of sources: whether data sources are used at all, whether an agent picks them, and
|
||||
/// list of sources: whether data sources are used at all, whether an AI operation picks them, and
|
||||
/// whether the retrieved data is validated.
|
||||
/// </remarks>
|
||||
public DataSourceOptions? DataSourceOptions { get; set; }
|
||||
@@ -202,7 +202,7 @@ public record ChatTemplate(
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The two sides are not equally expressive: a launcher can only ever say "these sources, picked
|
||||
/// by hand", while a chat template carries the whole options and can also say "let an agent pick
|
||||
/// by hand", while a chat template carries the whole options and can also say "let an AI operation pick
|
||||
/// them for each message". Mixing them field by field would produce something neither of them
|
||||
/// asked for, so the template wins as a whole.
|
||||
/// </remarks>
|
||||
|
||||
@@ -6,7 +6,7 @@ using AIStudio.Assistants.SlideBuilder;
|
||||
using AIStudio.Assistants.TextSummarizer;
|
||||
using AIStudio.Assistants.EMail;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Settings.DataModel;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
|
||||
@@ -400,11 +400,11 @@ public static class ConfigurationSelectDataFactory
|
||||
yield return new(theme.Name, theme);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<AssistantAuditLevel>> GetAssistantAuditLevelsData()
|
||||
public static IEnumerable<ConfigurationSelectData<PluginAuditLevel>> GetAssistantAuditLevelsData()
|
||||
{
|
||||
foreach (var level in Enum.GetValues<AssistantAuditLevel>())
|
||||
foreach (var level in Enum.GetValues<PluginAuditLevel>())
|
||||
{
|
||||
if (level == AssistantAuditLevel.UNKNOWN)
|
||||
if (level == PluginAuditLevel.UNKNOWN)
|
||||
continue;
|
||||
|
||||
yield return new(level.Name, level);
|
||||
|
||||
@@ -48,7 +48,7 @@ public sealed class Data
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A list of its own rather than a part of DataSources: classic RAG, Semantic Search and the
|
||||
/// agents read DataSources, and none of them is meant to see a mailbox. It also keeps the
|
||||
/// AI operations read DataSources, and none of them is meant to see a mailbox. It also keeps the
|
||||
/// settings readable for older versions of AI Studio, so the settings version stays the same.
|
||||
/// An older version skips a property it does not know, but would fail to read the whole file
|
||||
/// over a data source type it does not know. It drops the list, though, the next time it stores
|
||||
@@ -193,7 +193,7 @@ public sealed class Data
|
||||
|
||||
public DataSWOTAnalysis SWOTAnalysis { get; set; } = new();
|
||||
|
||||
public DataTextContentCleaner TextContentCleaner { get; set; } = new();
|
||||
public DataTextContentCleaner TextContentCleaner { get; set; } = new(x => x.TextContentCleaner);
|
||||
|
||||
public DataAgentDataSourceSelection AgentDataSourceSelection { get; set; } = new(x => x.AgentDataSourceSelection);
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using System.Linq.Expressions;
|
||||
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class DataAgentDataSourceSelection(Expression<Func<Data, DataAgentDataSourceSelection>>? configSelection = null)
|
||||
@@ -20,4 +22,12 @@ public sealed class DataAgentDataSourceSelection(Expression<Func<Data, DataAgent
|
||||
/// Preselect a data source selection provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which selects the data sources.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which selects them, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
using System.Linq.Expressions;
|
||||
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class DataAgentRetrievalContextValidation(Expression<Func<Data, DataAgentRetrievalContextValidation>>? configSelection = null)
|
||||
@@ -12,7 +14,7 @@ public sealed class DataAgentRetrievalContextValidation(Expression<Func<Data, Da
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enable the retrieval context validation agent?
|
||||
/// Enable the retrieval context validation?
|
||||
/// </summary>
|
||||
public bool EnableRetrievalContextValidation { get; set; } = ManagedConfiguration.Register(configSelection, n => n.EnableRetrievalContextValidation, false);
|
||||
|
||||
@@ -26,6 +28,14 @@ public sealed class DataAgentRetrievalContextValidation(Expression<Func<Data, Da
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which validates the retrieval contexts.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which validates them, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
|
||||
/// <summary>
|
||||
/// Configure how many parallel validations to run.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using System.Linq.Expressions;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
@@ -26,10 +28,18 @@ public sealed class DataAssistantPluginAudit(Expression<Func<Data, DataAssistant
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which audits the plugins.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies to every provider which audits a plugin, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum audit level assistant plugins should meet.
|
||||
/// </summary>
|
||||
public AssistantAuditLevel MinimumLevel { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumLevel, AssistantAuditLevel.CAUTION);
|
||||
public PluginAuditLevel MinimumLevel { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumLevel, PluginAuditLevel.CAUTION);
|
||||
|
||||
/// <summary>
|
||||
/// Should activation be blocked when the audit result is below the minimum level?
|
||||
|
||||
@@ -20,7 +20,7 @@ public class DataLegalCheck
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the content cleaner agent?
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ public sealed class DataSWOTAnalysis
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the content cleaner agent?
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AIStudio.Settings.DataModel;
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Mailboxes are kept in Data.Mailboxes rather than in DataSources, which is why this is no
|
||||
/// IDataSource: classic RAG, Semantic Search and the agents never see a mailbox. Only the mail
|
||||
/// IDataSource: classic RAG, Semantic Search and the AI operations never see a mailbox. Only the mail
|
||||
/// tools read from one.
|
||||
/// </remarks>
|
||||
public record struct DataSourceMailbox: IIndexedDataSource, ISecretId
|
||||
|
||||
@@ -7,14 +7,14 @@ public enum DataSourceRetrievalMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The model searches the data sources itself, through the tool semantic_search, whenever a
|
||||
/// question calls for it. No agent takes part: the chat model picks the data sources and
|
||||
/// question calls for it. No AI operation takes part: the chat model picks the data sources and
|
||||
/// judges what it found.
|
||||
/// </summary>
|
||||
SEMANTIC_SEARCH,
|
||||
|
||||
/// <summary>
|
||||
/// AI Studio searches the data sources with every message, before the model answers. This is
|
||||
/// the classic RAG process, with its agents for selecting data sources and for validating what
|
||||
/// the classic RAG process, with its AI operations for selecting data sources and for validating what
|
||||
/// was found.
|
||||
/// </summary>
|
||||
EVERY_MESSAGE,
|
||||
|
||||
@@ -1,14 +1,33 @@
|
||||
using System.Linq.Expressions;
|
||||
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class DataTextContentCleaner
|
||||
public sealed class DataTextContentCleaner(Expression<Func<Data, DataTextContentCleaner>>? configSelection = null)
|
||||
{
|
||||
/// <summary>
|
||||
/// The default constructor for the JSON deserializer.
|
||||
/// </summary>
|
||||
public DataTextContentCleaner() : this(null)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any text content cleaner options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; }
|
||||
public bool PreselectAgentOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectAgentOptions, false);
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a text content cleaner provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = string.Empty;
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which cleans the text content.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which cleans it, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
}
|
||||
@@ -22,7 +22,7 @@ public sealed class DataTextSummarizer
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the content cleaner agent?
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public sealed class DataTranslation
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the content cleaner agent?
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ public static class DataSourceOrderExtensions
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The same data sources always come in the same order, however the settings list them, the
|
||||
/// checks return them, or an agent selects them. Semantic Search offers them this way, because
|
||||
/// checks return them, or an AI operation selects them. Semantic Search offers them this way, because
|
||||
/// the providers cache a request from its beginning, and the tools are part of that beginning,
|
||||
/// see IToolImplementation.ResolveFunctionAsync. DataSourceRequirements names the first of
|
||||
/// several equally strict data sources this way, so that both ways of searching name the same.
|
||||
|
||||
@@ -7,7 +7,7 @@ using AIStudio.Tools.RAG;
|
||||
namespace AIStudio.Settings;
|
||||
|
||||
/// <summary>
|
||||
/// The common interface for the data sources in DataSources, which classic RAG, Semantic Search and the agents read.
|
||||
/// The common interface for the data sources in DataSources, which classic RAG, Semantic Search and the AI operations read.
|
||||
/// </summary>
|
||||
[JsonPolymorphic(TypeDiscriminatorPropertyName = "$type_discriminator")]
|
||||
[JsonDerivedType(typeof(DataSourceLocalDirectory), nameof(DataSourceType.LOCAL_DIRECTORY))]
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AIStudio.Settings;
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Not every data source is an IDataSource. Those are the ones in DataSources, which classic RAG,
|
||||
/// Semantic Search and the agents read. A data source kept in a list of its own is never handed to
|
||||
/// Semantic Search and the AI operations read. A data source kept in a list of its own is never handed to
|
||||
/// them, and the compiler sees to that, because it implements only this interface or
|
||||
/// IIndexedDataSource.
|
||||
/// </remarks>
|
||||
|
||||
@@ -464,13 +464,16 @@ public sealed class SettingsManager
|
||||
|
||||
public void InjectSpellchecking(Dictionary<string, object?> attributes) => attributes["spellcheck"] = this.ConfigurationData.App.EnableSpellchecking ? "true" : "false";
|
||||
|
||||
/// <summary>
|
||||
/// The global minimum confidence level; NONE when neither the user nor the organization enforces one.
|
||||
/// </summary>
|
||||
public ConfidenceLevel GlobalMinimumConfidenceLevel => this.ConfigurationData.Confidence is { EnforceGlobalMinimumConfidence: true, GlobalMinimumConfidence: not ConfidenceLevel.NONE and not ConfidenceLevel.UNKNOWN }
|
||||
? this.ConfigurationData.Confidence.GlobalMinimumConfidence
|
||||
: ConfidenceLevel.NONE;
|
||||
|
||||
public ConfidenceLevel GetMinimumConfidenceLevel(Tools.Components component)
|
||||
{
|
||||
var minimumLevel = ConfidenceLevel.NONE;
|
||||
var enforceGlobalMinimumConfidence = this.ConfigurationData.Confidence is { EnforceGlobalMinimumConfidence: true, GlobalMinimumConfidence: not ConfidenceLevel.NONE and not ConfidenceLevel.UNKNOWN };
|
||||
if (enforceGlobalMinimumConfidence)
|
||||
minimumLevel = this.ConfigurationData.Confidence.GlobalMinimumConfidence;
|
||||
|
||||
var minimumLevel = this.GlobalMinimumConfidenceLevel;
|
||||
var componentMinimumLevel = component.MinimumConfidence(this);
|
||||
if (componentMinimumLevel > minimumLevel)
|
||||
minimumLevel = componentMinimumLevel;
|
||||
@@ -612,6 +615,18 @@ public sealed class SettingsManager
|
||||
return this.ConfigurationData.Providers.FirstOrDefault(x => x.Id == this.ConfigurationData.App.PreselectedProvider && this.IsProviderUsable(x.UsedLLMProvider, minimumLevel)) ?? Provider.NONE;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The ID of the provider which serves as the app-wide default.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// With exactly one configured provider, that one is the default, whatever the settings name, as in
|
||||
/// GetPreselectedProvider. Neither a prohibition nor the confidence level is checked here: whoever uses
|
||||
/// the provider checks them, e.g., AIOperationProviderChoice. The ID is empty when no default is set.
|
||||
/// </remarks>
|
||||
public string AppDefaultProviderId => this.ConfigurationData.Providers.Count == 1
|
||||
? this.ConfigurationData.Providers[0].Id
|
||||
: this.ConfigurationData.App.PreselectedProvider;
|
||||
|
||||
public Provider GetChatProviderForLoadedChat(string? chatProviderId = null)
|
||||
{
|
||||
var minimumLevel = this.GetMinimumConfidenceLevel(Tools.Components.CHAT);
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AIStudio.Tools;
|
||||
/// The selected data sources are a subset of the allowed data sources.
|
||||
///
|
||||
/// The data sources waiting for a re-index are deliberately kept apart from the allowed ones rather
|
||||
/// than mixed in. Everything reading the allowed list -- the data source selection agent above all
|
||||
/// than mixed in. Everything reading the allowed list -- the data source selection above all
|
||||
/// -- takes it to mean "may be used to answer with", and a source whose index is being rebuilt
|
||||
/// cannot answer anything. It is listed separately so the user interface can still show it and say
|
||||
/// why it is greyed out, instead of letting it vanish without a word.
|
||||
|
||||
@@ -26,21 +26,12 @@ public static class AppIcons
|
||||
/// <summary>Shows or hides advanced or expert settings.</summary>
|
||||
public const string ADVANCED_SETTINGS = LucideIcons.SLIDERS_HORIZONTAL;
|
||||
|
||||
/// <summary>Marks an AI agent that works in the background, such as the security audit agent or the content cleaner when it has no usable provider.</summary>
|
||||
public const string AGENT = LucideIcons.BOT;
|
||||
|
||||
/// <summary>Marks the agent that cleans text content, such as removing navigation and ads from a loaded web page.</summary>
|
||||
public const string AGENT_CONTENT_CLEANER = LucideIcons.BRUSH_CLEANING;
|
||||
|
||||
/// <summary>Marks the agent that selects the data sources for a request.</summary>
|
||||
public const string AGENT_DATA_SOURCE_SELECTION = LucideIcons.LIST_CHECKS;
|
||||
|
||||
/// <summary>Marks the agent that validates retrieval contexts.</summary>
|
||||
public const string AGENT_RETRIEVAL_CONTEXT_VALIDATION = LucideIcons.LIST_CHECKS;
|
||||
|
||||
/// <summary>Marks the AI, such as its role in a chat.</summary>
|
||||
public const string AI = LucideIcons.SPARKLES;
|
||||
|
||||
/// <summary>Marks a task which AI Studio hands to a model on its own, such as the security audit or the text content cleaner, e.g., when it has no usable provider.</summary>
|
||||
public const string AI_OPERATION = LucideIcons.BOT;
|
||||
|
||||
/// <summary>Marks the data sources that the AI selected for a question.</summary>
|
||||
public const string AI_SELECTED_DATA_SOURCES = LucideIcons.LIST_FILTER;
|
||||
|
||||
@@ -347,6 +338,9 @@ public static class AppIcons
|
||||
/// <summary>Shows that the data sources need no attention, because nothing is indexing and nothing failed.</summary>
|
||||
public const string DATA_SOURCES_UP_TO_DATE = LucideIcons.DATABASE_CHECK;
|
||||
|
||||
/// <summary>Marks the task in which a model selects the data sources for a request.</summary>
|
||||
public const string DATA_SOURCE_SELECTION = LucideIcons.LIST_CHECKS;
|
||||
|
||||
/// <summary>Marks a single value in a data tree, such as a JSON value or another value of a plugin.</summary>
|
||||
public const string DATA_VALUE = LucideIcons.VARIABLE;
|
||||
|
||||
@@ -983,6 +977,9 @@ public static class AppIcons
|
||||
/// <summary>Transcribes an audio or video source again.</summary>
|
||||
public const string RETRANSCRIBE = LucideIcons.AUDIO_LINES;
|
||||
|
||||
/// <summary>Marks the task in which a model validates the retrieval contexts for a request.</summary>
|
||||
public const string RETRIEVAL_CONTEXT_VALIDATION = LucideIcons.LIST_CHECKS;
|
||||
|
||||
/// <summary>Reports that a data source could not be searched, so the search results are incomplete.</summary>
|
||||
public const string RETRIEVAL_GAP = LucideIcons.SEARCH_EXCLAMATION_POINT;
|
||||
|
||||
@@ -1157,6 +1154,9 @@ public static class AppIcons
|
||||
/// <summary>Marks the choice of how complex a text should be.</summary>
|
||||
public const string TEXT_COMPLEXITY = LucideIcons.LAYERS;
|
||||
|
||||
/// <summary>Marks the task which cleans text content, such as removing navigation and ads from a loaded web page.</summary>
|
||||
public const string TEXT_CONTENT_CLEANER = LucideIcons.BRUSH_CLEANING;
|
||||
|
||||
/// <summary>Marks a single-line text input, such as the text component of an assistant plugin.</summary>
|
||||
public const string TEXT_INPUT = LucideIcons.TEXT_CURSOR_INPUT;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public static class ComponentsExtensions
|
||||
/// <remarks>
|
||||
/// This is the single place that maps a built-in assistant to its category. The assistants page
|
||||
/// shows the assistant in the section of this category, and whatever offers assistants elsewhere
|
||||
/// asks it, too. Components which are no assistant of their own, such as the chat or the agents,
|
||||
/// asks it, too. Components which are no assistant of their own, such as the chat or the AI operations,
|
||||
/// return PluginCategory.NONE.
|
||||
/// </remarks>
|
||||
/// <value>The category of the assistant.</value>
|
||||
@@ -223,6 +223,11 @@ public static class ComponentsExtensions
|
||||
Components.BATCH_PROCESSING_ASSISTANT => settingsManager.ConfigurationData.BatchProcessing.PreselectOptions ? settingsManager.ConfigurationData.BatchProcessing.MinimumProviderConfidence : default,
|
||||
Components.MODEL_COMPARISON_ASSISTANT => settingsManager.ConfigurationData.ModelComparison.PreselectOptions ? settingsManager.ConfigurationData.ModelComparison.MinimumProviderConfidence : default,
|
||||
|
||||
Components.AGENT_TEXT_CONTENT_CLEANER => settingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions ? settingsManager.ConfigurationData.TextContentCleaner.MinimumProviderConfidence : default,
|
||||
Components.AGENT_DATA_SOURCE_SELECTION => settingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions ? settingsManager.ConfigurationData.AgentDataSourceSelection.MinimumProviderConfidence : default,
|
||||
Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION => settingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions ? settingsManager.ConfigurationData.AgentRetrievalContextValidation.MinimumProviderConfidence : default,
|
||||
Components.AGENT_ASSISTANT_PLUGIN_AUDIT => settingsManager.ConfigurationData.AssistantPluginAudit.MinimumProviderConfidence,
|
||||
|
||||
_ => default,
|
||||
};
|
||||
|
||||
@@ -263,11 +268,7 @@ public static class ComponentsExtensions
|
||||
// Dynamic assistants have no dedicated settings yet, so they derive their defaults from the chat:
|
||||
Components.DYNAMIC_ASSISTANT or Components.CHAT => settingsManager.ConfigurationData.Chat.PreselectOptions ? settingsManager.GetProviderById(settingsManager.ConfigurationData.Chat.PreselectedProvider) : Settings.Provider.NONE,
|
||||
|
||||
Components.AGENT_TEXT_CONTENT_CLEANER => settingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions ? settingsManager.GetProviderById(settingsManager.ConfigurationData.TextContentCleaner.PreselectedAgentProvider) : Settings.Provider.NONE,
|
||||
Components.AGENT_DATA_SOURCE_SELECTION => settingsManager.ConfigurationData.AgentDataSourceSelection.PreselectAgentOptions ? settingsManager.GetProviderById(settingsManager.ConfigurationData.AgentDataSourceSelection.PreselectedAgentProvider) : Settings.Provider.NONE,
|
||||
Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION => settingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectAgentOptions ? settingsManager.GetProviderById(settingsManager.ConfigurationData.AgentRetrievalContextValidation.PreselectedAgentProvider) : Settings.Provider.NONE,
|
||||
Components.AGENT_ASSISTANT_PLUGIN_AUDIT => settingsManager.GetProviderById(settingsManager.ConfigurationData.AssistantPluginAudit.PreselectedAgentProvider),
|
||||
|
||||
// The AI operations choose their provider through AIOperationProviderResolver, see AIOperations/AGENTS.md.
|
||||
_ => Settings.Provider.NONE,
|
||||
};
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ and whoever runs it: loading, starting, checking an import, and the assistant bu
|
||||
## Assistant plugins
|
||||
|
||||
Every prompt text an assistant plugin brings, its `SystemPrompt` as well as its `CustomChatSystemPrompt`, goes
|
||||
through `PluginAssistants.BuildSecureSystemPrompt` and into the security audit of `AssistantAuditAgent`. A new
|
||||
through `PluginAssistants.BuildSecureSystemPrompt` and into the security audit of `PluginAuditOperation`. A new
|
||||
field which reaches a model as a prompt needs both, and its documentation in `Plugins/assistants/README.md` and in
|
||||
the template `Plugins/assistants/plugin.lua`: the Assistant Builder reads both files as its source of truth.
|
||||
|
||||
|
||||
Loaded 100 of 139 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user