@opentiny/genui-sdk-vue
@opentiny/genui-sdk-vue
A Vue 3 component library for enhanced LLM display and interaction. Stream AI-generated structured output into OpenTiny interactive UI components with bidirectional conversation support.
- Streaming Rendering: Content renders progressively as the model generates—no long waits for full responses.
- Structured Output: LLM output conforms to JSON Schema, enabling reliable parsing and rendering.
- Interaction: User actions (form submit, button click) feed back into the conversation context for seamless multi-turn flows.
Usage
Install together with core and the Vue materials package (the renderer is bundled in the vue package):
pnpm add @opentiny/genui-sdk-vue @opentiny/genui-sdk-core @opentiny/genui-sdk-materials-vue-opentiny-vue
<script setup>
import { GenuiChat, GenuiConfigProvider } from '@opentiny/genui-sdk-vue';
import { materials } from '@opentiny/genui-sdk-materials-vue-opentiny-vue/materials';
</script>
<template>
<GenuiConfigProvider theme="dark" :materials="materials">
<GenuiChat
url="/api/chat"
model="deepseek-chat"
/>
</GenuiConfigProvider>
</template>
Import by feature via subpaths (/chat, /renderer, /config-provider, /code-generator) to avoid unused modules:
import { generateCode } from '@opentiny/genui-sdk-vue/code-generator';
Documentation
API
Related Packages
@opentiny/genui-sdk-materials-vue-element-plus
GenUI Vue materials package based on Element Plus
1,451
181
@omni-ir/elements
: Omni-IR generative UI screens in any web framework or none (Vue, Svelte, Angul...
591
0
@xmachines/json-render-vue
Vue renderer for @xmachines/json-render-core. JSON becomes Vue components.
9,327
Version History
| Version | Released | License |
|---|---|---|
| 1.4.0 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 |
Pre-releases (49)
| Version | Released | License |
|---|---|---|
| 1.4.0-beta.1 | MIT | |
| 1.4.0-alpha.5 | MIT | |
| 1.4.0-alpha.4 | MIT | |
| 1.4.0-alpha.3 | MIT | |
| 1.3.2-alpha.1 | MIT | |
| 1.3.1-alpha.2 | MIT | |
| 1.3.1-alpha.1 | MIT | |
| 1.3.0-beta.1 | MIT | |
| 1.3.0-alpha.8 | MIT | |
| 1.3.0-alpha.7 | MIT | |
| 1.3.0-alpha.6 | MIT | |
| 1.3.0-alpha.5 | MIT | |
| 1.3.0-alpha.4 | MIT | |
| 1.3.0-alpha.3 | MIT | |
| 1.3.0-alpha.1 | MIT | |
| 1.2.1-beta.1 | MIT | |
| 1.2.0-beta.1 | MIT | |
| 1.2.0-alpha.2 | MIT | |
| 1.2.0-alpha.1 | MIT | |
| 1.1.2-beta.1 | MIT | |
| 1.1.1-beta.1 | MIT | |
| 1.1.0-beta.3 | MIT | |
| 1.1.0-beta.2 | MIT | |
| 1.1.0-beta.1 | MIT | |
| 1.1.0-alpha.6 | MIT | |
| 1.1.0-alpha.5 | MIT | |
| 1.1.0-alpha.4 | MIT | |
| 1.1.0-alpha.3 | MIT | |
| 1.1.0-alpha.2 | MIT | |
| 1.0.1-beta.1 | MIT |
Showing the latest 30 of 49. See every release on npm