![Markprompt – Enterprise-grade AI prompts for your website and docs](https://private-user-images.githubusercontent.com/504893/239653948-9df7ac5a-1ac3-4b33-9bb3-a146d119ed73.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2MzE1OTIsIm5iZiI6MTcyMjYzMTI5MiwicGF0aCI6Ii81MDQ4OTMvMjM5NjUzOTQ4LTlkZjdhYzVhLTFhYzMtNGIzMy05YmIzLWExNDZkMTE5ZWQ3My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwMlQyMDQxMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNjI4MDNhMmFjNGQ3MmI1YWRiMzRjNTk4OTA3MjQyNjkzZWIyN2Y3NDk4MDBlYzQzNWUwZGEzODY0ZWViMjUxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7xKIZeo0JLsga6tQ1RUZHAmA19GjVD6Qxm-TpFmt2sg)
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.
To use the Markprompt platform as is, please refer to the Markprompt documentation.
Markprompt is built on top of the following stack:
- Next.js - framework
- Vercel - hosting
- Supabase - database and auth
- Upstash - Redis and rate limiting
- Typescript - language
- Tailwind - CSS
- Stripe - payments
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.
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).
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.