@rodrigobeber/patoai-dtos 4.7.27 → 4.7.29
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/wizard/wizard.dto.d.ts +12 -1
- package/package.json +1 -1
|
@@ -11,6 +11,9 @@ export interface WizardChatResponseDto {
|
|
|
11
11
|
done: boolean;
|
|
12
12
|
detectedType: 'sdr' | 'support' | null;
|
|
13
13
|
detectedIndustry: string | null;
|
|
14
|
+
/** URLs que o usuário ofereceu como fonte do negócio (site/catálogo/docs), extraídas da
|
|
15
|
+
* mensagem pela IA do chat — o frontend as anexa como material. */
|
|
16
|
+
sourceUrls?: string[];
|
|
14
17
|
}
|
|
15
18
|
export interface WizardGenerateRequestDto {
|
|
16
19
|
sessionId: string;
|
|
@@ -71,13 +74,21 @@ export interface WizardDomainDto {
|
|
|
71
74
|
}
|
|
72
75
|
export interface WizardRefineRequestDto {
|
|
73
76
|
sessionId: string;
|
|
74
|
-
field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml';
|
|
77
|
+
field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml' | 'domain';
|
|
75
78
|
currentValue: string;
|
|
76
79
|
instruction: string;
|
|
77
80
|
}
|
|
78
81
|
export interface WizardRefineResponseDto {
|
|
79
82
|
refined: string;
|
|
80
83
|
}
|
|
84
|
+
/** Gera um novo domínio de Conhecimento (título + conteúdo) a partir de uma instrução curta. */
|
|
85
|
+
export interface WizardDomainGenerateRequestDto {
|
|
86
|
+
sessionId: string;
|
|
87
|
+
instruction: string;
|
|
88
|
+
}
|
|
89
|
+
export interface WizardDomainGenerateResponseDto {
|
|
90
|
+
domain: WizardDomainDto;
|
|
91
|
+
}
|
|
81
92
|
export type WizardMaterialKind = 'text' | 'url' | 'file';
|
|
82
93
|
export type WizardMaterialStatus = 'ok' | 'thin' | 'error';
|
|
83
94
|
/** Material anexado pelo usuário no chat do wizard (texto/URL/arquivo), já com texto extraído no
|