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.
import type * as datazone from "@distilled.cloud/aws/datazone";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Domain } from "./Domain.ts";
export interface AcceptPredictionsRequest extends Omit<
datazone.AcceptPredictionsInput,
"domainIdentifier"
> {}
/**
* Runtime binding for `datazone:AcceptPredictions`.
*
* Accepts ML-generated metadata predictions (business-name suggestions) on an asset in the bound domain. The domain id is injected from the binding.
* Provide the implementation with
* `Effect.provide(AWS.DataZone.AcceptPredictionsHttp)`.
* @binding
* @section Publishing Assets
* @example Accept All Predictions
* ```typescript
* // init — bind the operation to the domain
* const acceptPredictions = yield* AWS.DataZone.AcceptPredictions(domain);
*
* // runtime
* yield* acceptPredictions({ identifier: assetId, acceptRule: { rule: "ALL" } });
* ```
*/
export interface AcceptPredictions extends Binding.Service<
AcceptPredictions,
"AWS.DataZone.AcceptPredictions",
(
domain: Domain,
) => Effect.Effect<
(
request: AcceptPredictionsRequest,
) => Effect.Effect<
datazone.AcceptPredictionsOutput,
datazone.AcceptPredictionsError
>
>
> {}
export const AcceptPredictions = Binding.Service<AcceptPredictions>(
"AWS.DataZone.AcceptPredictions",
);