MyShell 백서

MyShell

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 70쪽

w many pieces of clothes. It takes the same five hours.", "timestamp": [ 107.28, 111.64 ] }, { "speaker": null, "text": " But...", "timestamp": [ 112.94, 113.3 ] }, { "speaker": null, "text": " GPT-4, the newest, greatest AI system, says 30 hours. Not good.", "timestamp": [ 113.3, 118.18 ] }, { "speaker": null, "text": " ChatGPT supposedly learns from its mistakes. But I tried asking it something similar,", "timestamp": [ 119.62, 124.86 ] }, { "speaker": null, "text": " with a couple linguistic variations, and things didn't go any better.", "timestamp": [ 124.86, 129.08 ] }, { "speaker": null, "text": " If it takes seven hours to dry five pieces of clothes in the sun, how long will it take to dry ten clothes?", "timestamp": [ 129.98, 138.18 ] }, { "speaker": null, "text": " The drying time in your question seems to be directly proportional to the number of clothes.", "timestamp": [ 138.52, 142.86 ] }, { "speaker": null, "text": " So, if you have 10 pieces of clothes,", "timestamp": [ 143.16, 145.32 ] }, { "speaker": null, "text": " it will take 14 hours to dry all of them, assuming the conditions remain the same.", "timestamp": [ 145.52, 149.7 ] }, { "speaker": null, "text": " Okay, let's ask again. Here's a new one. If it takes one shirt three hours and one pair of pants", "timestamp": [ 150.12, 157.1 ] }, { "speaker": null, "text": " four hours to dry in the sun, how long would it take two shirts to dry? In this scenario,", "timestamp": [ 157.1, 164.32 ] }, { "speaker": null, "text": " given that it takes three hours to dry one shirt, it would take twice that time to dry two shirts.", "timestamp": [ 164.64, 169.28 ] }, { "speaker": null, "text": " So it would take six hours to dry two shirts.", "timestamp": [ 169.5, 171.94 ] }, { "speaker": null, "text": " Oh, poor chat GPT.", "timestamp": [ 172.44, 173.94 ] }, { "speaker": null, "text": " You are not going to have a lot of clothes to wear.", "timestamp": [ 174.04, 175.82 ] }, { "speaker": null, "text": " You and I, once we understood a concept, then no matter how we rephrase the question, no matter how we ask the question", "timestamp": [ 176.96, 186.38 ] }, { "speaker": null, "text": " differently, to us, it's the same question. So we can answer them correctly. It's strange why", "timestamp": [ 186.38, 193.96 ] }, { "speaker": null, "text": " such an impressive AI that can even pass the bar exam struggles with little variations of the same", "timestamp": [ 193.96, 201.88 ] }, { "speaker": null, "text": " question that requires just common sense. But it's not surprising if you know how AI is trained.", "timestamp": [ 201.88, 208.74 ] }, { "speaker": null, "text": " It's trained to predict which word will come next.", "timestamp": [ 209.8, 213.16 ] }, { "speaker": null, "text": " It's just reading a lot of data and try to learn the patterns behind the data.", "timestamp": [ 213.68, 218.44 ] }, { "speaker": null, "text": " So it's not trained to do critical reasoning.", "timestamp": [ 218.58, 221.4 ] }, { "speaker": null, "text": " And having common sense means applying reasoning to all sorts of scenarios,", "timestamp": [ 221.4, 227.12 ] }, { "speaker": null, "text": " which computers can't do, at least not like humans. So common sense is what's strikingly", "timestamp": [ 227.48, 235.02 ] }, { "speaker": null, "text": " easy for humans, but surprisingly hard for machines. It's everyday knowledge that you and", "timestamp": [ 235.02, 241.6 ] }, { "speaker": null, "text": " I have about different objects and events that we interact", "timestamp": [ 241.6, 245.5 ] }, { "speaker": null, "text": " with in life. And it's been a longstanding challenge in AI field. Yeah, I like drawing", "timestamp": [ 245.5, 253.98 ] }, { "speaker": null, "text": " inspirations from humans because when children grow up, it's not the case that we just feed them", "timestamp": [ 253.98, 260.32 ] }, { "speaker": null, "text": " with internet data and then let them figure out on their own. Actually, the outcome of that", "timestamp": [ 260.32, 265.92 ] }, { "speaker": null, "text": " would be pretty horrible. Yes. And so what do we do to prevent it is to tell them in a more", "timestamp": [ 265.92, 273.44 ] }, { "speaker": null, "text": " declarative form what's right and what's wrong. You mean like don't hit somebody? Yeah. For", "timestamp": [ 273.44, 280.2 ] }, { "speaker": null, "text": " example, we tell them that it's not right to kill people or, you know, it's not polite to yell at people, even if they get angry.", "timestamp": [ 280.2, 289.48 ] }, { "speaker": null, "text": " We teach them a lot of these things from early on in their lives.", "timestamp": [ 289.68, 294.1 ] }, { "speaker": null, "text": " So if most AI models are learning from the vast amount of information that's available online,", "timestamp": [ 294.94, 300 ] } ], "text": " On the show today, cuts both ways. And so far, we have talked about humans. Now let's talk about machines and the strengths and weaknesses of artificial intelligence. Because there are so many things that make bots like ChatGPT amazing. It's able to pass the bar exam or college exams as long as plenty of those exam examples were in the training data. It can also write poetry, compose music, summarize vast amounts of data in a fluid, human-like way. Some people are genuinely wowed by that, like, oh my goodness, Chachapiti is so creative. And making powerful AI so easy to use has resurfaced a long-running debate. Whether AI will save us or steal all our jobs and kill us. I'd say either is a possibility. This is Yejin Choi. And we don't know what's going to happen for sure. Choi. And we don't know what's going to happen for sure. She's an AI expert, a MacArthur Genius Award winner, and a professor at the University of Washington. And that means a lot is up to us to shape the future. So Yejin, you gave a TED Talk recently about AI and a big conundrum as you see it. AI today is unbelievably intelligent and then shockingly stupid. You used an example of drying laundry to demonstrate how literal it can be. So suppose I left five clothes to dry out in the sun and it took them five hours to dry completely. How long would it take to dry 30 clothes? Yeah, it doesn't matter how many pieces of clothes. It takes the same five hours. But... GPT-4, the newest, greatest AI system, says 30 hours. Not good. ChatGPT supposedly learns from its mistakes. But I tried asking it something similar, with a couple linguistic variations, and things didn't go any better. If it takes seven hours to dry five pieces of clothes in the sun, how long will it take to dry ten clothes? The drying time in your question seems to be directly proportional to the number of clothes. So, if you have 10 pieces of clothes, it will take 14 hours to dry all of them, assuming the conditions remain the same. Okay, let's ask again. Here's a new one. If it takes one shirt three hours and one pair of pants four hours to dry in the sun, how long would it take two shirts to dry? In this scenario, given that it takes three hours to dry one shirt, it would take twice that time to dry two shirts. So it would take six hours to dry two shirts. Oh, poor chat GPT. You are not going to have a lot of clothes to wear. You and I, once we understood a concept, then no matter how we rephrase the question, no matter how we ask the question differently, to us, it's the same question. So we can answer them correctly. It's strange why such an impressive AI that can even pass the bar exam struggles with little variations of the same question that requires just common sense. But it's not surprising if you know how AI is trained. It's trained to predict which word will come next. It's just reading a lot of data and try to learn the patterns behind the data. So it's not trained to do critical reasoning. And having common sense means applying reasoning to all sorts of scenarios, which computers can't do, at least not like humans. So common sense is what's strikingly easy for humans, but surprisingly hard for machines. It's everyday knowledge that you and I have about different objects and events that we interact with in life. And it's been a longstanding challenge in AI field. Yeah, I like drawing inspirations from humans because when children grow up, it's not the case that we just feed them with internet data and then let them figure out on their own. Actually, the outcome of that would be pretty horrible. Yes. And so what do we do to prevent it is to tell them in a more declarative form what's right and what's wrong. You mean like don't hit somebody? Yeah. For example, we tell them that it's not right to kill people or, you know, it's not polite to yell at people, even if they get angry. We teach them a lot of these things from early on in their lives. So if most AI models are learning from the vast amount of information that's available online," } ``` {% endcode %} {% endtab %} {% tab title="fail" %} {% code fullWidth="false" %} ```json { "results": "<the example results of this widget>" } ``` {% endcode %} {% endtab %} {% endtabs %} # Wikipedia Search Wikipedia article and summary it {% hint style="info" %} This widget supports multiple actions. For a more comprehensive understanding of its functionality, we recommend reviewing the following documentation carefully. You need to pass both the `action` and other input parameters of the chosen action to your `module_config` {% endhint %} ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1784203525992894464) to try this widget and copy the Pro Config template. ## Usage ### Get Full Wikipedia Article <mark style="color:green;">`action`</mark> `search_title` **Input Parameters** <table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>action</td><td><code>string</code></td><td>The action you want to perform</td><td>search_title</td><td>true</td></tr><tr><td>article</td><td><code>string</code></td><td>The title of the article you want to search</td><td>artificial intelligence</td><td>true</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ---- | -------- | ----------------------------------- | --------- | | data | `object` | The search results of the wikipedia | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "data": { "url": "https://object-storage-16oh.lepton.ai/ws-k8d7q1rw/wikipedia/output/2c99c27f01264bf8808d0f1fc8e770f7.json" } } ``` {% endcode %} {% endtab %} {% endtabs %} ### Summary Wikipedia Article <mark style="color:green;">`action`</mark> `summary_title` **Input Parameters** <table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>action</td><td><code>string</code></td><td>The action you want to perform</td><td>summary_title</td><td>true</td></tr><tr><td>article</td><td><code>string</code></td><td>The title of the article you want to search</td><td>artificial intelligence</td><td>true</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ---- | -------- | ----------------------------------- | --------- | | data | `object` | The search results of the wikipedia | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "data": { "content_urls": { "desktop": { "edit": "https://en.wikipedia.org/wiki/Artificial_intelligence?action=edit", "page": "https://en.wikipedia.org/wiki/Artificial_intelligence", "revisions": "https://en.wikipedia.org/wiki/Artificial_intelligence?action=history", "talk": "https://en.wikipedia.org/wiki/Talk:Artificial_intelligence" }, "mobile": { "edit": "https://en.m.wikipedia.org/wiki/Artificial_intelligence?action=edit", "page": "https://en.m.wikipedia.org/wiki/Artificial_intelligence", "revisions": "https://en.m.wikipedia.org/wiki/Special:History/Artificial_intelligence", "talk": "https://en.m.wikipedia.org/wiki/Talk:Artificial_intelligence" } }, "description": "Intelligence of machines", "description_source": "local", "dir": "ltr", "displaytitle": "\u003cspan class=\"mw-page-title-main\"\u003eArtificial intelligence\u003c/span\u003e", "extract": "Artificial intelligence (AI), in its broadest sense, is intelligence exhibited by machines, particularly computer systems. It is a field of research in computer science that develops and studies methods and software which enable machines to perceive their environment and uses learning and intelligence to take actions that maximize their chances of achieving defined goals. Such machines may be called AIs.", "extract_html": "\u003cp\u003e\u003cb\u003eArtificial intelligence\u003c/b\u003e (\u003cb\u003eAI\u003c/b\u003e), in its broadest sense, is intelligence exhibited by machines, particularly computer systems. It is a field of research in computer science that develops and studies methods and software which enable machines to perceive their environment and uses learning and intelligence to take actions that maximize their chances of achieving defined goals. Such machines may be called AIs.\u003c/p\u003e", "lang": "en", "namespace": { "id": 0, "text": "" }, "pageid": 1164, "revision": "1220923766", "tid": "06f57629-0401-11ef-a344-e22c5cbd2b2b", "timestamp": "2024-04-26T19:13:13Z", "title": "Artificial intelligence", "titles": { "canonical": "Artificial_intelligence", "display": "\u003cspan class=\"mw-page-title-main\"\u003eArtificial intelligence\u003c/span\u003e", "normalized": "Artificial intelligence" }, "type": "standard", "wikibase_item": "Q11660" } } ``` {% endcode %} {% endtab %} {% endtabs %} # Wolfram Alpha Search Wolfram Alpha Search ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1782421790748663808) to try this widget and copy the Pro Config template. ## Usage Return the searched result of Wolfram-Alpha. The returned format can be markdown or json. **Input Parameters** <table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>query</td><td><code>string</code></td><td>The search query string that specifies what the search should be about.</td><td>what is normal distribution?</td><td>true</td></tr><tr><td>format_to</td><td><code>string</code></td><td>Specify the output format, should be either `json` or `markdown`</td><td>markdown</td><td>true</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ---------------- | -------- | ----------------------------------------------- | --------- | | result\_json | `array` | The result of wolfram alpha search in json list | | | result\_markdown | `string` | The result of wolfram alpha search in markdown | | **Output Example** {% tabs %} {% tab title="json" %} {% code fullWidth="false" %} ```json { "result_json": [ { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142222e5h4b2abg4cee1000011gi2bbe7aa79951?MSPStoreType=image/gif\u0026s=15" ], "title": "Input" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142322e5h4b2abg4cee100002348d63ihd6g1926?MSPStoreType=image/gif\u0026s=15" ], "title": "Statistical properties" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142422e5h4b2abg4cee1000065a38024f112ahbf?MSPStoreType=image/gif\u0026s=15" ], "title": "Probability density function (PDF)" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142522e5h4b2abg4cee1000014de9a0fh4d3da81?MSPStoreType=image/gif\u0026s=15" ], "title": "Plots of PDF for typical parameters" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142622e5h4b2abg4cee10000345gb98c21b78gdd?MSPStoreType=image/gif\u0026s=15", "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142722e5h4b2abg4cee100002c96875gg8i19ec4?MSPStoreType=image/gif\u0026s=15" ], "title": "Cumulative distribution function (CDF)" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142822e5h4b2abg4cee1000035ah35cib2ag6dcf?MSPStoreType=image/gif\u0026s=15" ], "title": "Plots of CDF for typical parameters" }, { "images": [ "https://www6b3.wolframalpha.com/Calculate/MSP/MSP142922e5h4b2abg4cee10000427239d086d09ef3?MSPStoreType=image/gif\u0026s=15" ], "title": "Percentiles" } ], } ``` {% endcode %} {% endtab %} {% tab title="markdown" %} {% code fullWidth="false" %} ```json { "result_markdown": "### Input\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54441a11d6bfi0c8dh00000022gd0effd7eegb04?MSPStoreType=image/gif\u0026s=18)\n### Statistical properties\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54451a11d6bfi0c8dh0000000hg07671e428cba8?MSPStoreType=image/gif\u0026s=18)\n### Probability density function (PDF)\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54461a11d6bfi0c8dh00000048i85g1e3h0b6089?MSPStoreType=image/gif\u0026s=18)\n### Plots of PDF for typical parameters\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54471a11d6bfi0c8dh00000064375i55i134d9ee?MSPStoreType=image/gif\u0026s=18)\n### Cumulative distribution function (CDF)\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54481a11d6bfi0c8dh00000046ddeieia05i5b2e?MSPStoreType=image/gif\u0026s=18)\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54491a11d6bfi0c8dh00000033iafad6d2ifc9ig?MSPStoreType=image/gif\u0026s=18)\n### Plots of CDF for typical parameters\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54501a11d6bfi0c8dh0000000e54b3f10c5eicf9?MSPStoreType=image/gif\u0026s=18)\n### Percentiles\n![](https://www6b3.wolframalpha.com/Calculate/MSP/MSP54511a11d6bfi0c8dh00000038hab2g2c6ef01f5?MSPStoreType=image/gif\u0026s=18)\n" } ``` {% endcode %} {% endtab %} {% endtabs %} # Yelp Search Yelp Search. Given a search query, return the searched Yelp recommendations ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1781994428159987712) to try this widget and copy the Pro Config template. ## Usage **Input Parameters** <table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>query</td><td><code>string</code></td><td>The search query string that specifies what the search should be about.</td><td></td><td>true</td></tr><tr><td>location</td><td><code>string</code></td><td>defines from where you want the search to originate.</td><td></td><td>true</td></tr><tr><td>num_results</td><td><code>integer</code></td><td>The number of search results to return.</td><td>10</td><td>false</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | --------------- | ------- | ------------------------- | --------- | | search\_results | `array` | The result of yelp search | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "search_results": [ { "categories": [ { "link": "https://www.yelp.com/search?find_desc=Ice+Cream+%26+Frozen+Yogurt\u0026amp;find_loc=Boston%2C+MA", "title": "Ice Cream \u0026 Frozen Yogurt" }, { "link": "https://www.yelp.com/search?find_desc=Desserts\u0026amp;find_loc=Boston%2C+MA", "title": "Desserts" }, { "link": "https://www.yelp.com/search?find_desc=Japanese\u0026amp;find_loc=Boston%2C+MA", "title": "Japanese" } ], "description": "Watch out bc the ice cream melts pretty fast, since the ice cream is sitting in a warm delicious...", "link": "https://www.yel
프로젝트로 돌아가기