@contentgrowth/llm-service 0.9.99 → 1.0.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.
- package/dist/ui/react/components/index.cjs +127 -498
- package/dist/ui/react/components/index.cjs.map +1 -1
- package/dist/ui/react/components/index.d.cts +2 -13
- package/dist/ui/react/components/index.d.ts +2 -13
- package/dist/ui/react/components/index.js +122 -492
- package/dist/ui/react/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -139,7 +139,7 @@ interface ChatTriggerOptions {
|
|
|
139
139
|
* Configuration for voice input functionality
|
|
140
140
|
*/
|
|
141
141
|
interface VoiceConfig {
|
|
142
|
-
mode: '
|
|
142
|
+
mode: 'custom';
|
|
143
143
|
onAudioCapture?: (blob: Blob) => Promise<string>;
|
|
144
144
|
onVoiceStart?: () => void;
|
|
145
145
|
onVoiceEnd?: () => void;
|
|
@@ -234,17 +234,6 @@ declare const Spinner: React.FC<SpinnerProps>;
|
|
|
234
234
|
*/
|
|
235
235
|
declare function useProactiveResize(textareaRef: RefObject<HTMLTextAreaElement>, measurementRef: RefObject<HTMLSpanElement>, value: string, disabled: boolean): void;
|
|
236
236
|
|
|
237
|
-
interface SpeechRecognitionHook {
|
|
238
|
-
isListening: boolean;
|
|
239
|
-
transcript: string;
|
|
240
|
-
start: () => void;
|
|
241
|
-
stop: () => void;
|
|
242
|
-
resetTranscript: () => void;
|
|
243
|
-
isSupported: boolean;
|
|
244
|
-
error: string | null;
|
|
245
|
-
}
|
|
246
|
-
declare const useSpeechRecognition: (onResult?: (text: string, isFinal: boolean) => void, onEnd?: () => void, language?: string) => SpeechRecognitionHook;
|
|
247
|
-
|
|
248
237
|
interface AudioRecorderHook {
|
|
249
238
|
isRecording: boolean;
|
|
250
239
|
isSimulated: boolean;
|
|
@@ -301,4 +290,4 @@ declare function createWhisperVoiceConfig(config: TranscriptionConfig, callbacks
|
|
|
301
290
|
onVoiceEnd?: () => void;
|
|
302
291
|
}): VoiceConfig;
|
|
303
292
|
|
|
304
|
-
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams,
|
|
293
|
+
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, Spinner, TapToTalk, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize };
|
|
@@ -139,7 +139,7 @@ interface ChatTriggerOptions {
|
|
|
139
139
|
* Configuration for voice input functionality
|
|
140
140
|
*/
|
|
141
141
|
interface VoiceConfig {
|
|
142
|
-
mode: '
|
|
142
|
+
mode: 'custom';
|
|
143
143
|
onAudioCapture?: (blob: Blob) => Promise<string>;
|
|
144
144
|
onVoiceStart?: () => void;
|
|
145
145
|
onVoiceEnd?: () => void;
|
|
@@ -234,17 +234,6 @@ declare const Spinner: React.FC<SpinnerProps>;
|
|
|
234
234
|
*/
|
|
235
235
|
declare function useProactiveResize(textareaRef: RefObject<HTMLTextAreaElement>, measurementRef: RefObject<HTMLSpanElement>, value: string, disabled: boolean): void;
|
|
236
236
|
|
|
237
|
-
interface SpeechRecognitionHook {
|
|
238
|
-
isListening: boolean;
|
|
239
|
-
transcript: string;
|
|
240
|
-
start: () => void;
|
|
241
|
-
stop: () => void;
|
|
242
|
-
resetTranscript: () => void;
|
|
243
|
-
isSupported: boolean;
|
|
244
|
-
error: string | null;
|
|
245
|
-
}
|
|
246
|
-
declare const useSpeechRecognition: (onResult?: (text: string, isFinal: boolean) => void, onEnd?: () => void, language?: string) => SpeechRecognitionHook;
|
|
247
|
-
|
|
248
237
|
interface AudioRecorderHook {
|
|
249
238
|
isRecording: boolean;
|
|
250
239
|
isSimulated: boolean;
|
|
@@ -301,4 +290,4 @@ declare function createWhisperVoiceConfig(config: TranscriptionConfig, callbacks
|
|
|
301
290
|
onVoiceEnd?: () => void;
|
|
302
291
|
}): VoiceConfig;
|
|
303
292
|
|
|
304
|
-
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams,
|
|
293
|
+
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, Spinner, TapToTalk, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize };
|