@harnessio/react-intelligence-service-client 0.5.0 → 0.5.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.
- package/dist/intelligence-service/src/services/schemas/TypesChat.d.ts +3 -3
- package/dist/intelligence-service/src/services/schemas/TypesChatOutput.d.ts +2 -2
- package/dist/intelligence-service/src/services/schemas/TypesChatResponse.d.ts +2 -2
- package/dist/intelligence-service/src/services/schemas/TypesResponseMessage.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import type { TypesConversation } from '../schemas/TypesConversation';
|
|
|
2
2
|
import type { UuidUuid } from '../schemas/UuidUuid';
|
|
3
3
|
export interface TypesChat {
|
|
4
4
|
conversation?: TypesConversation[] | null;
|
|
5
|
-
|
|
6
|
-
metadata
|
|
5
|
+
conversation_id?: UuidUuid;
|
|
6
|
+
metadata: {
|
|
7
7
|
[key: string]: string;
|
|
8
8
|
} | null;
|
|
9
|
-
prompt
|
|
9
|
+
prompt: string;
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UuidUuid } from '../schemas/UuidUuid';
|
|
2
2
|
import type { TypesChatResponse } from '../schemas/TypesChatResponse';
|
|
3
3
|
export interface TypesChatOutput {
|
|
4
|
-
|
|
4
|
+
conversation_id: UuidUuid;
|
|
5
5
|
explanation?: string;
|
|
6
|
-
response
|
|
6
|
+
response: TypesChatResponse[] | null;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypesResponseMessage } from '../schemas/TypesResponseMessage';
|
|
2
2
|
import type { EnumRole } from '../schemas/EnumRole';
|
|
3
3
|
export interface TypesChatResponse {
|
|
4
|
-
message
|
|
5
|
-
role
|
|
4
|
+
message: TypesResponseMessage;
|
|
5
|
+
role: EnumRole;
|
|
6
6
|
}
|
|
@@ -2,6 +2,6 @@ import type { EnumAction } from '../schemas/EnumAction';
|
|
|
2
2
|
import type { EnumMessageType } from '../schemas/EnumMessageType';
|
|
3
3
|
export interface TypesResponseMessage {
|
|
4
4
|
actions?: EnumAction[];
|
|
5
|
-
data
|
|
6
|
-
type
|
|
5
|
+
data: string;
|
|
6
|
+
type: EnumMessageType;
|
|
7
7
|
}
|
package/package.json
CHANGED