@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
52 lines (51 loc) • 1.69 kB
TypeScript
/**
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module ai/aiassistant/adapters/awstextadapter
* @publicApi
*/
import { AITextAdapter, type AITextAdapterRequestData, type AIRequestHeaders, type AIRequestParameters } from './aitextadapter.js';
/**
* Adapter for AI text-related requests that supports the Amazon Bedrock service.
*
* **This adapter is no longer supported and will throw an error when used.**
* Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
*
* See also {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapter}.
*
* @deprecated
*/
export declare class AWSTextAdapter extends AITextAdapter {
/**
* @inheritDoc
*/
static get pluginName(): "AWSTextAdapter";
/**
* @inheritDoc
*/
init(): void;
/**
* Always throws an error as the AWS integration is no longer supported.
*/
sendRequest(requestData: AITextAdapterRequestData): Promise<void>;
}
/**
* The configuration for the Amazon Bedrock adapter.
*
* **This adapter is no longer supported.**
* Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
*
* @deprecated
*/
export interface AIAWSTextAdapterConfig {
apiUrl?: string;
requestHeaders?: AIRequestHeaders;
requestParameters?: AIRequestParameters;
bedrockClientConfig?: unknown;
}
/**
* @deprecated
*/
export type AIAWSModelFamily = 'anthropic.claude' | 'ai21.j2' | 'cohere.command' | 'meta.llama';