UNPKG

magnitude-core

Version:
36 lines (32 loc) 1.77 kB
/************************************************************************************************* Welcome to Baml! To use this generated code, please run one of the following: $ npm install @boundaryml/baml $ yarn add @boundaryml/baml $ pnpm add @boundaryml/baml *************************************************************************************************/ import type { BamlRuntime, BamlCtxManager, ClientRegistry, Image } from "@boundaryml/baml"; import { HTTPRequest } from "@boundaryml/baml"; import type { ModularMemoryContext } from "./types"; import type TypeBuilder from "./type_builder"; type BamlCallOptions = { tb?: TypeBuilder; clientRegistry?: ClientRegistry; env?: Record<string, string | undefined>; }; export declare class HttpRequest { private runtime; private ctxManager; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager); CreatePartialRecipe(memory: ModularMemoryContext, task: string, __baml_options__?: BamlCallOptions): HTTPRequest; ExtractData(instructions: string, screenshot: Image, domContent: string, __baml_options__?: BamlCallOptions): HTTPRequest; QueryMemory(memory: ModularMemoryContext, query: string, __baml_options__?: BamlCallOptions): HTTPRequest; } export declare class HttpStreamRequest { private runtime; private ctxManager; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager); CreatePartialRecipe(memory: ModularMemoryContext, task: string, __baml_options__?: BamlCallOptions): HTTPRequest; ExtractData(instructions: string, screenshot: Image, domContent: string, __baml_options__?: BamlCallOptions): HTTPRequest; QueryMemory(memory: ModularMemoryContext, query: string, __baml_options__?: BamlCallOptions): HTTPRequest; } export {};