28 lines
532 B
TypeScript
28 lines
532 B
TypeScript
export interface IPlaceholder {
|
|
name: string;
|
|
descr?: string;
|
|
}
|
|
|
|
export interface ILlmInitAction {
|
|
objectLabel: string;
|
|
promptId: number;
|
|
target: string;
|
|
targetText: string;
|
|
title: string;
|
|
entityType?: string;
|
|
entityId?: number;
|
|
}
|
|
|
|
export interface ILlmActionRequest {
|
|
promptId: number;
|
|
objectLabel: string;
|
|
userPrompt?: string;
|
|
entityType?: string;
|
|
entityId?: number;
|
|
text?: string;
|
|
prevAnswer?: string;
|
|
editPrompt?: string;
|
|
}
|
|
|
|
export type ModalDisplayStyle = 'modal' | 'iframe';
|