@swiss-ai-hub/web 0.301.7 → 0.302.0

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.
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <EventDisplayBase
3
+ :event="event"
4
+ :thread="thread"
5
+ icon="mdi:format-title"
6
+ >
7
+ <p class="font-medium text-surface-700 dark:text-surface-200">
8
+ {{ event.event.title }}
9
+ </p>
10
+ </EventDisplayBase>
11
+ </template>
12
+
13
+ <script setup lang="ts">
14
+ import type { ConversationTitleEvent, ThreadDto, ContextualizedAgentEvent } from '@core/sdk/client'
15
+
16
+ defineProps<{
17
+ event: ContextualizedAgentEvent & { event: ConversationTitleEvent }
18
+ thread: ThreadDto
19
+ }>()
20
+ </script>
@@ -0,0 +1,26 @@
1
+ <template>
2
+ <EventDisplayBase
3
+ :event="event"
4
+ :thread="thread"
5
+ icon="mdi:comment-question-outline"
6
+ >
7
+ <ul class="flex flex-col gap-1">
8
+ <li
9
+ v-for="question in event.event.questions"
10
+ :key="question"
11
+ class="text-sm text-surface-600 dark:text-surface-400"
12
+ >
13
+ {{ question }}
14
+ </li>
15
+ </ul>
16
+ </EventDisplayBase>
17
+ </template>
18
+
19
+ <script setup lang="ts">
20
+ import type { FollowUpQuestionsEvent, ThreadDto, ContextualizedAgentEvent } from '@core/sdk/client'
21
+
22
+ defineProps<{
23
+ event: ContextualizedAgentEvent & { event: FollowUpQuestionsEvent }
24
+ thread: ThreadDto
25
+ }>()
26
+ </script>
@@ -4,6 +4,8 @@ import {
4
4
  EventDisplayAgentInTheLoopRequestEvent,
5
5
  EventDisplayAgentInTheLoopResponseEvent,
6
6
  EventDisplayChunkEvent,
7
+ EventDisplayConversationTitleEvent,
8
+ EventDisplayFollowUpQuestionsEvent,
7
9
  EventDisplayEmbeddingEvent,
8
10
  EventDisplayHumanInTheLoopRequestEvent,
9
11
  EventDisplayHumanInTheLoopResponseEvent,
@@ -42,6 +44,8 @@ export const useEventComponent = () => {
42
44
  LLMCostEvent: EventDisplayLLMCostEvent,
43
45
  LimitChatHistoryEvent: EventDisplayLimitChatHistoryEvent,
44
46
  ThoughtEvent: EventDisplayThoughtEvent,
47
+ ConversationTitleEvent: EventDisplayConversationTitleEvent,
48
+ FollowUpQuestionsEvent: EventDisplayFollowUpQuestionsEvent,
45
49
  EmbeddingEvent: EventDisplayEmbeddingEvent,
46
50
  RerankerEvent: EventDisplayRerankerEvent,
47
51
  RetrieverEvent: EventDisplayRetrieverEvent,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "bbv Software Services AG (https://www.bbv.ch)",
5
5
  "type": "module",
6
- "version": "0.301.7",
6
+ "version": "0.302.0",
7
7
  "description": "Swiss AI Hub - Admin & Management UI (Nuxt 3 layer)",
8
8
  "main": "./nuxt.config.ts",
9
9
  "repository": {
@@ -252,6 +252,8 @@ export {
252
252
  type ContextualizedAgentEventWritable,
253
253
  type ControlEvent,
254
254
  type ControlEventWritable,
255
+ type ConversationTitleEvent,
256
+ type ConversationTitleEventWritable,
255
257
  type CreateAgentInstanceData,
256
258
  type CreateAgentInstanceError,
257
259
  type CreateAgentInstanceErrors,
@@ -383,6 +385,8 @@ export {
383
385
  type FewShotRejectEventWritable,
384
386
  type File,
385
387
  type FileFile,
388
+ type FollowUpQuestionsEvent,
389
+ type FollowUpQuestionsEventWritable,
386
390
  type FullAgentInstanceDto,
387
391
  type FullAgentInstanceDtoWritable,
388
392
  type FullProcessInstanceDto,