@llmops/core 0.4.0-beta.3 → 0.4.0
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.
package/dist/db/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-DTrGHajL.cjs";
|
|
2
2
|
export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Dataset, DatasetRecord, DatasetRecordsTable, DatasetVersion, DatasetVersionRecord, DatasetVersionRecordsTable, DatasetVersionsTable, DatasetsTable, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, GuardrailConfig, GuardrailConfigsTable, GuardrailResult, GuardrailResults, Insertable, LLMRequest, LLMRequestsTable, MigrationOptions, MigrationResult, Playground, PlaygroundColumn, PlaygroundResult, PlaygroundResultsTable, PlaygroundRun, PlaygroundRunsTable, PlaygroundsTable, ProviderConfig, ProviderConfigsTable, ProviderGuardrailOverride, ProviderGuardrailOverridesTable, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, createNeonDialect, datasetRecordsSchema, datasetVersionRecordsSchema, datasetVersionsSchema, datasetsSchema, detectDatabaseType, environmentSecretsSchema, environmentsSchema, executeWithSchema, getMigrations, guardrailConfigsSchema, llmRequestsSchema, matchType, parsePartialTableData, parseTableData, playgroundColumnSchema, playgroundResultsSchema, playgroundRunsSchema, playgroundsSchema, providerConfigsSchema, providerGuardrailOverridesSchema, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-apsBKXTb.mjs";
|
|
2
2
|
export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Dataset, DatasetRecord, DatasetRecordsTable, DatasetVersion, DatasetVersionRecord, DatasetVersionRecordsTable, DatasetVersionsTable, DatasetsTable, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, GuardrailConfig, GuardrailConfigsTable, GuardrailResult, GuardrailResults, Insertable, LLMRequest, LLMRequestsTable, MigrationOptions, MigrationResult, Playground, PlaygroundColumn, PlaygroundResult, PlaygroundResultsTable, PlaygroundRun, PlaygroundRunsTable, PlaygroundsTable, ProviderConfig, ProviderConfigsTable, ProviderGuardrailOverride, ProviderGuardrailOverridesTable, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, createNeonDialect, datasetRecordsSchema, datasetVersionRecordsSchema, datasetVersionsSchema, datasetsSchema, detectDatabaseType, environmentSecretsSchema, environmentsSchema, executeWithSchema, getMigrations, guardrailConfigsSchema, llmRequestsSchema, matchType, parsePartialTableData, parseTableData, playgroundColumnSchema, playgroundResultsSchema, playgroundRunsSchema, playgroundsSchema, providerConfigsSchema, providerGuardrailOverridesSchema, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
|
|
@@ -2083,22 +2083,6 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2083
2083
|
id: string;
|
|
2084
2084
|
createdAt: Date;
|
|
2085
2085
|
updatedAt: Date;
|
|
2086
|
-
}> | zod920.ZodSafeParseSuccess<{
|
|
2087
|
-
providerConfigId: string;
|
|
2088
|
-
guardrailConfigId: string;
|
|
2089
|
-
enabled: boolean;
|
|
2090
|
-
id: string;
|
|
2091
|
-
createdAt: Date;
|
|
2092
|
-
updatedAt: Date;
|
|
2093
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2094
|
-
}> | zod920.ZodSafeParseError<{
|
|
2095
|
-
providerConfigId: string;
|
|
2096
|
-
guardrailConfigId: string;
|
|
2097
|
-
enabled: boolean;
|
|
2098
|
-
id: string;
|
|
2099
|
-
createdAt: Date;
|
|
2100
|
-
updatedAt: Date;
|
|
2101
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2102
2086
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2103
2087
|
datasetId: string;
|
|
2104
2088
|
versionNumber: number;
|
|
@@ -2149,6 +2133,22 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2149
2133
|
id: string;
|
|
2150
2134
|
createdAt: Date;
|
|
2151
2135
|
updatedAt: Date;
|
|
2136
|
+
}> | zod920.ZodSafeParseSuccess<{
|
|
2137
|
+
providerConfigId: string;
|
|
2138
|
+
guardrailConfigId: string;
|
|
2139
|
+
enabled: boolean;
|
|
2140
|
+
id: string;
|
|
2141
|
+
createdAt: Date;
|
|
2142
|
+
updatedAt: Date;
|
|
2143
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2144
|
+
}> | zod920.ZodSafeParseError<{
|
|
2145
|
+
providerConfigId: string;
|
|
2146
|
+
guardrailConfigId: string;
|
|
2147
|
+
enabled: boolean;
|
|
2148
|
+
id: string;
|
|
2149
|
+
createdAt: Date;
|
|
2150
|
+
updatedAt: Date;
|
|
2151
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2152
2152
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2153
2153
|
requestId: string;
|
|
2154
2154
|
provider: string;
|
|
@@ -2389,22 +2389,6 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2389
2389
|
id?: string | undefined;
|
|
2390
2390
|
createdAt?: Date | undefined;
|
|
2391
2391
|
updatedAt?: Date | undefined;
|
|
2392
|
-
}> | zod920.ZodSafeParseSuccess<{
|
|
2393
|
-
providerConfigId?: string | undefined;
|
|
2394
|
-
guardrailConfigId?: string | undefined;
|
|
2395
|
-
enabled?: boolean | undefined;
|
|
2396
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2397
|
-
id?: string | undefined;
|
|
2398
|
-
createdAt?: Date | undefined;
|
|
2399
|
-
updatedAt?: Date | undefined;
|
|
2400
|
-
}> | zod920.ZodSafeParseError<{
|
|
2401
|
-
providerConfigId?: string | undefined;
|
|
2402
|
-
guardrailConfigId?: string | undefined;
|
|
2403
|
-
enabled?: boolean | undefined;
|
|
2404
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2405
|
-
id?: string | undefined;
|
|
2406
|
-
createdAt?: Date | undefined;
|
|
2407
|
-
updatedAt?: Date | undefined;
|
|
2408
2392
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2409
2393
|
datasetId?: string | undefined;
|
|
2410
2394
|
versionNumber?: number | undefined;
|
|
@@ -2455,6 +2439,22 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2455
2439
|
id?: string | undefined;
|
|
2456
2440
|
createdAt?: Date | undefined;
|
|
2457
2441
|
updatedAt?: Date | undefined;
|
|
2442
|
+
}> | zod920.ZodSafeParseSuccess<{
|
|
2443
|
+
providerConfigId?: string | undefined;
|
|
2444
|
+
guardrailConfigId?: string | undefined;
|
|
2445
|
+
enabled?: boolean | undefined;
|
|
2446
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2447
|
+
id?: string | undefined;
|
|
2448
|
+
createdAt?: Date | undefined;
|
|
2449
|
+
updatedAt?: Date | undefined;
|
|
2450
|
+
}> | zod920.ZodSafeParseError<{
|
|
2451
|
+
providerConfigId?: string | undefined;
|
|
2452
|
+
guardrailConfigId?: string | undefined;
|
|
2453
|
+
enabled?: boolean | undefined;
|
|
2454
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2455
|
+
id?: string | undefined;
|
|
2456
|
+
createdAt?: Date | undefined;
|
|
2457
|
+
updatedAt?: Date | undefined;
|
|
2458
2458
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2459
2459
|
requestId?: string | undefined;
|
|
2460
2460
|
configId?: string | null | undefined;
|
|
@@ -2618,14 +2618,6 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2618
2618
|
id: string;
|
|
2619
2619
|
createdAt: Date;
|
|
2620
2620
|
updatedAt: Date;
|
|
2621
|
-
} | {
|
|
2622
|
-
providerConfigId: string;
|
|
2623
|
-
guardrailConfigId: string;
|
|
2624
|
-
enabled: boolean;
|
|
2625
|
-
id: string;
|
|
2626
|
-
createdAt: Date;
|
|
2627
|
-
updatedAt: Date;
|
|
2628
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2629
2621
|
} | {
|
|
2630
2622
|
datasetId: string;
|
|
2631
2623
|
versionNumber: number;
|
|
@@ -2651,6 +2643,14 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2651
2643
|
id: string;
|
|
2652
2644
|
createdAt: Date;
|
|
2653
2645
|
updatedAt: Date;
|
|
2646
|
+
} | {
|
|
2647
|
+
providerConfigId: string;
|
|
2648
|
+
guardrailConfigId: string;
|
|
2649
|
+
enabled: boolean;
|
|
2650
|
+
id: string;
|
|
2651
|
+
createdAt: Date;
|
|
2652
|
+
updatedAt: Date;
|
|
2653
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2654
2654
|
} | {
|
|
2655
2655
|
requestId: string;
|
|
2656
2656
|
provider: string;
|
|
@@ -2773,14 +2773,6 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2773
2773
|
id?: string | undefined;
|
|
2774
2774
|
createdAt?: Date | undefined;
|
|
2775
2775
|
updatedAt?: Date | undefined;
|
|
2776
|
-
} | {
|
|
2777
|
-
providerConfigId?: string | undefined;
|
|
2778
|
-
guardrailConfigId?: string | undefined;
|
|
2779
|
-
enabled?: boolean | undefined;
|
|
2780
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2781
|
-
id?: string | undefined;
|
|
2782
|
-
createdAt?: Date | undefined;
|
|
2783
|
-
updatedAt?: Date | undefined;
|
|
2784
2776
|
} | {
|
|
2785
2777
|
datasetId?: string | undefined;
|
|
2786
2778
|
versionNumber?: number | undefined;
|
|
@@ -2806,6 +2798,14 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2806
2798
|
id?: string | undefined;
|
|
2807
2799
|
createdAt?: Date | undefined;
|
|
2808
2800
|
updatedAt?: Date | undefined;
|
|
2801
|
+
} | {
|
|
2802
|
+
providerConfigId?: string | undefined;
|
|
2803
|
+
guardrailConfigId?: string | undefined;
|
|
2804
|
+
enabled?: boolean | undefined;
|
|
2805
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2806
|
+
id?: string | undefined;
|
|
2807
|
+
createdAt?: Date | undefined;
|
|
2808
|
+
updatedAt?: Date | undefined;
|
|
2809
2809
|
} | {
|
|
2810
2810
|
requestId?: string | undefined;
|
|
2811
2811
|
configId?: string | null | undefined;
|
|
@@ -2083,22 +2083,6 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2083
2083
|
id: string;
|
|
2084
2084
|
createdAt: Date;
|
|
2085
2085
|
updatedAt: Date;
|
|
2086
|
-
}> | zod920.ZodSafeParseSuccess<{
|
|
2087
|
-
providerConfigId: string;
|
|
2088
|
-
guardrailConfigId: string;
|
|
2089
|
-
enabled: boolean;
|
|
2090
|
-
id: string;
|
|
2091
|
-
createdAt: Date;
|
|
2092
|
-
updatedAt: Date;
|
|
2093
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2094
|
-
}> | zod920.ZodSafeParseError<{
|
|
2095
|
-
providerConfigId: string;
|
|
2096
|
-
guardrailConfigId: string;
|
|
2097
|
-
enabled: boolean;
|
|
2098
|
-
id: string;
|
|
2099
|
-
createdAt: Date;
|
|
2100
|
-
updatedAt: Date;
|
|
2101
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2102
2086
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2103
2087
|
datasetId: string;
|
|
2104
2088
|
versionNumber: number;
|
|
@@ -2149,6 +2133,22 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2149
2133
|
id: string;
|
|
2150
2134
|
createdAt: Date;
|
|
2151
2135
|
updatedAt: Date;
|
|
2136
|
+
}> | zod920.ZodSafeParseSuccess<{
|
|
2137
|
+
providerConfigId: string;
|
|
2138
|
+
guardrailConfigId: string;
|
|
2139
|
+
enabled: boolean;
|
|
2140
|
+
id: string;
|
|
2141
|
+
createdAt: Date;
|
|
2142
|
+
updatedAt: Date;
|
|
2143
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2144
|
+
}> | zod920.ZodSafeParseError<{
|
|
2145
|
+
providerConfigId: string;
|
|
2146
|
+
guardrailConfigId: string;
|
|
2147
|
+
enabled: boolean;
|
|
2148
|
+
id: string;
|
|
2149
|
+
createdAt: Date;
|
|
2150
|
+
updatedAt: Date;
|
|
2151
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2152
2152
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2153
2153
|
requestId: string;
|
|
2154
2154
|
provider: string;
|
|
@@ -2389,22 +2389,6 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2389
2389
|
id?: string | undefined;
|
|
2390
2390
|
createdAt?: Date | undefined;
|
|
2391
2391
|
updatedAt?: Date | undefined;
|
|
2392
|
-
}> | zod920.ZodSafeParseSuccess<{
|
|
2393
|
-
providerConfigId?: string | undefined;
|
|
2394
|
-
guardrailConfigId?: string | undefined;
|
|
2395
|
-
enabled?: boolean | undefined;
|
|
2396
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2397
|
-
id?: string | undefined;
|
|
2398
|
-
createdAt?: Date | undefined;
|
|
2399
|
-
updatedAt?: Date | undefined;
|
|
2400
|
-
}> | zod920.ZodSafeParseError<{
|
|
2401
|
-
providerConfigId?: string | undefined;
|
|
2402
|
-
guardrailConfigId?: string | undefined;
|
|
2403
|
-
enabled?: boolean | undefined;
|
|
2404
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2405
|
-
id?: string | undefined;
|
|
2406
|
-
createdAt?: Date | undefined;
|
|
2407
|
-
updatedAt?: Date | undefined;
|
|
2408
2392
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2409
2393
|
datasetId?: string | undefined;
|
|
2410
2394
|
versionNumber?: number | undefined;
|
|
@@ -2455,6 +2439,22 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2455
2439
|
id?: string | undefined;
|
|
2456
2440
|
createdAt?: Date | undefined;
|
|
2457
2441
|
updatedAt?: Date | undefined;
|
|
2442
|
+
}> | zod920.ZodSafeParseSuccess<{
|
|
2443
|
+
providerConfigId?: string | undefined;
|
|
2444
|
+
guardrailConfigId?: string | undefined;
|
|
2445
|
+
enabled?: boolean | undefined;
|
|
2446
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2447
|
+
id?: string | undefined;
|
|
2448
|
+
createdAt?: Date | undefined;
|
|
2449
|
+
updatedAt?: Date | undefined;
|
|
2450
|
+
}> | zod920.ZodSafeParseError<{
|
|
2451
|
+
providerConfigId?: string | undefined;
|
|
2452
|
+
guardrailConfigId?: string | undefined;
|
|
2453
|
+
enabled?: boolean | undefined;
|
|
2454
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2455
|
+
id?: string | undefined;
|
|
2456
|
+
createdAt?: Date | undefined;
|
|
2457
|
+
updatedAt?: Date | undefined;
|
|
2458
2458
|
}> | zod920.ZodSafeParseSuccess<{
|
|
2459
2459
|
requestId?: string | undefined;
|
|
2460
2460
|
configId?: string | null | undefined;
|
|
@@ -2618,14 +2618,6 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2618
2618
|
id: string;
|
|
2619
2619
|
createdAt: Date;
|
|
2620
2620
|
updatedAt: Date;
|
|
2621
|
-
} | {
|
|
2622
|
-
providerConfigId: string;
|
|
2623
|
-
guardrailConfigId: string;
|
|
2624
|
-
enabled: boolean;
|
|
2625
|
-
id: string;
|
|
2626
|
-
createdAt: Date;
|
|
2627
|
-
updatedAt: Date;
|
|
2628
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2629
2621
|
} | {
|
|
2630
2622
|
datasetId: string;
|
|
2631
2623
|
versionNumber: number;
|
|
@@ -2651,6 +2643,14 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2651
2643
|
id: string;
|
|
2652
2644
|
createdAt: Date;
|
|
2653
2645
|
updatedAt: Date;
|
|
2646
|
+
} | {
|
|
2647
|
+
providerConfigId: string;
|
|
2648
|
+
guardrailConfigId: string;
|
|
2649
|
+
enabled: boolean;
|
|
2650
|
+
id: string;
|
|
2651
|
+
createdAt: Date;
|
|
2652
|
+
updatedAt: Date;
|
|
2653
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2654
2654
|
} | {
|
|
2655
2655
|
requestId: string;
|
|
2656
2656
|
provider: string;
|
|
@@ -2773,14 +2773,6 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2773
2773
|
id?: string | undefined;
|
|
2774
2774
|
createdAt?: Date | undefined;
|
|
2775
2775
|
updatedAt?: Date | undefined;
|
|
2776
|
-
} | {
|
|
2777
|
-
providerConfigId?: string | undefined;
|
|
2778
|
-
guardrailConfigId?: string | undefined;
|
|
2779
|
-
enabled?: boolean | undefined;
|
|
2780
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2781
|
-
id?: string | undefined;
|
|
2782
|
-
createdAt?: Date | undefined;
|
|
2783
|
-
updatedAt?: Date | undefined;
|
|
2784
2776
|
} | {
|
|
2785
2777
|
datasetId?: string | undefined;
|
|
2786
2778
|
versionNumber?: number | undefined;
|
|
@@ -2806,6 +2798,14 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2806
2798
|
id?: string | undefined;
|
|
2807
2799
|
createdAt?: Date | undefined;
|
|
2808
2800
|
updatedAt?: Date | undefined;
|
|
2801
|
+
} | {
|
|
2802
|
+
providerConfigId?: string | undefined;
|
|
2803
|
+
guardrailConfigId?: string | undefined;
|
|
2804
|
+
enabled?: boolean | undefined;
|
|
2805
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2806
|
+
id?: string | undefined;
|
|
2807
|
+
createdAt?: Date | undefined;
|
|
2808
|
+
updatedAt?: Date | undefined;
|
|
2809
2809
|
} | {
|
|
2810
2810
|
requestId?: string | undefined;
|
|
2811
2811
|
configId?: string | null | undefined;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "./index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "./index-DTrGHajL.cjs";
|
|
2
2
|
import * as kysely0 from "kysely";
|
|
3
3
|
import { Kysely } from "kysely";
|
|
4
4
|
import * as zod0 from "zod";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "./index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "./index-apsBKXTb.mjs";
|
|
2
2
|
import gateway from "@llmops/gateway";
|
|
3
3
|
import * as kysely0 from "kysely";
|
|
4
4
|
import { Kysely } from "kysely";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/core",
|
|
3
|
-
"version": "0.4.0
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Core LLMOps functionality and utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"kysely": "^0.28.8",
|
|
56
56
|
"kysely-neon": "^2.0.2",
|
|
57
57
|
"pino": "^10.1.0",
|
|
58
|
-
"@llmops/gateway": "^0.4.0
|
|
58
|
+
"@llmops/gateway": "^0.4.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/json-logic-js": "^2.0.8",
|