@mulmochat-plugin/quiz
v0.3.2
Published
Quiz plugin for MulmoChat
Readme
@mulmochat-plugin/{plugin-name}
A plugin for MulmoChat - a multi-modal voice chat application with OpenAI's GPT-4 Realtime API.
What this plugin does
{plugin-description}
Installation
yarn add @mulmochat-plugin/{plugin-name}Usage
Vue Implementation (for MulmoChat)
// In src/tools/index.ts
import Plugin from "@mulmochat-plugin/{plugin-name}/vue";
const pluginList = [
// ... other plugins
Plugin,
];
// In src/main.ts
import "@mulmochat-plugin/{plugin-name}/style.css";React Implementation
import Plugin from "@mulmochat-plugin/{plugin-name}/react";
import "@mulmochat-plugin/{plugin-name}/style.css";
// Named exports
import { plugin, View, Preview } from "@mulmochat-plugin/{plugin-name}/react";Core Only (Framework-agnostic)
import { pluginCore, TOOL_NAME } from "@mulmochat-plugin/{plugin-name}";
// or
import pluginCore from "@mulmochat-plugin/{plugin-name}";Package Exports
| Export | Description |
|--------|-------------|
| @mulmochat-plugin/{plugin-name} | Core (framework-agnostic) |
| @mulmochat-plugin/{plugin-name}/vue | Vue implementation with UI components |
| @mulmochat-plugin/{plugin-name}/react | React implementation with UI components |
| @mulmochat-plugin/{plugin-name}/style.css | Tailwind CSS styles |
Development
# Install dependencies
yarn install
# Start dev server - Vue (http://localhost:5173/)
yarn dev
# Start dev server - React (http://localhost:5173/)
yarn dev:react
# Build
yarn build
# Type check
yarn typecheck
# Lint
yarn lintTest Prompts
Try these prompts to test the plugin:
- "{test-prompt-1}"
- "{test-prompt-2}"
- "{test-prompt-3}"
License
MIT
