magnitude-core
Version:
Magnitude e2e testing agent
36 lines (32 loc) • 2.04 kB
TypeScript
/*************************************************************************************************
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 AsyncHttpRequest {
private runtime;
private ctxManager;
constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager);
CreatePartialRecipe(memory: types.AgentContext, task: string, taskData: (Image | string)[], includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
ExtractData(instructions: string, screenshot: Image, domContent: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
QueryMemory(memory: types.AgentContext, query: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
}
export declare class AsyncHttpStreamRequest {
private runtime;
private ctxManager;
constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager);
CreatePartialRecipe(memory: types.AgentContext, task: string, taskData: (Image | string)[], includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
ExtractData(instructions: string, screenshot: Image, domContent: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
QueryMemory(memory: types.AgentContext, query: string, includeClaudeSpoof: boolean, __baml_options__?: BamlCallOptions): Promise<HTTPRequest>;
}
export {};