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.

424 B
Raw Blame
import * as aoss from "@distilled.cloud/aws/opensearchserverless";
import * as Layer from "effect/Layer";
import { makeAossCollectionHttpBinding } from "./BindingHttp.ts";
import { GetIndex } from "./GetIndex.ts";

export const GetIndexHttp = Layer.effect(
  GetIndex,
  makeAossCollectionHttpBinding({
    tag: "AWS.OpenSearchServerless.GetIndex",
    operation: aoss.getIndex,
    actions: ["aoss:APIAccessAll"],
  }),
);