class LlmServiceBridge extends Object
| Type | Name and description |
|---|---|
static String |
AI_KEYWORD_BLOCKED_MESSAGE |
| Constructor and description |
|---|
LlmServiceBridge
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static UserInput |
autoDetectInput(String filePath) |
|
static void |
ensureAiKeywordAllowed() |
|
static String |
requestCompletion(List<UserInput> inputs, AiFeature feature) |
|
static String |
requestCompletion(ILlmService aiService, List<UserInput> inputs, String responseSchema, AiFeature feature) |
|
static ILlmService |
resolveAiService() |
|
static File |
resolveFile(String path) |
|
static String |
unavailableMessage()The admin's feature switch, else the launcher's reason when it withheld Katalon AI, else the generic hint. |
|
static void |
validateAttachmentType(UserInput input) |
The admin's feature switch, else the launcher's reason when it withheld Katalon AI, else the generic hint.