Coder Social home page Coder Social logo

deburgger's Introduction

Deburgger

Deburgger is a progressive web application that uses Azure and artifical intelligence to help you debug your burger.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Runs unit tests

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

deburgger's People

Contributors

ybot1122 avatar

Watchers

 avatar Kostas Georgiou avatar

deburgger's Issues

Manually Curated Data Source: Burger Troubleshooting.

This is the original motivation of this project. We will need a manually curated data source for troubleshooting a homecooked burger. This might be done via the Language Studio UI, or done by a text source.

Examples include:

"What should I do if my bun gets soggy?" | "Try toasting the buns, and make sure the toppings are dry before putting them on".
"How do I get grill marks on my patty?" | "The simplest answer is to cook it on a grill."
"My condiments keep falling off." | "Try using less condiments. Otherwise try spreading them before closing the bun."

NOTE: This might end up using the a script similar to 'known_burgers'.

Integrate With Azure CLU

We need to produce a dataset that can train a model to learn intents and entities. And then integrate to it on the clientside.

Intent tells us what a user wants to do, and entities can highlight specific parameters. We'll need an initial dataset to just do some programming.

In the long term, we will simply produce sentences and outsource the data labeling.

Example:

[
    {
        "intent": "Quote",
        "language": "en-us",
        "text": "I left my heart in Alexandria Egypt",
        "entities": [
            {
                "category": "CityName",
                "offset": 19,
                "length": 10
            }
        ]
    },
    {
        "language": "en-us",
        "intent": "BookFlight",
        "text": "Book me a flight to Alexandria Egypt",
        "entities": [
            {
                "category": "CityName",
                "offset": 20,
                "length": 10
            },
            {
                "category": "CountryName",
                "offset": 31,
                "length": 5
            }
        ]
    }
]

Write Script to Generate Known_Burgers.xlsx Data Source

The script should take a mapping of Restaurant -> MenuItem[] and an array of prompts: Prompt[]

The script should generate an xlsx where the A column is a question and the B column is an answer.

{
    'Burger King': ['Whopper', 'Whopper Jr', 'Bacon King']
}

['Where can I find the ${item}?', 'Which place has the ${item}?', 'Who makes the ${item}?']

results in

Where can I find the Whopper? | Burger King
Which place has the Whopper? | Burger King
Who makes the Whopper? | Burger King
Where can I find the Whopper Jr? | Burger King
Which place has the Whopper Jr? | Burger King
Who makes the Whopper Jr? | Burger King
Where can I find the Bacon King? | Burger King
Which place has the Bacon King? | Burger King
Who makes the Bacon King? | Burger King

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.