ChatSuggestionsComponent

Renders suggestion buttons and emits the selected text.

import { ChatSuggestionsComponent } from '@threadplane/chat';

Declaration

export declare class ChatSuggestionsComponent  {
  readonly selected: import("@angular/core").OutputEmitterRef<string>;
  readonly suggestions: import("@angular/core").InputSignal<string[]>;
}

Angular template API

Selector: chat-suggestions

Inputs

suggestions
string[]

Outputs

selected
string

Members

selected

readonly selected: import("@angular/core").OutputEmitterRef<string>;

suggestions

readonly suggestions: import("@angular/core").InputSignal<string[]>;