Budibase AI self-host changes.

This commit is contained in:
Sam Rose 2025-03-26 11:44:07 +00:00
parent b36c64fbde
commit 11d95df20e
No known key found for this signature in database
3 changed files with 15 additions and 1 deletions

@ -1 +1 @@
Subproject commit d15384e81cf985ca04a514bea0bc9d091b6c482e
Subproject commit 200f84cfe865e482a386c7062ee40ec1812446a3

View File

@ -47,6 +47,7 @@ async function init() {
VERSION: "0.0.0+local",
PASSWORD_MIN_LENGTH: "1",
OPENAI_API_KEY: "sk-abcdefghijklmnopqrstuvwxyz1234567890abcd",
BUDICLOUD_URL: "https://budibaseqa.app",
}
config = { ...config, ...existingConfig }

View File

@ -1,5 +1,18 @@
import { EnrichedBinding } from "../../ui"
export interface Message {
role: "system" | "user"
content: string
}
export interface ChatCompletionRequest {
messages: Message[]
}
export interface ChatCompletionResponse {
message?: string
}
export interface GenerateJsRequest {
prompt: string
bindings?: EnrichedBinding[]