UNPKG

ondemand-react-chat-bot

Version:

OnDemandChatBot is a React library that provides an easy-to-use AI-powered chatbot component for your application. Built on top of the OnDemand platform, it allows full customization and seamless AI integration.

18 lines (14 loc) 376 B
type contextVariable = { key: string; value: string; }; type contextVariables = contextVariable[]; type Environment = "dev" | "prod"; interface ReactChatBotProps { apiKey: string; botId: string; environment?: Environment; contextVariables?: contextVariables; } declare const OnDemandChatBot: React.FC<ReactChatBotProps>; export { OnDemandChatBot };