@microsoft/teams-ai
Version:
SDK focused on building AI based applications for Microsoft Teams.
25 lines • 1.01 kB
TypeScript
/**
* @module teams-ai
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { PromptSection } from './PromptSection';
import { LayoutEngine } from './LayoutEngine';
/**
* Top level prompt section.
* @remarks
* Prompts are compositional such that they can be nested to create complex prompt hierarchies.
*/
export declare class Prompt extends LayoutEngine {
/**
* Creates a new 'Prompt' instance.
* @param {PromptSection[]} sections - Sections to render.
* @param {number} tokens - Optional. Sizing strategy for this section. Defaults to -1, 'auto'.
* @param {boolean} required - Optional. Indicates if this section is required. Defaults to `true`.
* @param {string} separator - Optional. Separator to use between sections when rendering as text. Defaults to `\n\n`.
*/
constructor(sections: PromptSection[], tokens?: number, required?: boolean, separator?: string);
}
//# sourceMappingURL=Prompt.d.ts.map