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.

532 B
Raw Blame
import * as bedrock from "@distilled.cloud/aws/bedrock-agent";
import * as Layer from "effect/Layer";
import { makeDataSourceScopedHttpBinding } from "./BindingHttp.ts";
import { GetKnowledgeBaseDocuments } from "./GetKnowledgeBaseDocuments.ts";

export const GetKnowledgeBaseDocumentsHttp = Layer.effect(
  GetKnowledgeBaseDocuments,
  makeDataSourceScopedHttpBinding({
    tag: "AWS.Bedrock.GetKnowledgeBaseDocuments",
    operation: bedrock.getKnowledgeBaseDocuments,
    actions: ["bedrock:GetKnowledgeBaseDocuments"],
  }),
);