
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@ombori/grid-conversation-assistant
Advanced tools
Assist end-users with guided conversation using a coversation tree in a simple chatbox
Assist end-users with guided conversation using a coversation tree in a simple chatbox
npm i @ombori/grid-conversation-assistant
or
yarn add @ombori/grid-conversation-assistant
import { StateMachineProvider } from '@ombori/grid-conversation-assistant';
...
return (
<StateMachineProvider>
<App />
</StateMachineProvider>
);
import { ChatBoxAssistant } from '@ombori/grid-conversation-assistant';
...
const url = 'https://media.omborigrid.com/media/5fa9185661e2a7e910f2e55b/sample-conversation-tree.json';
return (
<ChatBoxAssistant conversationTreeUrl={url} />
);
import { ChatBoxAssistant, ChatBoxHeader, StateMachineCurrentState } from '@ombori/grid-conversation-assistant';
import styled from '@emotion/styled';
const ChatBoxAssistantStyled = styled(ChatBoxAssistant)`
width: 500px;
.chat-bubble-option,
.btn-close {
border-radius: ${({ theme }) => getBorderRadius(theme.buttonsBorderType)};
background-color: ${({ theme }) => theme.colors.primary};
}
.chat-question {
border-radius: 0;
box-shadow: unset;
background-color: unset;
padding: 0;
border: 0;
}
.chat-response {
border-radius: ${({ theme }) => getBorderRadius(theme.buttonsBorderType)};
margin-bottom: 45px;
}
.btn-reset {
border-radius: ${({ theme }) => getBorderRadius(theme.buttonsBorderType)};
}
`;
...
const url = 'https://media.omborigrid.com/media/5fa9185661e2a7e910f2e55b/sample-conversation-tree.json';
return (
<ChatBoxAssistantStyled
conversationTreeUrl={url}
header={
<ChatBoxHeader
title="My Product Guide"
subtext="Choose an option that fits your needs"
/>
}
resetButtonText="Start Again"
closeButtonText="Close Guide"
onChange={(current: StateMachineCurrentState) => {
// This is where you decide what to do with user interaction
// e.g. when user selects options in the assisted conversation
}}
/>
);
FAQs
Assist end-users with guided conversation using a coversation tree in a simple chatbox
We found that @ombori/grid-conversation-assistant 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.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.