https://github.com/conversationalcomponents/cognigy-coco-module
https://github.com/conversationalcomponents/cognigy-coco-module
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/conversationalcomponents/cognigy-coco-module
- Owner: ConversationalComponents
- Created: 2019-11-03T20:45:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:32:56.000Z (over 3 years ago)
- Last Synced: 2024-12-24T13:33:00.950Z (over 1 year ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cognigy-[CoCo](https://www.conversationalcomponents.com) Integration
[Installation instructions](https://docs.cognigy.com/docs/integration-framework#section-4-upload-your-module)
[Tutorial video](https://www.youtube.com/watch?v=pNab4QxDI8E)
- Download cognigy-coco-module.zip from /release folder
- Login to Cognigy
- Click on your profile (it's in upper right corner)
- Select "Integration Framework"
- Click UPLOAD button
- Select cognigy-coco-module.zip
- Wait for upload to complete
- Coco module is now installed
Use instructions
- In a flow, choose Create Node>Modules>Coco>CoCo
- Double-click the module node
- Input a component id (for example, "namer_vp3")
- Input your dev key
- Component is now ready
- tip: when testing for component status, also test for context structure, like ``` (!cc.coco) || !!cc.coco&&!!cc.coco.completed&&(!cc.coco.completed.namer_vp3||cc.coco.completed.namer_vp3 === false) ```
API
- Coco modules write to Cognigy Context under "coco"
- The "coco" section of context is a JSON object with the following structure:
coco:
```
{
"completed": {}, // coco components that completed add their id here
"failed": {}, // coco components that failed add their id here
"session_id":string // current component's session id
[component_id]:{} // each component writes the last interaction result under its id
"updated_context": {} // information components gathered goes here
}
```
[Conversational Components documentation](https://docs.conversationalcomponents.com/)
For more components and their customizations please see our [Marketplace](https://marketplace.conversationalcomponents.com/)