UNPKG

@budibase/server

Version:
13 lines (10 loc) 289 B
import { ResponseFormat } from "@budibase/types" import { Scope } from "nock" export interface MockLLMResponseOpts { baseUrl?: string format?: ResponseFormat } export type MockLLMResponseFn = ( answer: string | ((prompt: string) => string), opts?: MockLLMResponseOpts ) => Scope