Giter VIP home page Giter VIP logo

macsen-sgwrsfot's Introduction

Sgwrsfot ar gyfer Macsen

Dyma'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.

Dyma enghraifft o'i ddefnydd:

Beth fydd y tywydd yfory ym Mhwllheli?

https://localhost:5455/perform_skill?text=Beth+fydd+y+tywydd+yfory+ym+Mhwllheli%3F

{
  "intent": "beth.fydd.y.tywydd", 
  "version": 1, 
  "success": true
  "result": 
    [
      {
        "url": "", 
        "title": "Dyma tywydd yfory gan OpenWeatherMap ar gyfer Pwllheli.",
        "description": ""
      }, 
      {
        "title": ""      
        "description": "Yfory am 9 o'r gloch yn y bore bydd hi'n bwrw glaw a'r tymheredd fydd 8 gradd Celsius.", 
        "url": "", 
      }, 
      {
        "title": ""
        "description": "Yn hwyrach yfory am hanner dydd bydd hi'n bwrw glaw a'r tymheredd yn 9 gradd Celsius.", 
        "url": "", 
      }
    ], 
}

Defnyddir hybrid o lyfrgelloedd adnabod bwriad cod agored Padatious ac Adapt gan MyCroft.ai, yn ogystal a cydrannau ieithyddiaeth Cymraeg.

Mae'r sgwrsfot yn medru adnabod sawl bwriad (neu dymuniad) o bump sgil (neu parth). Gwelir y sgiliau yn:

https://github.com/techiaith/macsen-sgwrsfot/tree/master/server/assistant/skills

Gwelir bwriadau pob sgil o fewn eu is-ffolder intent. e.e.

https://github.com/techiaith/macsen-sgwrsfot/tree/master/server/assistant/skills/spotify/intents

Mae'r ffolderi intents yn cynnwys data ar gyfer hyfforddi Padatious ac Adapt.

Llwytho i lawr a gosod y sgwrsfot

Bydd 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:

A'u rhoi mewn ffeiliau apikey.py o fewn is-ffolder yn y sgil berthnasol.

Diolch 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:

$ git clone https://github.com/techiaith/macsen-sgwrsfot.git
$ cd macsen-sgwrsfot
( ... rhoi ffeiliau apikey.py i fewn ...)
$ make mysql
$ make build
$ make run

macsen-sgwrsfot's People

Contributors

auenc avatar delythprys avatar dependabot[bot] avatar dewibrynjones avatar gruffprys avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

macsen-sgwrsfot's Issues

HTML Entity in retrieved news text

Mae ddrwg gen i am defnyddio Saesneg ond dw i'n dal yn dysgu Cymraeg.

It's possible for a HTML entity/entities to be displayed as text when retrieving news.

I have noticed ’ which appears to be an entity representing '.

photo_2021-06-29_13-11-06 1

skills-online-mysql missing locally & Local installation steps in README are outdated

When trying to run the project locally, the Makefile references a docker image that isn't created via the build-local command:

run-local:
	docker run --name techiaith-padatious -it --rm \
		--link skills-online-mysql:mysql \
		-v ${PWD}/server/assistant/:/opt/padatious/src \
		-v ${PWD}/recordings/:/recordings \
		-v ${PWD}/data/:/data \
		-v ${PWD}/local/:/opt/padatious/local \
		techiaith/padatious bash

Additionally, the installation steps in the README seem to be outdated as the reference Make targets that do not exist in the current form of the make file:

make build-online-api
make run-online-api

Apologies if I have somehow lost the steps to rectify these issues via attempting to translate the README into English!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.