UNPKG

magnitude-core

Version:
36 lines (32 loc) 1.98 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 * as types 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: types.AgentContext, task: string, taskData: (Image | string)[], includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; ExtractData(instructions: string, screenshot: Image, domContent: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; QueryMemory(memory: types.AgentContext, query: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; } export declare class HttpStreamRequest { private runtime; private ctxManager; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager); CreatePartialRecipe(memory: types.AgentContext, task: string, taskData: (Image | string)[], includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; ExtractData(instructions: string, screenshot: Image, domContent: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; QueryMemory(memory: types.AgentContext, query: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): HTTPRequest; } export {};