@budibase/pro 3.31.0 → 3.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,9 +21,6 @@ export declare class TableGeneration {
|
|
|
21
21
|
private generateTables;
|
|
22
22
|
private generateAIColumns;
|
|
23
23
|
private promptForStructuredOutput;
|
|
24
|
-
private hasReasoningEffort;
|
|
25
|
-
private withoutReasoningEffort;
|
|
26
|
-
private shouldRetryWithoutReasoningEffort;
|
|
27
24
|
private getErrorMessage;
|
|
28
25
|
private toModelMessages;
|
|
29
26
|
}
|
package/dist/ai/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export { parseResponseFormat } from "./models/openai";
|
|
|
4
4
|
export { getLLM, getLLMConfig, getLLMOrThrow, LLMRequest } from "./llm";
|
|
5
5
|
export { LLM } from "./models/base";
|
|
6
6
|
export * from "./prompts";
|
|
7
|
+
export * from "./reasoningFallback";
|
|
7
8
|
export * from "./generators";
|
|
8
9
|
export * from "./structuredOutputs";
|
package/dist/ai/llm.d.ts
CHANGED
|
@@ -2,10 +2,19 @@ import { ChatCompletionRequest, LLMConfigOptions, LLMProviderConfig, Message, Re
|
|
|
2
2
|
import openai from "openai";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { LLM } from "./models/base";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated use the new `ai.sdk` instead
|
|
7
|
+
*/
|
|
5
8
|
export declare function getLLMConfig(): Promise<LLMProviderConfig | undefined>;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated use the new `ai.sdk` instead
|
|
11
|
+
*/
|
|
6
12
|
export declare function getLLM(options?: Omit<LLMConfigOptions, "model"> & {
|
|
7
13
|
model?: string;
|
|
8
14
|
}): Promise<LLM | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated use the new `ai.sdk` instead
|
|
17
|
+
*/
|
|
9
18
|
export declare function getLLMOrThrow(): Promise<LLM>;
|
|
10
19
|
export declare function getOpenAIUsingLocalAPIKey(): Promise<LLM | undefined>;
|
|
11
20
|
export declare class LLMRequest {
|
|
@@ -6,7 +6,6 @@ export interface AutomationAgentToolGuideline {
|
|
|
6
6
|
guidelines: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function summarizeText(text: string, length?: SummariseLength): LLMRequest;
|
|
9
|
-
export declare function extractFileData(schema: Record<string, any>, fileIdOrDataUrl: string, supportsFile: boolean): LLMRequest;
|
|
10
9
|
export declare function classifyText(text: string, categories: string[]): LLMRequest;
|
|
11
10
|
export declare function cleanData(text: string): LLMRequest;
|
|
12
11
|
export declare function generateCronExpression(text: string): LLMRequest;
|