Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

509 B
Raw Blame
import * as textract from "@distilled.cloud/aws/textract";
import * as Layer from "effect/Layer";
import { makeTextractHttpBinding } from "./BindingHttp.ts";
import { GetLendingAnalysis } from "./GetLendingAnalysis.ts";

export const GetLendingAnalysisHttp = Layer.effect(
  GetLendingAnalysis,
  makeTextractHttpBinding({
    capability: "GetLendingAnalysis",
    // No resource-level IAM for this action.
    iamActions: ["textract:GetLendingAnalysis"],
    operation: textract.getLendingAnalysis,
  }),
);