Markprompt is AI for customer support.
This repo contains various UI libraries for building prompts based on the Markprompt API:
@markprompt/core— shared utility functions to speak with the Markprompt API.@markprompt/react— a React component.@markprompt/web— a pre-built Markprompt component, based on@markprompt/react, built with Preact for bundle-size savings. Viable for use with vanilla JavaScript or any framework.@markprompt/docusaurus-theme-search— a Markprompt search theme for Docusaurus.
and some example implementations:
with-css-modules— a web application based on@markprompt/react, Vite and CSS Modules.with-custom-trigger— a reference implementation of@markprompt/webusing a custom trigger button.with-custom-trigger-react— a reference implementation of@markprompt/reactusing a custom trigger button.with-docusaurus— a Docusaurus project with@markprompt/docusaurus-theme-search.with-docusaurus-algolia— a Docusaurus project with@markprompt/docusaurus-theme-searchand our Algolia integration.with-docusaurus-swizzled— a Docusaurus project with Markprompt and theme-search-algolia.with-init— a web application based on@markprompt/webusing a global instance of Markprompt.with-markprompt-web— a web application based on@markprompt/weband Vite. based on@markprompt/react, Vite and CSS Modules.with-next— a web application based on@markprompt/react,@markprompt/web, and Next.js.with-clear-storage- a web application based on@markprompt/reactand the Next.js App Router showcasing an explicit storage reset.with-function-calling— a web application based on@markprompt/reactand Next.js showcasing the use for OpenAI function calling.with-automatic-ticket-creation— a web application based on@markprompt/weband Vite showcasing automatic ticket creation.
To run examples from this monorepo:
pnpm turbo dev --filter with-markprompt-web...To publish an updated version:
# bump the package's version
pnpm version
pnpm publishTo use the Markprompt platform as is, please refer to the Markprompt documentation.