@genkit-ai/core
Version:
Genkit AI framework core libraries.
39 lines (36 loc) • 2.72 kB
TypeScript
export { z } from 'zod';
export { t as Action, v as ActionAsyncParams, A as ActionContext, s as ActionFnArg, o as ActionMetadata, u as ActionParams, p as ActionResult, q as ActionRunOptions, h as ApiKeyContext, B as BackgroundAction, a as BackgroundActionFnArg, b as BackgroundActionParams, c as BackgroundActionRunOptions, C as ContextProvider, D as DetachedAction, G as GenkitError, Z as InitializedPlugin, J as JSONSchema, x as Middleware, M as MiddlewareWithOptions, e as Operation, O as OperationSchema, _ as Plugin, Y as PluginProvider, X as Provider, R as RequestData, w as SimpleMiddleware, L as StreamingCallback, S as StreamingResponse, U as UnstableApiError, i as UserFacingError, z as action, y as actionWithMiddleware, f as apiKey, j as assertUnstable, I as defineAction, K as defineActionAsync, d as defineBackgroundAction, m as defineJsonSchema, n as defineSchema, E as detachedAction, k as getCallableJSON, g as getContext, l as getHttpStatus, Q as getStreamingCallback, F as isAction, H as isDetachedAction, T as isInRuntimeContext, V as runInActionRuntimeContext, W as runOutsideActionRuntimeContext, r as runWithContext, P as runWithStreamingCallback, N as sentinelNoopStreamingCallback } from './action-c2eoYsm2.js';
export { Flow, FlowConfig, FlowFn, FlowSideChannel, defineFlow, run } from './flow.js';
export { ReflectionServer, ReflectionServerOptions, RunActionResponse, RunActionResponseSchema } from './reflection.js';
export { TelemetryConfig } from './telemetryTypes.js';
export { deleteUndefinedProps, featureMetadataPrefix, getCurrentEnv, isDevEnv, stripUndefinedProps } from './utils.js';
export { Status, StatusCodes, StatusName, StatusSchema } from './statusTypes.js';
export { JSONSchema7 } from 'json-schema';
import 'dotprompt';
import 'ajv';
import '@opentelemetry/sdk-node';
/**
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Genkit library version.
*/
declare const GENKIT_VERSION = "1.16.1";
/**
* Genkit client header for API calls.
*/
declare const GENKIT_CLIENT_HEADER: string;
declare const GENKIT_REFLECTION_API_SPEC_VERSION = 1;
export { GENKIT_CLIENT_HEADER, GENKIT_REFLECTION_API_SPEC_VERSION, GENKIT_VERSION };