Skip to content

Repository files navigation

@mulmochat-plugin/form

npm version

A plugin for MulmoChat - a multi-modal voice chat application with OpenAI's GPT-4 Realtime API.

What this plugin does

Creates structured forms to collect user information with various field types.

Installation

yarn add @mulmochat-plugin/form gui-chat-protocol

gui-chat-protocol is a peer dependency — install it alongside the plugin; the host application provides the runtime and this plugin only declares the compatible range.

Usage

import Plugin from "@mulmochat-plugin/form";
import "@mulmochat-plugin/form/style.css";

// Add to pluginList
const pluginList = [
  // ... other plugins
  Plugin,
];

Development

# Install dependencies
yarn install

# Start dev server (http://localhost:5173/)
yarn dev

# Build
yarn build

# Type check
yarn typecheck

# Lint
yarn lint

Test Prompts

Try these prompts to test the plugin:

  1. "Create a contact form with name, email, and message fields"
  2. "Make a survey form about user preferences"
  3. "Generate a registration form with username and password"

License

MIT

Related

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages