← AI Chat API

Interface · v2.6.0

NgbAiMessage

UI data only: applications own model requests, streaming, and persistence.

Import

import type { NgbAiMessage } from '@angular-bootstrap/ngbootstrap';

Declaration

interface NgbAiMessage

Properties

id

id: string

role

role: "user" | "assistant" | "system"

content

content: string

status

status?: "complete" | "streaming" | "error"

error

error?: string
Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.