Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markprompt/react

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markprompt/react

A headless React component for adding GPT-4 powered search using the Markprompt API.

  • 0.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
979
increased by42.92%
Maintainers
1
Weekly downloads
 
Created
Source

Markprompt React

A headless React component for building a prompt interface, based on the Markprompt API.


Installation

Check out the starter template for a fully working example: Markprompt starter template.

Install the @markprompt/react package via npm or yarn:

# npm
npm install @markprompt/react

# Yarn
yarn add @markprompt/react

Usage

Example:

import { Markprompt } from '@markprompt/react';

function MyPrompt() {
  return <Markprompt projectKey="<project-key>" model="gpt-4" />;
}

where <project-key> can be obtained in your project settings

Documentation

The full documentation for the component can be found on the Markprompt docs.

Starter Template

For a working setup based on Next.js + Tailwind, check out the Markprompt starter template.

Community

Authors

This library is created by the team behind Motif (@motifland).

FAQs

Package last updated on 11 May 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc