Budibase AI self-host changes.
This commit is contained in:
parent
b36c64fbde
commit
11d95df20e
|
@ -1 +1 @@
|
|||
Subproject commit d15384e81cf985ca04a514bea0bc9d091b6c482e
|
||||
Subproject commit 200f84cfe865e482a386c7062ee40ec1812446a3
|
|
@ -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 }
|
||||
|
|
|
@ -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[]
|
||||
|
|
Loading…
Reference in New Issue