EditableMessageList
EditableMessageList is a React component that allows users to edit a list of chat messages, including their content and role. It is designed to be used in chatbot building applications.
import { EditableMessageList } from '@lobehub/ui/chat';Data Entry
Default
Loading preview
APIs
EditableMessageList properties
dataSourcesRequiredLLMMessage[]disabledbooleanonChange(chatMessages: LLMMessage[]) => voidtexts{ addProps?: string; delete?: string; input?: string; inputPlaceholder?: string; output?: string; outputPlaceholder?: string; system?: string; }
Types
interface LLMMessage {
content: string;
role: string;
// Additional properties for chat messages
}Helpful?