/markprompt

Enterprise-grade AI chatbots for your website and docs

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Markprompt – Enterprise-grade ChatGPT for your website and docs

Markprompt

Markprompt is a platform for building GPT-powered prompts. It takes Markdown, Markdoc, MDX, reStructuredText, HTML and plain text files (from a GitHub repo, website, file uploads or API requests), and creates embeddings that you can use to create a prompt, for instance using the companion Markprompt React or Web component. Markprompt also offers analytics, so you can gain insights on how users interact with your docs.



Twitter NPM version License

Documentation

To use the Markprompt platform as is, please refer to the Markprompt documentation.

Markprompt is built on top of the following stack:

Using the React and Web components

Markprompt comes with React and Web components that make it easy to build a prompt interface on top of the Markprompt API. With a single line of code, you can provide a prompt interface to your React application. Follow the steps in the Markprompt docs to get started, or explore the source code.

Also, try out the Markprompt starter template for a fully working Next.js + Tailwind project.

Usage

Currently, the Markprompt API has basic protection against misuse when making requests from public websites, such as rate limiting, IP blacklisting, allowed origins, and prompt moderation. These are not strong guarantees against misuse though, and it is always safer to expose an API like Markprompt's to authenticated users, and/or in non-public systems using private access tokens. We do plan to offer more extensive tooling on that front (hard limits, spike protection, notifications, query analysis, flagging).

Data retention

OpenAI keeps training data for 30 days. Read more: OpenAI API data usage policies.

Markprompt keeps the data as long as you need to query it. If you remove a file or delete a project, all associated data will be deleted immediately.

Community

License

Apache © Markprompt