{"id":44429306,"url":"https://github.com/conversationalcomponents/coco-rasa","last_synced_at":"2026-02-12T12:01:28.184Z","repository":{"id":62563240,"uuid":"231404551","full_name":"ConversationalComponents/coco-rasa","owner":"ConversationalComponents","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-26T09:43:51.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-05T20:21:53.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConversationalComponents.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-02T15:04:23.000Z","updated_at":"2020-03-02T18:10:35.000Z","dependencies_parsed_at":"2022-11-03T15:45:29.759Z","dependency_job_id":null,"html_url":"https://github.com/ConversationalComponents/coco-rasa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ConversationalComponents/coco-rasa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConversationalComponents%2Fcoco-rasa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConversationalComponents%2Fcoco-rasa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConversationalComponents%2Fcoco-rasa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConversationalComponents%2Fcoco-rasa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConversationalComponents","download_url":"https://codeload.github.com/ConversationalComponents/coco-rasa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConversationalComponents%2Fcoco-rasa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29365573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-12T12:00:36.277Z","updated_at":"2026-02-12T12:01:28.179Z","avatar_url":"https://github.com/ConversationalComponents.png","language":"Python","readme":"\n# A Toolkit to work with components in rasa\n\n### Installation (We recommend using a virtualenv):\n```\npip install coco-rasa\n```\n\n### Setup:\n#### Setting up CoCo actions\nin actions.py\n```python\nfrom coco_rasa import GenericCoCoAction\n\nclass OneLiners(GenericCoCoAction):\n    # component name is the component_id from CoCo marketplace\n    component_name = \"generic_oneliners_vp3\"\n\nclass Namer(GenericCoCoAction):\n    component_name = \"namer_vp3\"\n```\n\nin domain.yml\n```yaml\nactions:\n    - generic_oneliners_vp3\n    - namer_vp3\n```\n\n#### to enable multi-turn capabilities for CoCo actions\nin your rasa bot config.yml\n```yaml\npolicy:\n  - name: \"coco_rasa.CoCoContextPolicy\"\n```\n\n#### triggering actions (and CoCo actions)\n* MappingPolicy\n\n``` yaml\n# config.yml:\npolicies:\n    - name: MappingPolicy\n```\n\n```yaml\n# domain.yml\nintents:\n    - greet:\n        triggers: namer_vp3\n    - someotherintent\n```\n* Fallback policy\n\n``` yaml\n# config.yaml\npolicies:\n    - name: \"FallbackPolicy\"\n        nlu_threshold: 0.4\n        core_threshold: 0.3\n        fallback_action_name: \"generic_oneliners_vp3\"\n```\n\n#### using context transfer\nin domain.yml declare the keys you want the use(from CoCo context transfer protocol). data will be transferred automatically between components.\n```yaml\nslots:\n  user.firstName:\n    type: text\n  user.lastName:\n    type: text\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconversationalcomponents%2Fcoco-rasa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconversationalcomponents%2Fcoco-rasa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconversationalcomponents%2Fcoco-rasa/lists"}