UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) 412 B
import type { SsrFPolicy } from "./ssrf-policy.js"; /** POST an embedding request and return validated vectors in provider response order. */ export declare function fetchRemoteEmbeddingVectors(params: { url: string; headers: Record<string, string>; ssrfPolicy?: SsrFPolicy; fetchImpl?: typeof fetch; signal?: AbortSignal; body: unknown; errorPrefix: string; }): Promise<number[][]>;