Refactored to flow Hub Packaging directory structures

This commit is contained in:
2025-05-27 18:24:39 -05:00
parent 93362b209b
commit 73294b19b4
24 changed files with 222 additions and 174 deletions

29
test-harness/README.md Normal file
View File

@@ -0,0 +1,29 @@
# Test Harness Support files
The test harness uses Redis event pub/sub to receive notifications from IVA Studio.
## Example Usage
```javascript
(async () => {
webdis().publish(recognizedObject.workspaceId, {
conversationId: recognizedObject.conversationId,
input: recognizedObject.input,
answers: recognizedObject.answers,
});
})()
.catch((error) => {
console.log(error.message);
recognizedObject.answers.push("");
recognizedObject.errorInfo = {
...recognizedObject.errorInfo,
label: {
data: error.toJSON ? error.toJSON() : {},
message: error.message,
},
};
})
.finally(() => {
next();
});
```