
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
mongodb-chatbot-ui
Advanced tools
The React components for the MongoDB Chatbot Framework.
To learn more about the MongoDB Chatbot UI components, check out the documentation.
For more information about the available components and props, refer to the documentation.
Install the mongodb-chatbot-ui
package from npm. This contains the React.js components that you can use to build a chatbot UI.
npm install mongodb-chatbot-ui
import Chatbot, {
FloatingActionButtonTrigger,
InputBarTrigger,
ModalView,
MongoDbLegalDisclosure,
mongoDbVerifyInformationMessage,
} from "mongodb-chatbot-ui";
function MyApp() {
const suggestedPrompts = [
"How do I create a new MongoDB Atlas cluster?",
"Can MongoDB store lists of data?",
"How does vector search work?",
];
return (
<div>
<Chatbot
name="MongoDB AI"
maxInputCharacters={300}
>
<InputBarTrigger
bottomContent={<MongoDbLegalDisclosure />}
suggestedPrompts={suggestedPrompts}
/>
<FloatingActionButtonTrigger text="Ask My MongoDB AI" />
<ModalView
disclaimer={<MongoDbLegalDisclosure />}
initialMessageText="Welcome to my MongoDB AI Assistant. What can I help you with?"
initialMessageSuggestedPrompts={suggestedPrompts}
initialMessageReferences={[
{
url: "https://example.com/some-link",
title: "Example reference link",
metadata: {
sourceType: "Article",
},
},
{
url: "https://example.com/another-link",
title: "Another reference link",
metadata: {
sourceType: "Docs",
},
},
]}
inputBottomText={mongoDbVerifyInformationMessage}
/>
</Chatbot>
</div>
);
}
FAQs
UI React components for the MongoDB Chatbot Framework
The npm package mongodb-chatbot-ui receives a total of 29 weekly downloads. As such, mongodb-chatbot-ui popularity was classified as not popular.
We found that mongodb-chatbot-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.