UNPKG

mongodb-chatbot-ui

Version:

UI React components for the MongoDB Chatbot Framework

23 lines (22 loc) 1.98 kB
export { Chatbot as default, type ChatbotProps } from "./Chatbot.tsx"; export { DocsChatbot } from "./DocsChatbot.tsx"; export { DevCenterChatbot } from "./DevCenterChatbot.tsx"; export { useConversation, type Conversation } from "./useConversation.tsx"; export { useChatbot } from "./useChatbot.tsx"; export { useChatbotContext } from "./useChatbotContext.tsx"; export { useTextInputTrigger, type UseTextInputTriggerArgs, type ChatbotTextInputTriggerProps, } from "./useTextInputTrigger.ts"; export { MongoDbInputBarPlaceholder } from "./InputBar.tsx"; export { InputBarTrigger, type InputBarTriggerProps, } from "./InputBarTrigger.tsx"; export { HotkeyTrigger, type HotkeyTriggerProps } from "./HotkeyTrigger.tsx"; export { FloatingActionButtonTrigger, type FloatingActionButtonTriggerProps, } from "./FloatingActionButtonTrigger.tsx"; export { ActionButtonTrigger, type ActionButtonTriggerProps, } from "./ActionButtonTrigger.tsx"; export { getMessageLinks, formatReferences } from "./messageLinks.ts"; export { ModalView, type ModalViewProps } from "./ModalView.tsx"; export { type ChatbotViewProps } from "./ChatbotView.tsx"; export { type DarkModeProps } from "./DarkMode.ts"; export { type Role, type MessageData, type AssistantMessageMetadata, type DeltaStreamEvent, type ReferencesStreamEvent, type MetadataStreamEvent, type FinishedStreamEvent, type ConversationStreamEvent, type ConversationFetchOptions, type ConversationServiceConfig, RetriableError, TimeoutError, ConversationService, } from "./services/conversations.ts"; export { MongoDbLegalDisclosure, MongoDbLegalDisclosureText, } from "./MongoDbLegal.tsx"; export { mongoDbVerifyInformationMessage, defaultChatbotFatalErrorMessage, } from "./ui-text.ts"; export { PoweredByAtlasVectorSearch, type PoweredByAtlasVectorSearchProps, } from "./PoweredByAtlasVectorSearch.tsx"; export { ChatWindow, type ChatWindowProps } from "./ChatWindow.tsx"; export { getSegmentIds, getSegmentIdHeaders } from "./segment.ts";