{"id":38676604,"url":"https://github.com/techiaith/macsen-sgwrsfot","last_synced_at":"2026-01-17T10:01:20.424Z","repository":{"id":44686319,"uuid":"169600765","full_name":"techiaith/macsen-sgwrsfot","owner":"techiaith","description":"Cydran adnabod bwriad a sgwrsfot yr ap Macsen // Intent parser and chatbot component for the Macsen app","archived":false,"fork":false,"pushed_at":"2023-02-08T02:44:49.000Z","size":195,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-17T07:19:25.444Z","etag":null,"topics":["chatbot","cymraeg","intent-parser","macsen","welsh"],"latest_commit_sha":null,"homepage":"http://techiaith.cymru/macsen","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/techiaith.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,"governance":null}},"created_at":"2019-02-07T16:13:57.000Z","updated_at":"2024-03-19T07:45:39.000Z","dependencies_parsed_at":"2023-02-13T04:00:51.940Z","dependency_job_id":null,"html_url":"https://github.com/techiaith/macsen-sgwrsfot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techiaith/macsen-sgwrsfot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiaith%2Fmacsen-sgwrsfot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiaith%2Fmacsen-sgwrsfot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiaith%2Fmacsen-sgwrsfot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiaith%2Fmacsen-sgwrsfot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techiaith","download_url":"https://codeload.github.com/techiaith/macsen-sgwrsfot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiaith%2Fmacsen-sgwrsfot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["chatbot","cymraeg","intent-parser","macsen","welsh"],"created_at":"2026-01-17T10:01:19.983Z","updated_at":"2026-01-17T10:01:20.407Z","avatar_url":"https://github.com/techiaith.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sgwrsfot ar gyfer Macsen\n\nDyma'r elfen sgwrsfot ar gyfer Macsen - meddalwedd cynorthwyydd personol digidol rydyn ni’n defnyddio i ddatblygu technoleg lleferydd a deallusrwydd artiffisial Cymraeg - sydd yn adnabod bwriad o fewn testun ac sy'n ymateb gydag ateb ac/neu ddata i alluogi Macsen i ymateb yn gywir ac yn ystyrlon.\n\nDyma enghraifft o'i ddefnydd:\n\n_Beth fydd y tywydd yfory ym Mhwllheli?_\n\nhttps://localhost:5455/perform_skill?text=Beth+fydd+y+tywydd+yfory+ym+Mhwllheli%3F\n\n```\n{\n  \"intent\": \"beth.fydd.y.tywydd\", \n  \"version\": 1, \n  \"success\": true\n  \"result\": \n    [\n      {\n        \"url\": \"\", \n        \"title\": \"Dyma tywydd yfory gan OpenWeatherMap ar gyfer Pwllheli.\",\n        \"description\": \"\"\n      }, \n      {\n        \"title\": \"\"      \n        \"description\": \"Yfory am 9 o'r gloch yn y bore bydd hi'n bwrw glaw a'r tymheredd fydd 8 gradd Celsius.\", \n        \"url\": \"\", \n      }, \n      {\n        \"title\": \"\"\n        \"description\": \"Yn hwyrach yfory am hanner dydd bydd hi'n bwrw glaw a'r tymheredd yn 9 gradd Celsius.\", \n        \"url\": \"\", \n      }\n    ], \n}\n```\n\nDefnyddir hybrid o lyfrgelloedd adnabod bwriad cod agored [Padatious](https://mycroft.ai/documentation/padatious/) ac [Adapt](https://mycroft.ai/documentation/adapt/) gan MyCroft.ai, yn ogystal a cydrannau ieithyddiaeth Cymraeg.\n\n Mae'r sgwrsfot yn medru adnabod sawl bwriad (neu dymuniad) o bump sgil (neu parth). Gwelir y sgiliau yn:\n \n https://github.com/techiaith/macsen-sgwrsfot/tree/master/server/assistant/skills\n \n Gwelir bwriadau pob sgil o fewn eu is-ffolder `intent`. e.e. \n \n https://github.com/techiaith/macsen-sgwrsfot/tree/master/server/assistant/skills/spotify/intents\n \n Mae'r ffolderi `intents` yn cynnwys data ar gyfer hyfforddi Padatious ac Adapt. \n \n \n## Llwytho i lawr a gosod y sgwrsfot\n\nBydd angen cyfrifiadur gyda docker (https://www.docker.com/get-started) wedi'i osod arno eisoes. Bydd angen i chi drefnu allweddi API eich hunain i'r gwasanaethau allanol canlynol:\n\n - OpenWeatherMap (https://openweathermap.org/api)\n - TimezoneDB (https://timezonedb.com/api) \n - Spotify (https://developer.spotify.com/documentation/web-api/) \n \nA'u rhoi mewn ffeiliau `apikey.py` o fewn is-ffolder yn y sgil berthnasol. \n \nDiolch i docker, mae'r proses gosod popeth arall yn hawdd iawn. Agorwch ffenestr 'Terminal' ar eich cyfrifiadur, ac o fewn ychydig iawn o  orchmynion bydd y sgwrsfot yn rhedeg ar eich system:\n \n```\n$ git clone https://github.com/techiaith/macsen-sgwrsfot.git\n$ cd macsen-sgwrsfot\n( ... rhoi ffeiliau apikey.py i fewn ...)\n$ make mysql\n$ make build\n$ make run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechiaith%2Fmacsen-sgwrsfot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechiaith%2Fmacsen-sgwrsfot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechiaith%2Fmacsen-sgwrsfot/lists"}