@opentiny/genui-sdk-vue 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +37 -0
  2. package/dist/index.js +71704 -71450
  3. package/package.json +15 -2
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @opentiny/genui-sdk-vue
2
+
3
+
4
+ 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.
5
+
6
+ * **Streaming Rendering:** Content renders progressively as the model generates—no long waits for full responses.
7
+ * **Structured Output:** LLM output conforms to JSON Schema, enabling reliable parsing and rendering.
8
+ * **Interaction:** User actions (form submit, button click) feed back into the conversation context for seamless multi-turn flows.
9
+
10
+ [Learn more about GenUI SDK](https://opentiny.design/genui-sdk).
11
+
12
+ ## Usage
13
+
14
+ ```vue
15
+ <script setup>
16
+ import { GenuiChat, GenuiConfigProvider } from '@opentiny/genui-sdk-vue';
17
+ </script>
18
+
19
+ <template>
20
+ <GenuiConfigProvider theme="dark">
21
+ <GenuiChat
22
+ url="/api/chat"
23
+ model="deepseek-chat"
24
+ />
25
+ </GenuiConfigProvider>
26
+ </template>
27
+ ```
28
+ ## Documentation
29
+
30
+ * [quick-start](https://docs.opentiny.design/genui-sdk/guide/quick-start)
31
+ * [start-with-render](https://docs.opentiny.design/genui-sdk/guide/start-with-renderer)
32
+
33
+ ## API
34
+
35
+ * [GenuiRender](https://docs.opentiny.design/genui-sdk/components/renderer)
36
+ * [GenuiChat](https://docs.opentiny.design/genui-sdk/components/chat)
37
+ * [GenuiConfigProvider](https://docs.opentiny.design/genui-sdk/components/config-provider)