mongodb-chatbot-ui
Version:
UI React components for the MongoDB Assistant
21 lines (20 loc) • 1.82 kB
TypeScript
export { Chatbot as default, type ChatbotProps } from "./Chatbot.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 } from "./FloatingActionButtonTrigger.tsx";
export { ActionButtonTrigger, ButtonTrigger, type ButtonTriggerProps, } from "./ButtonTrigger.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 PromotionStreamEvent, type MetadataStreamEvent, type FinishedStreamEvent, type ConversationStreamEvent, type ConversationFetchOptions, type ConversationServiceConfig, RetriableError, TimeoutError, ConversationService, } from "./services/conversations.ts";
export { type Promotion } from "./promotions.ts";
export { mongoDbVerifyInformationMessage, defaultChatbotFatalErrorMessage, } from "./ui-text.ts";
export { ChatWindow, type ChatWindowProps } from "./ChatWindow.tsx";
export { getSegmentIds, getSegmentIdHeaders } from "./segment.ts";
export { type ConversationCache, InMemoryConversationCache, makeInMemoryConversationCache, } from "./conversation-cache";