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/web
using a custom trigger button.with-custom-trigger-react
— a reference implementation of@markprompt/react
using a custom trigger button.with-docusaurus
— a Docusaurus project with@markprompt/docusaurus-theme-search
.with-docusaurus-algolia
— a Docusaurus project with@markprompt/docusaurus-theme-search
and our Algolia integration.with-docusaurus-swizzled
— a Docusaurus project with Markprompt and theme-search-algolia.with-init
— a web application based on@markprompt/web
using a global instance of Markprompt.with-markprompt-web
— a web application based on@markprompt/web
and Vite. based on@markprompt/react
, Vite and CSS Modules.with-next
— a web application based on@markprompt/react
,@markprompt/web
, and Next.js.with-function-calling
— a web application based on@markprompt/react
and Next.js showcasing the use for OpenAI function calling.
To run examples from this monorepo:
pnpm turbo dev --filter with-markprompt-web...
To use the Markprompt platform as is, please refer to the Markprompt documentation.
This library is created by the team behind Markprompt (@markprompt).