MyShell 백서

MyShell

원문

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

b/5e/48/very-spacious-room.jpg" }, "original": { "height": 960, "width": 1280, "url": "https://media-cdn.tripadvisor.com/media/photo-m/1280/16/5b/5e/48/very-spacious-room.jpg" } }, "album": "Room/Suite", "source": { "name": "Traveler", "localized_name": "Traveler" }, "user": { "username": "MaiCho" } }, { "id": 136507173, "is_blessed": false, "caption": "Exterior", "published_date": "2015-06-19T19:57:30.207Z", "images": { "thumbnail": { "height": 50, "width": 50, "url": "https://media-cdn.tripadvisor.com/media/photo-t/08/22/ef/25/hotel-nikko-san-francisco.jpg" }, "small": { "height": 150, "width": 150, "url": "https://media-cdn.tripadvisor.com/media/photo-l/08/22/ef/25/hotel-nikko-san-francisco.jpg" }, "medium": { "height": 104, "width": 250, "url": "https://media-cdn.tripadvisor.com/media/photo-f/08/22/ef/25/hotel-nikko-san-francisco.jpg" }, "large": { "height": 227, "width": 550, "url": "https://media-cdn.tripadvisor.com/media/photo-s/08/22/ef/25/hotel-nikko-san-francisco.jpg" }, "original": { "height": 424, "width": 1024, "url": "https://media-cdn.tripadvisor.com/media/photo-w/08/22/ef/25/hotel-nikko-san-francisco.jpg" } }, "album": "Other", "source": { "name": "Management", "localized_name": "Management" }, "user": { "username": "Management" } }, { "id": 273934067, "is_blessed": false, "caption": "Front Desk", "published_date": "2017-08-18T17:17:02.127Z", "images": { "thumbnail": { "height": 50, "width": 50, "url": "https://media-cdn.tripadvisor.com/media/photo-t/10/53/e6/f3/front-desk.jpg" }, "small": { "height": 150, "width": 150, "url": "https://media-cdn.tripadvisor.com/media/photo-l/10/53/e6/f3/front-desk.jpg" }, "medium": { "height": 168, "width": 250, "url": "https://media-cdn.tripadvisor.com/media/photo-f/10/53/e6/f3/front-desk.jpg" }, "large": { "height": 370, "width": 550, "url": "https://media-cdn.tripadvisor.com/media/photo-s/10/53/e6/f3/front-desk.jpg" }, "original": { "height": 1346, "width": 2000, "url": "https://media-cdn.tripadvisor.com/media/photo-o/10/53/e6/f3/front-desk.jpg" } }, "album": "Hotel & Grounds", "source": { "name": "Management", "localized_name": "Management" }, "user": { "username": "Management" } }, { "id": 273933546, "is_blessed": false, "caption": "Lobby", "published_date": "2017-08-18T17:14:37.396Z", "images": { "thumbnail": { "height": 50, "width": 50, "url": "https://media-cdn.tripadvisor.com/media/photo-t/10/53/e4/ea/lobby.jpg" }, "small": { "height": 150, "width": 150, "url": "https://media-cdn.tripadvisor.com/media/photo-l/10/53/e4/ea/lobby.jpg" }, "medium": { "height": 168, "width": 250, "url": "https://media-cdn.tripadvisor.com/media/photo-f/10/53/e4/ea/lobby.jpg" }, "large": { "height": 370, "width": 550, "url": "https://media-cdn.tripadvisor.com/media/photo-s/10/53/e4/ea/lobby.jpg" }, "original": { "height": 1347, "width": 2000, "url": "https://media-cdn.tripadvisor.com/media/photo-o/10/53/e4/ea/lobby.jpg" } }, "album": "Hotel & Grounds", "source": { "name": "Management", "localized_name": "Management" }, "user": { "username": "Management" } }, { "id": 273933541, "is_blessed": false, "caption": "Deluxe Queen Room", "published_date": "2017-08-18T17:14:34.191Z", "images": { "thumbnail": { "height": 50, "width": 50, "url": "https://media-cdn.tripadvisor.com/media/photo-t/10/53/e4/e5/deluxe-queen-room.jpg" }, "small": { "height": 150, "width": 150, "url": "https://media-cdn.tripadvisor.com/media/photo-l/10/53/e4/e5/deluxe-queen-room.jpg" }, "medium": { "height": 166, "width": 250, "url": "https://media-cdn.tripadvisor.com/media/photo-f/10/53/e4/e5/deluxe-queen-room.jpg" }, "large": { "height": 364, "width": 550, "url": "https://media-cdn.tripadvisor.com/media/photo-s/10/53/e4/e5/deluxe-queen-room.jpg" }, "original": { "height": 1325, "width": 2000, "url": "https://media-cdn.tripadvisor.com/media/photo-o/10/53/e4/e5/deluxe-queen-room.jpg" } }, "album": "Room/Suite", "source": { "name": "Management", "localized_name": "Management" }, "user": { "username": "Management" } } ] } ``` {% endcode %} {% endtab %} {% endtabs %} ### Search Nearby Location <mark style="color:green;">`action`</mark> `search_nearby_location` **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 to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location'</td><td>search_nearby_location</td><td>true</td></tr><tr><td>lat_long</td><td><code>string</code></td><td>Latitude/Longitude pair to scope down the search around a specifc point - eg. "42.3455,-71.10767"</td><td>37.7749,-122.4194</td><td>true</td></tr><tr><td>category</td><td><code>string</code></td><td>Filters result set based on property type. Valid options are "hotels", "attractions", "restaurants", and "geos"</td><td>hotels</td><td>false</td></tr><tr><td>phone</td><td><code>string</code></td><td>Phone number to filter the search results by (this can be in any format with spaces and dashes but without the "+" sign at the beginning)</td><td></td><td>false</td></tr><tr><td>address</td><td><code>string</code></td><td>Address to filter the search results by</td><td></td><td>false</td></tr><tr><td>radius</td><td><code>string</code></td><td>Length of the radius from the provided latitude/longitude pair to filter results.</td><td></td><td>false</td></tr><tr><td>radius_unit</td><td><code>string</code></td><td>Unit for length of the radius. Valid options are "km", "mi", "m" (km=kilometers, mi=miles, m=meters)</td><td>km</td><td>false</td></tr><tr><td>language</td><td><code>string</code></td><td>The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.</td><td>en</td><td>false</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ---- | ------- | ------------------------------------ | --------- | | data | `array` | The data returned by the TripAdvisor | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "data": [ { "location_id": "25981377", "name": "Golden Gate Hall", "distance": "0.11813290781976289", "bearing": "northeast", "address_obj": { "street1": "1412 Market Street", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102", "address_string": "1412 Market Street, San Francisco, CA 94102" } }, { "location_id": "81136", "name": "Inn@Market", "distance": "0.11819927029229718", "bearing": "northeast", "address_obj": { "street1": "1412 Market St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-6004", "address_string": "1412 Market St, San Francisco, CA 94102-6004" } }, { "location_id": "142261", "name": "SOMA Park Inn - Civic Center", "distance": "0.28332372268907535", "bearing": "east", "address_obj": { "street1": "101 9th St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94103-2602", "address_string": "101 9th St, San Francisco, CA 94103-2602" } }, { "location_id": "81035", "name": "BEI San Francisco, Trademark Collection by Wyndham", "distance": "0.34469649678886094", "bearing": "northeast", "address_obj": { "street1": "50 8th St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94103-1409", "address_string": "50 8th St, San Francisco, CA 94103-1409" } }, { "location_id": "81782", "name": "Edwardian Hotel", "distance": "0.1561006911946066", "bearing": "southwest", "address_obj": { "street1": "1668 Market St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-5949", "address_string": "1668 Market St, San Francisco, CA 94102-5949" } }, { "location_id": "1223830", "name": "San Francisco Central Hotel", "distance": "0.2546225845551202", "bearing": "southwest", "address_obj": { "street1": "1707 Market St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94103-1218", "address_string": "1707 Market St, San Francisco, CA 94103-1218" } }, { "location_id": "80753", "name": "Inn On Grove - San Francisco Civic Center", "distance": "0.3140788375767515", "bearing": "northwest", "address_obj": { "street1": "465 Grove St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-4302", "address_string": "465 Grove St, San Francisco, CA 94102-4302" } }, { "location_id": "20063299", "name": "Abigail Hotel", "distance": "0.452152912500969", "bearing": "northeast", "address_obj": { "street1": "246 McAllister St", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-4707", "address_string": "246 McAllister St, San Francisco, CA 94102-4707" } }, { "location_id": "80766", "name": "The Embassy Hotel", "distance": "0.5165878513316494", "bearing": "north", "address_obj": { "street1": "610 Polk St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-3328", "address_string": "610 Polk St, San Francisco, CA 94102-3328" } }, { "location_id": "224956", "name": "Inn at the Opera", "distance": "0.3083844068702081", "bearing": "northwest", "address_obj": { "street1": "333 Fulton St", "street2": "", "city": "San Francisco", "state": "California", "country": "United States", "postalcode": "94102-4423", "address_string": "333 Fulton St, San Francisco, CA 94102-4423" } } ] } ``` {% endcode %} {% endtab %} {% endtabs %} # Twitter Search Search Twitter to find text and medias ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1784206090390036480) to try this widget and copy the Pro Config template. ## Usage If you want to use Twitter's advanced search features, such as keywords, retweets, please refer to <https://developer.x.com/en/docs/twitter-api/tweets/search/integrate/build-a-query> **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 query string to search for</td><td></td><td>true</td></tr><tr><td>sort_order</td><td><code>string</code></td><td>The sort order of the results</td><td>relevancy</td><td>true</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ---- | ------- | ------------------- | --------- | | data | `array` | The list of tweets. | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "data": [ { "id": "1782432252695368034", "medias_url": [ "https://pbs.twimg.com/media/GLx4r0LbsAAqZAV.jpg" ], "text": "エーベンホルツさん落書き https://t.co/ETQl2XDWL0" }, { "id": "1784160564295709163", "medias_url": [ "https://pbs.twimg.com/media/GMDokjMa8AAKqsT.jpg" ], "text": "#ChatGPT \n木炭風 https://t.co/hEILww4bAj" }, { "id": "1782840245018357858", "medias_url": [ "https://pbs.twimg.com/media/GL3rv0EXYAELnMM.png" ], "text": "https://t.co/7P1PQ79AJy" }, { "id": "1783276532452270499", "medias_url": [ "https://pbs.twimg.com/media/GL93X9ZacAAdFPG.jpg" ], "text": "Appleが「OpenELM」なるAIモデルファミリーをオープンソースでリリース!\n\nネットに接続なしで、完全にデバイス上で動く前提でを重視して作ったとのこと。\n\nこれはスマホ上で動く大本命LLMになる可能性大! https://t.co/N25jNwQzq5" }, { "id": "1783531708307882146", "medias_url": [ "https://pbs.twimg.com/media/GMBe9ofWcAEWtFJ.png", "https://pbs.twimg.com/media/GMBghTvWsAAf_gX.jpg" ], "text": "No one is talking about this major LLM from China.\n\n2 days ago, SenseTime launched SenseNova 5.0, which according to the report (translated from Chinese):\n\n- Beats GPT-4T on nearly all benchmarks\n- Has a 200k context window\n- Is trained on more than 10TB tokens\n- Has major… https://t.co/sjzU9eHiSh https://t.co/2FFkZU9swE" }, { "id": "1782849844928979386", "medias_url": [], "text": "@3ez_5 @Aabdullah_ibr @Ali_rayban71 تابع محظور منشن" }, { "id": "1784008097704632524", "medias_url": [ "https://pbs.twimg.com/media/GMIRvbia8AA-4Fn.jpg" ], "text": "RAGFlow开源了一个RAG框架!\nRAGFlow :一款基于深度文档理解构建的开源 RAG(Retrieval-Augmented Generation)引擎。\n\nRAGFlow 可以为各种规模的企业及个人提供一套精简的 RAG 工作流程,结合大语言模型(LLM)针对用户各类不同的复杂格式数据提供可靠的问答以及有理有据的引用。\n\n特点:… https://t.co/0UpTz0tpN3 https://t.co/7G6LkJicdo" }, { "id": "1782426817044840529", "medias_url": [ "https://pbs.twimg.com/media/GLxyF6lXkAAzIMH.jpg" ], "text": "The Age of Robots is here.\n\nWe are going to see incredible booming in robotics in 2024 and beyond. With huge advancement in LLM, these robots now will now have AI brains.\n\n10 humanoid robots to watch: https://t.co/0rwO8Ypbev https://t.co/qUxOK6N3Wr" }, { "id": "1783523772454330615", "medias_url": [ "https://pbs.twimg.com/media/GMBZapJboAEtXMR.jpg" ], "text": "音は止んで https://t.co/OMilLt9Moh" }, { "id": "1782573082982683098", "medias_url": [ "https://pbs.twimg.com/media/GLz4xaIb0AAqWs7.jpg" ], "text": "有没有能找到靠谱的💊的呢??? https://t.co/hVv5991T7h" } ] } ``` {% endcode %} {% endtab %} {% endtabs %} # UDOP: Document Question Answering UDOP, a unified model for document classification, layout parsing and visual question answering by Microsoft. ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1781988928627507200) to try this widget and copy the Pro Config template. ## Usage \<TODO: enter description here, and remove useless inputs> **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>image</td><td><code>string</code></td><td>image url for udop to understand.</td><td><a href="https://replicate.delivery/pbxt/KZczgVh1gAp7xfPP79GdZoGdKEoekcLPiqSqE6bEgM5pThGD/example_1.jpg">default_url</a></td><td>true</td></tr><tr><td>prompt</td><td><code>string</code></td><td>The text prompt in natural language. You can use `Question answering. xxxxxx` to ask question about the input image</td><td>Question answering. In which date is the report made?</td><td>true</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | -------- | -------- | --------------------------------------------------- | --------- | | response | `string` | The answer given. According to the image and prompt | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "response": "9/3/92" // example input image=https://replicate.delivery/pbxt/KZczgVh1gAp7xfPP79GdZoGdKEoekcLPiqSqE6bEgM5pThGD/example_1.jpg prompt=Question answering. In which date is the report made? } ``` {% endcode %} {% endtab %} {% tab title="fail" %} {% code fullWidth="false" %} ```json { "results": "<the example results of this widget>" } ``` {% endcode %} {% endtab %} {% endtabs %} ## Detailed Guidelines # Weather forecasting Use city name or specific location to get a weather forecasting information ## Try it in the Widget Center Click this [url](https://app.myshell.ai/robot-workshop/widget/1781991520180035584) to try this widget and copy the Pro Config template. ## Usage Perform weather forecasting either by the given `city_name` or the specific latitude/longitude **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>city_name</td><td><code>string</code></td><td>The city name you want to get the weather information of.</td><td></td><td>false</td></tr><tr><td>latitude</td><td><code>number</code></td><td>The latitude of a location, if it is north, use positive numbers; if it is south, use negative numbers. The range is from -90 to +90</td><td>0</td><td>false</td></tr><tr><td>longitude</td><td><code>number</code></td><td>The longitude of a location, if it is east, use positive numbers; if it is west, use negative numbers. The range is from -180 to +180</td><td>0</td><td>false</td></tr><tr><td>units</td><td><code>string</code></td><td>For temperature in Fahrenheit use `imperial`. For temperature in Celsius use `metric`. For temperature in Kelvin use `standard`. We use `imperial` by default</td><td>imperial</td><td>false</td></tr><tr><td>use_specific_loc</td><td><code>boolean</code></td><td>Whether to use latitude&#x26;longitude for weather forecasting.</td><td>False</td><td>false</td></tr></tbody></table> **Output Parameters** | Name | Type | Description | File Type | | ------- | -------- | ------------------- | --------- | | city | `object` | City information | | | weather | `object` | Weather information | | **Output Example** {% tabs %} {% tab title="success" %} {% code fullWidth="false" %} ```json { "city": { "coord": { "lat": 39.9075, "lon": 116.3972 }, "country": "CN", "name": "Beijing" }, "weather": { "feels_like": [ 60.37, 57.78, 53.22, 57.27, 67.89, 76.69, 78.76, 72.16, 66.2, 60.12, 57.45, 62.55, 74.68, 83.48, 87.51, 80.96, 79.16, 71.87, 66.13, 68.74, 76.57, 83.21, 81.41, 76.17, 70.43, 66.65, 62.31, 64.63, 72.75, 79.72, 79.75, 68.07, 62.96, 60.28, 59.31, 58.14, 59.59, 60.3, 59.18, 54.37 ], "humidity": [ 34, 38, 49, 41, 23, 16, 13, 21, 24, 40, 51, 40, 24, 15, 11, 21, 24, 31, 38, 33, 29, 26, 31, 45, 51, 55, 50, 44, 35, 33, 31, 36, 51, 47, 44, 38, 39, 40, 46, 78 ], "temp": [ 62.8, 60.26, 55.65, 59.68, 70.11, 78.4, 80.76, 74.07, 68.52, 62.31, 59.41, 64.51, 76.23, 87.03, 91.9, 83.5, 79.16, 73.38, 67.86, 70.45, 77.74, 85.91, 83.12, 76.69, 71.2, 67.6, 63.88, 66.24, 74.01, 80.51, 80.8, 69.71, 64.42, 62.15, 61.39, 60.58, 61.88, 62.47, 61.2, 55.45 ], "temp_max": [ 62.8, 60.26, 55.65, 59.68, 70.11, 78.4, 80.76, 74.07, 68.52, 62.31, 59.41, 64.51, 76.23, 87.03, 91.9, 83.5, 79.16, 73.38, 67.86, 70.45, 77.74, 85.91, 83.12, 76.69, 71.2, 67.6, 63.88, 66.24, 74.01, 80.51, 80.8, 69.71, 64.42, 62.15, 61.39, 60.58, 61.88, 62.47, 61.2, 55.45 ], "temp_min": [ 60.58, 58.42, 55.65, 59.68, 70.11, 78.4, 80.76, 74.07, 68.52, 62.31, 59.41, 64.51, 76.23, 87.03, 91.9, 83.5, 79.16, 73.38, 67.86, 70.45, 77.74, 85.91, 83.12, 76.69, 71.2, 67.6, 63.88, 66.24, 74.01, 80.51, 80.8, 69.71, 64.42, 62.15, 61.39, 60.58, 61.88, 62.47, 61.2, 55.45 ], "time": [ "2024-04-23 15:00:00", "2024-04-23 18:00:00", "2024-04-23 21:00:00", "2024-04-24 00:00:00", "2024-04-24 03:00:00", "2024-04-24 06:00:00", "2024-04-24 09:00:00", "2024-04-24 12:00:00", "2024-04-24 15:00:00", "2024-04-24 18:00:00", "2024-04-24 21:00:00", "2024-04-25 00:00:00", "2024-04-25 03:00:00", "2024-04-25 06:00:00", "2024-04-25 09:00:00", "2024-04-25 12:00:00", "2024-04-25 15:00:00", "2024-04-25 18:00:00", "2024-04-25 21:00:00", "2024-04-26 00:00:00", "2024-04-26 03:00:00", "2024-04-26 06:00:00", "2024-04-26 09:00:00", "2024-04-26 12:00:00", "2024-04-26 15:00:00", "2024-04-26 18:00:00", "2024-04-26 21:00:00", "2024-04-27 00:00:00", "2024-04-27 03:00:00", "2024-04-27 06:00:00", "2024-04-27 09:00:00", "2024-04-27 12:00:00", "2024-04-27 15:00:00", "2024-04-27 18:00:00", "2024-04-27 21:00:00", "2024-04-28 00:00:00", "2024-04-28 03:00:00", "2024-04-28 06:00:00", "2024-04-28 09:00:00", "2024-04-28 12:00:00" ], "visibility": [ 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000,
프로젝트로 돌아가기