ãã®èšäºã¯ã Geospatial generative AI with Amazon Bedrock and Amazon Location Service ã翻蚳ããã®ãã®ã§ãã éåžžãå°ç空éã¯ãŒã¯ãããŒã¯ãããŒã¿ãèªã¿èŸŒãã§å€æããå°å³ãããã¹ããã°ã©ããªã©ã«å¯èŠåããŸããçæç³» AIãèªåŸå ãšãŒãžã§ã³ã ãå©çšãããšããããã®ã¿ã¹ã¯ãèªååã§ããŸãããã®ããã°ã§ã¯ã Amazon Bedrock ã®åºç€ã¢ãã«ãããã¯ãŒãšãŒãžã§ã³ããŸã§ãå°ç空éã¿ã¹ã¯ãå®äºããæ¹æ³ã«ã€ããŠèª¬æããŸãã ãããã®ãšãŒãžã§ã³ãã¯ã Amazon Location Service ãéããŠå©çšã§ãããžãªã³ãŒãã£ã³ã°ãªã©ã®ãã±ãŒã·ã§ã³ããŒã¹ã®ãµãŒãã¹ã䜿çšããŠãããŸããŸãªã¿ã¹ã¯ãå®è¡ãã質åã«çããããšãã§ããŸãããšãŒãžã§ã³ãã䜿çšã㊠Amazon Bedrock ãš Amazon Location Service ã®æ©èœãæ©æž¡ããããµã³ãã«ã³ãŒãã瀺ããæ§ç¯æã®èšèšã«ãããèæ
®äºé
ã«ã€ããŠèª¬æããŸãã Amazon Bedrockã¯ãããã¹ããç»åãEmbedding ã®ããã®åºç€ã¢ãã«ã«ã¢ã¯ã»ã¹ããããã®äœ¿ãããã API ãæäŸãããã«ãããŒãžããµãŒãã¹ã§ããAmazon Locationã¯ãEsriãHEREãGrabãOpenStreetMap ãªã©ã®ä¿¡é Œã§ãããµãŒãããŒãã£ããæäŸãããããŒã¿ã䜿çšããŠãå°å³ãå Žæãã«ãŒãã£ã³ã°çšã® API ãæäŸããŠããŸãã ã€ã³ãã©ã¹ãã©ã¯ãã£ãå®å
šã«å¶åŸ¡ããå¿
èŠãããå Žåã¯ã Amazon SageMaker JumpStart ã䜿çšããããšã§ãåºç€ã¢ãã«ããããã€ã§ããäœçŸãã®ã¢ãã«ã«ã¢ã¯ã»ã¹ã§ããŸãã ãœãªã¥ãŒã·ã§ã³æŠèŠ å€§èŠæš¡èšèªã¢ãã« (LLM) ã®é åã§ã¯ããšãŒãžã§ã³ã㯠LLM ã®å©ããåããŠèªåŸçã«æšè«ããŠã¿ã¹ã¯ãå®äºã§ãããšã³ãã£ãã£ã§ããLLM ã¯ããã¹ãçæã ãã«ãšã©ãŸãããäŒè©±ãè¡ã£ããããã¡ã€ã³åºæã®ã¿ã¹ã¯ãå®äºã§ããŸãããã®åäœãå°ãããã«æšè«ãã¿ãŒã³ãæ¡çšããŠããŸãã ç ç©¶è«æã Large Language Models are Zero-Shot Reasoners ãã«ãããšãLLM ã¯ç¥èã®éçãããã«ãããããããé«ã¬ãã«ã®æšè«ã«åªããŠããããšãåãããŸãã ç§ãã¡ã¯å°ç空éã¿ã¹ã¯ãåŠçã§ãããšãŒãžã§ã³ããäœæããããã«ãAmazon Bedrock ã®åºç€ã¢ãã«ã§ãã Claude 2 ãéžæããŸãããå
šäœçãªã³ã³ã»ããã¯åçŽæå¿«ã§ãå°ç空éããŒã¿ãµã€ãšã³ãã£ã¹ãã®ããã«èããããšãã§ãã ãã®ã¿ã¹ã¯ã«ã¯ãããŒã¿ãèªã¿åã£ãŠå€æããé¢å¿ãåŒããããã«èŠèŠåãã Python ã³ãŒããæžãå¿
èŠããããŸãããã®ããã« Plan-and-Solve Prompting ãšåŒã°ããããã³ãããã¿ãŒã³ãå©çšããŸããã Plan-and-Solve æŠç¥ã䜿çšãããšãæåã®ã¿ã¹ã¯ãšããŠè€æ°ã®ã¹ãããã§æšè«ã倧ãŸããªèšç»ãç«ãŠãããšãã§ããŸããããã¯ããšãŒãžã§ã³ãã䜿çšãã倧ãŸããªèšç»ã§ãèªã¿èŸŒã¿ã倿ãèŠèŠåã®ã¯ãŒã¯ãããŒã«é©ããŠããŸãããããã®ãµãã¿ã¹ã¯ã¯ãããã Claude 2 ã«éããããããã解決ãããŸãã ãã¥ãŒãšãŒã¯ã«ããã Inside Airbnb ã®ãªã¹ããã©ã€ã¹ããŒãããããäœæãããµã³ãã«ã¿ã¹ã¯ãèããŠã¿ãŸããã¿ã¹ã¯ãå®äºããããã®ãã¹ãèšç»ããã«ã¯ããšãŒãžã§ã³ãã¯ããŒã¿ã»ãããçè§£ããå¿
èŠããããŸãããšãŒãžã§ã³ãã¯ãããŒã¿ã»ããã®åãšããŒã¿åãç¥ãå¿
èŠããããŸããããŒã¿ã»ãããããµããªãŒãçæããŠããšãŒãžã§ã³ãããŠãŒã¶ãŒããæç€ºãããã¿ã¹ã¯ (ããŒããããã®çæ) ãèšç»ã§ããããã«ããŸãã åææ¡ä»¶ ãã¢ããããã€ããã«ã¯ãããã€ãã®åææ¡ä»¶ããããŸãã ã¢ã¯ã»ã¹ã㌠ã®ãã AWS ã¢ã«ãŠã³ãããŸãã¯ãAmazon Bedrock ãš Amazon Location Service ãžã®ã¢ã¯ã»ã¹æš©éã®ãã AWS Identity and Access Management (IAM) ããŒã« ãå¿
èŠã«ãªããŸããAmazon Location Service ã³ã³ãœãŒã«ã䜿çšããŠã ããã ã ãã¬ãŒã¹ã€ã³ããã¯ã¹ ãããã³ã Amazon Location Service API ã㌠ãäœæããå¿
èŠããããŸãã ãŸããDocker ãã€ã³ã¹ããŒã«ãããŠããããŒã«ã«ç°å¢ãä»®æ³ç°å¢ãå¿
èŠã§ããä»åã®ãã¢ã³ã¹ãã¬ãŒã·ã§ã³ã§ã¯ãDocker ãã€ã³ã¹ããŒã«ããã Amazon Linux ã® Amazon Elastic Compute Cloud (Amazon EC2) ã€ã³ã¹ã¿ã³ã¹ã䜿çšããŸãã ããŒã¿ãèªã¿èŸŒã¿èŠçŽãã ããŒã¿ã»ããã«é¢ããã³ã³ããã¹ãããšãŒãžã§ã³ãã«æž¡ãããã«ãããŒã¿ãèªã¿åããã¿ã¹ã¯ã«é¢é£ããèŠçŽãæäŸã§ãã Python ã³ãŒãã Claude 2 ã«çæãããŸãã以äžã¯ãããã³ããã®äžéšã§ãã å
šããã³ããã¯ãããžã§ã¯ãã® prompts.py ãã¡ã€ã«ã«ãããŸãã Your Role: You are a geospatial data analyzer designed to analyze data schema from arbitrary geospatial datasets. Your Task: You are provided a set of file URLs. You need to generate a Python function that meets the following: Read each file using geopandas. Each file could be CSV, shape file, or GeoJSON. Use built-in function resolved_file_url = get_data_file_url ( file_url, session_id ) to get downloadable URLs. Bash ãããã®ããã³ãããã Claude 2 ã¯ä»¥äžã® Python ã³ãŒããçæããŸãã import geopandas as gpd import pandas as pd import numpy as np def analyze_geospatial_data ( file_urls ) : dataframes = [ ] for file_url in file_urls : resolved_file_url = get_data_file_url ( file_url , 'a5b188fe-91f7-4f92-92fe-c4030721a427' , 'local' ) if file_url . endswith ( '.csv' ) : df = pd . read_csv ( resolved_file_url ) elif file_url . endswith ( '.shp' ) : df = gpd . read_file ( resolved_file_url ) elif file_url . endswith ( '.parquet' ) : df = pd . read_parquet ( resolved_file_url ) elif file_url . endswith ( '.geojson' ) : df = gpd . read_file ( resolved_file_url ) else : raise ValueError ( 'Unsupported file format' ) df = df . sample ( n = 3 , random_state = 42 ) dataframes . append ( { 'file_url' : file_url , 'resolved_file_url' : resolved_file_url , 'data_frame' : df , 'column_names' : list ( df . columns ) } ) return dataframes file_urls = [ 'agent://airbnb_listings_price.csv' ] dataframes = analyze_geospatial_data ( file_urls ) Python agent:// ãã¬ãã£ãã¯ã¹ã¯ããã®ãã¡ã€ã«ãã»ãã·ã§ã³ã¹ãã¬ãŒãžãã©ã«ããŒå
ã«ä¿åãããŠããããšã CLI ã«æç€ºããŸããCLI ãå®è¡ããããšãããŒã«ã«ããŒã¿ãä¿åããããã® geospatial-agent-session-storage ãã©ã«ããŒãäœæãããŸãããšãŒãžã§ã³ãã¯ãã¢ããããŒãããã Airbnb ã®ããŒã¿ãšãã®ååãèªèããŸããæ¬¡ã«ãClaude ãžäŸé Œããããããããã®ã€ã³ãããã䜿çšããŠããŒãããããçæããããã®ãã³ããããã³ããã«æž¡ããŸãã Your Role: You are a geospatial data analyzer designed to analyze data schema from arbitrary geospatial data sets. Your Task: You are provided with a table with some rows data. Your task is to generate a summary that describes the data in the table following the requirements below. The first sentence should be summary of the data in the table from the aspect of the user action. If there is no geometry column in the table, the second sentence should note column names that can be used to generate a geometry column in geopandas. Bash Claude 2 ã¯ä»¥äžã®ãã³ããè¿ããŸãã Summary: The table contains columns for listing id, name, host id, host name, location details like neighborhood, latitude, and longitude that can be used to generate a geometry column for plotting. Price column contains listing price that can be used to generate a heatmap of listing prices. Bash ãœãªã¥ãŒã·ã§ã³ãèšç»ãã Claude 2 ã«å€§ãŸããªèšç»ãçæããŠããããŸããPython ã® NetworkX ãšããã°ã©ãã©ã€ãã©ãªã䜿ããšãåé¡è§£æ±ºã®æé ãèšç»ã§ããŸãã ååã®ããã³ãããšåæ§ã«ãClaude 2 ã®ã¬ã€ããšãªãããã€ãã®æ¡ä»¶ãæž¡ããŸãã Your Role: You are a geospatial data scientist and an expert Python developer. Your Task: A series of consecutive steps. Your Reply needs to meet these requirements: Create a single NetworkX graph. No disconnected components allowed. First operations are data loading. Use geopandas for spatial data. Bash ãããã®ããã³ãããã Claude 2 ã¯ä»¥äžã® Python ã³ãŒããçæããŸãã import networkx as nx G = nx . DiGraph ( ) # Load the data G . add_node ( "airbnb_data_url" , node_type = "data" , data_path = "agent://airbnb_listings_price.csv" , description = "URL for Airbnb listing price data" ) G . add_node ( "load_data" , node_type = "operation" , operation_type = "load" , description = "Load the Airbnb listing price data" ) G . add_edge ( "airbnb_data_url" , "load_data" ) G . add_node ( "airbnb_df" , node_type = "data" , description = "Pandas DataFrame containing Airbnb listing prices" ) G . add_edge ( "load_data" , "airbnb_df" ) # Transform the data G . add_node ( "add_geometry" , node_type = "operation" , operation_type = "transform" , description = "Create a geometry column using latitude and longitude" ) G . add_edge ( "airbnb_df" , "add_geometry" ) G . add_node ( "airbnb_gdf" , node_type = "data" , description = "GeoDataFrame with geometry column added" ) G . add_edge ( "add_geometry" , "airbnb_gdf" ) # Visualize the data G . add_node ( "plot_heatmap" , node_type = "operation" , operation_type = "visualization" , description = "Generate a heatmap of listing prices" ) G . add_edge ( "airbnb_gdf" , "plot_heatmap" ) G . add_node ( "price_heatmap" , node_type = "data" , description = "The heatmap plot showing Airbnb listing prices" ) G . add_edge ( "plot_heatmap" , "price_heatmap" ) Python ãã® NetworkX ã°ã©ãã§ã¯ãClaude 2 ãããã»ã¹ã䞻㫠3 ã€ã®ã»ã°ã¡ã³ãã«åè§£ããŸãã ããŒã¿ã®èªã¿èŸŒã¿ â Airbnb ã®ãªã¹ããã©ã€ã¹ãç¹å®ã® URL ãã Pandas ããŒã¿ãã¬ãŒã ã«ã€ã³ããŒããã ããŒã¿ã®å€æ â 緯床ãšçµåºŠã®åº§æšã«åºã¥ãããžãªã¡ããªåã®äœæ ããŒã¿ã®èŠèŠå â Airbnb ã®ãªã¹ããã©ã€ã¹ã衚瀺ããããŒããããã®çæ ãã®ã¢ãããŒãã«ãããå°ç空éã¿ã¹ã¯ãæç¢ºãã€ç°¡åã«å®è£
ã§ããŸãã GraphViz ã䜿çšãããšã以äžã®ã¯ãŒã¯ãããŒãèŠèŠåã§ããŸãã èšç»ãå®è¡ãã Claude 2 ããçæãããèšç»ãå®è¡ããŸããåã¹ãããã§ Claude 2 ã«å¯Ÿå¿ããã³ãŒããèšè¿°ããŸããClaude 2 ã«çŠç¹ãçµãããã«ãåã¿ã¹ã¯ã«å€§ãŸããªæ¡ä»¶ãèšããŠããŸããClaude 2 ãããããã®ãã§ãŒãºã§çæããã³ãŒãã«ã€ããŠè©³çްã説æããŸãã ããŒã¿ã®èªã¿èŸŒã Airbnb ã®ãªã¹ããã©ã€ã¹ã®ããŒã¿ã Pandas DataFrame ã«ããŒãããã«ã¯ãããã³ãããäœæãããã€ãã®ãã©ã¡ãŒã¿ãŒãæž¡ããŸãã Operation_task ã®ãLoad Airbnb dataãã¯ãäžã®ã°ã©ãã® load_data ããŒããæããŠããŸãã Your Role: You are a geospatial data scientist and an expert Python developer. Operation_task: You need to generate a Python function to do: Load Airbnb data. Your Reply needs to meet these requirements: The function definition is: load_data ( airbnb_data_url = 'agent://airbnb_listings_price.csv' ) . When doing spatial joins, retain at least 1 geometry column. Point function requires importing shapely library. Bash ãããã®ããã³ãããã Claude 2 ã¯ä»¥äžã® Python ã³ãŒããçæããŸãã import pandas as pd def load_data ( airbnb_data_url = 'agent://airbnb_listings_price.csv' ) : """ Load Airbnb listing price data """ file_url = get_data_file_url ( airbnb_data_url , session_id , storage_mode ) airbnb_df = pd . read_csv ( file_url ) return airbnb_df Python ããŒã¿ã®å€æ 次ã«ãClaude 2 ã¯ã latitude ãš longitude ã䜿çšã㊠DataFrame ã« geometry åã远å ããã³ãŒããçæããŸãããã®ããã³ããã§ã¯ã以äžã®æ¡ä»¶ãèšããŠããŸãã Your Role: You are a geospatial data scientist and an expert Python developer. Operation_task: You need to generate a Python function to do: Add geometry column from latitude/longitude. Your Reply needs to meet these requirements: The function definition is: add_geometry ( filtered_df ) . The function return line is: return airbnb_gdf. Bash ãããã®ããã³ãããã Claude 2 ã¯ä»¥äžã® Python ã³ãŒããçæããŸãã import geopandas as gpd from shapely . geometry import Point def add_geometry ( airbnb_df ) : """ Add geometry column from latitude and longitude """ airbnb_df [ 'geometry' ] = airbnb_df . apply ( lambda row : Point ( row [ 'longitude' ] , row [ 'latitude' ] ) , axis = 1 ) airbnb_gdf = gpd . GeoDataFrame ( airbnb_df , geometry = 'geometry' ) return airbnb_gdf Python ããŒã¿ã®èŠèŠå æåŸã«ãClaude 2 ã¯ç©ºéã¬ã³ããªã³ã°çšã® Python ã©ã€ãã©ãªã§ãã pydeck ã䜿çšããŠããŒãããããçæããŸãããã®ããã³ããã§ã¯ã以äžã®æ¡ä»¶ãèšããŠããŸãã Your Role: You are a geospatial data scientist and an expert Python developer. Operation_task: You need to generate a Python function to do: Generate heatmap from price. Your Reply needs to meet these requirements: The function definition is: generate_heatmap ( airbnb_gdf ) . The function return line is: return airbnb_heatmap. Bash ãããã®ããã³ãããã Claude 2 ã¯ä»¥äžã® Python ã³ãŒããçæããŸãã import pandas as pd import geopandas as gpd import pydeck as pdk def plot_heatmap ( airbnb_gdf ) : """ Plot heatmap of listing prices """ price_heatmap = pdk . Deck ( map_style = location_map_style ( ) , initial_view_state = pdk . ViewState ( latitude = airbnb_gdf [ 'latitude' ] . mean ( ) , longitude = airbnb_gdf [ 'longitude' ] . mean ( ) , zoom = 11 , pitch = 50 , ) , layers = [ pdk . Layer ( 'HexagonLayer' , data = airbnb_gdf , get_position = [ 'longitude' , 'latitude' ] , radius = 100 , elevation_scale = 4 , elevation_range = [ 0 , 1000 ] , pickable = True , extruded = True , ) , pdk . Layer ( 'ScatterplotLayer' , data = airbnb_gdf , get_position = [ 'longitude' , 'latitude' ] , get_color = '[200, 30, 0, 160]' , get_radius = 200 , ) , ] , ) # Save heatmap HTML price_heatmap . to_html ( get_local_file_path ( 'airbnb_heatmap.html' , session_id , task_name ) ) return price_heatmap Python Claude 2 ã®å¿çã«ã¯ãå颿°ãæå®ãããæ¡ä»¶ãã©ã®ããã«æºãããã説æãã圹ç«ã€ã¡ã¢ãå«ãŸããŠããŸããããšãã°ãããŒããããã®èŠèŠåã§ã¯ Claude 2 ã¯æ¬¡ã®ç¹ã«æ³šç®ããŸããã "This function generates a heatmap of Airbnb listing prices using pydeck and saves the resulting HTML locally. It fulfills the requirements specified in the prompt." çæãããã³ãŒããçµã¿ç«ãŠã Claude 2 ãããããã®æ§æèŠçŽ ãçæããã®ã§ãŸãšããŸãããšãŒãžã§ã³ãã¯ãããããã¹ãŠã®ã¹ãããããèªåçã« 1 ã€ã® Python ãã¡ã€ã«ã«ãŸãšããŸãããã®ã¹ã¯ãªããã¯ãå颿°ãé çªã«åŒã³åºããããã»ã¹å
šäœãå¹çåããŸãã æçµçã«ã¯ã以äžã®ãããªã³ãŒãã«ãªããŸãã session_id = "a5b188fe-91f7-4f92-92fe-c4030721a427" task_name = "1694813661_airbnb_listings_price_heatmap" storage_mode = "local" # Sequentially invoke the functions airbnb_df = load_data ( airbnb_data_url = 'agent://airbnb_listings_price.csv' ) airbnb_gdf = add_geometry ( airbnb_df ) price_heatmap = plot_heatmap ( airbnb_gdf ) Python ã¹ã¯ãªãããå®è¡ããããšãClaude 2 ãããŒãããããçæããã³ãŒããå«ã HTML ãã¡ã€ã«ãäœæããŸãã以äžã®ç»åã¯ãAmazon Location Service ããŒã¹ãããã®ãã¥ãŒãšãŒã¯ã« Airbnb ã®ãªã¹ããã©ã€ã¹ããŒããããã衚瀺ããŠããŸãã Amazon Bedrock ã§ Amazon Location Service ã䜿ã Plan-and-Solve ãšãŒãžã§ã³ãã¯å°ç空éã¿ã¹ã¯ãåŠçã§ããŸãããäœæã®ãžãªã³ãŒãã£ã³ã°ãªã©ã®ã¿ã¹ã¯ã«ã¯å°ãç°ãªãã¢ãããŒãããšãå¿
èŠããããŸãããã®ããã«ã¯ãLLM ã䜿ã£ãŠæšè«ãšå®è¡ãçµã¿åããã ReACT æŠç¥ã䜿ããŸãã ReACT ãã¿ãŒã³ã§ã¯ããšãŒãžã§ã³ãã顧客ã®ã€ã³ããããšèªç±ã«å©çšã§ãã ããŒã« ã«åºã¥ããŠæšè«ãå®è¡ããŸããClaude 2 æèŒãšãŒãžã§ã³ãã«ãžãªã³ãŒãã£ã³ã°æ©èœãæãããããã®ããŒã«ãéçºããŸããããã®ããŒã«ã¯ãAmazon Location Service ã® Places API ã§ SearchPlaceIndexForText ã¡ãœããã䜿çšããŠäœæãå°ç座æšã«å€æããŸãã Agent: Hi ! I'm Agent Smith, your conversational geospatial assistant. How can I assist you today? You: > ? Hello, can you give me the coordinates for 112 E 11th St, Austin, TX 78701 ? Agent: The coordinates for 112 E 11th St, Austin, TX 78701 are longitude -97.740590981087 and latitude 30.274118017533 . Bash ãã®çãããåãã§ããšãŒãžã§ã³ãã¯äœæã®ãžãªã³ãŒãã£ã³ã°ãè§£èªãããžãªã³ãŒãã£ã³ã°ããŒã«ãèµ·åããŠã緯床ãšçµåºŠãè¿ããŸãã ããŒããããã®ãããããäœæã®ãžãªã³ãŒãã£ã³ã°ãè¡ãå Žåã§ããClaude 2 ã React ã Plan and Solve ãªã©ã®ãšãŒãžã§ã³ããšçµã¿åãããããšã§å°ç空éã®ã¯ãŒã¯ãããŒãç°¡çŽ åã§ããŸãã ãã¢ããããã€ãã ãããã€ããã«ã¯ã以äžã®æé ãã芧ãã ããã 以äžã®ãªããžããªãããŒã«ã«ãã·ã³ãŸã㯠EC2 ã€ã³ã¹ã¿ã³ã¹ã«è€è£œããŸãã aws configure --profile <profilename> ãå®è¡ããŠããã©ã«ãã®ãªãŒãžã§ã³ã®èšå®ãå¿
èŠã«ãªãå ŽåããããŸãããã®ã¢ããªã±ãŒã·ã§ã³ã¯ us-east-1 ã䜿çšããŠãã¹ãããŸããã git clone https://github.com/aws-samples/amazon-location-geospatial-agent/ Bash ãªããžããªã®ã¯ããŒã³ãäœæããããç°å¢å€æ°ãèšå®ããŸãã ãã£ã¬ã¯ããªãè€è£œããããããžã§ã¯ããã©ã«ããŒã«å€æŽããŸãã cd amazon-location-geospatial-agent Bash ã奜ã¿ã®ããã¹ããšãã£ã¿ã䜿ã£ãŠ .env ãã¡ã€ã«ãç·šéããŸãã vim .env Bash API ããŒããããåããã¬ãŒã¹ã€ã³ããã¯ã¹åã远å ããŸãã API_KEY_NAME = AgentAPIKey MAP_NAME = AgentMap PLACE_INDEX_NAME = AgentPlaceIndex Bash 以äžã®ã³ãã³ããå®è¡ããŠã³ã³ãããæ§ç¯ããŸãã docker build -t agent . Bash 以äžã®ã³ãã³ããå®è¡ã㊠Docker ã³ã³ãããå®è¡ãæ¥ç¶ããŸãã docker run --rm -it -v ~/.aws:/root/.aws --entrypoint bash agent Bash Airbnb ã®ããŒã¿ã»ãããååŸããŸãã apt install -y wget wget http://data.insideairbnb.com/united-states/ny/new-york-city/2023-10-01/visualisations/listings.csv cp listings.csv data/listings.csv Bash 以äžã®ã³ãã³ããå®è¡ããŠã»ãã·ã§ã³ãäœæããŸãã ã»ãã·ã§ã³ã䜿çšããŠç¬èªã®ãã£ããç°å¢ãåé¢ããŸãã SESSION_ID = "3c18d48c-9c9b-488f-8229-e2e8016fa851" FILE_NAME = "listings.csv" make create-session Bash ããã§ãã¢ããªã±ãŒã·ã§ã³ãèµ·åããæºåãã§ããŸãã 以äžã®ã³ãã³ããå®è¡ããŠãã£ããã¢ããªã±ãŒã·ã§ã³ãèµ·åããŸãã poetry run agent --session-id 3c18d48c-9c9b-488f-8229-e2e8016fa851 --profile < profilename > Bash ãã£ããããã³ããã衚瀺ãããŸãã 以äžã®è³ªåãããŠã¿ãŠãã ããã I've uploaded the file listings.csv. Draw a heatmap of Airbnb listing price. Bash ãšãŒãžã§ã³ã㯠Airbnb_listings_price.csv ãååŸãCSV ãã¡ã€ã«ã /data ãã©ã«ããŒã«ããŠã³ããŒããè§£æããŠå°ç空éããŒã¿ãã¬ãŒã ã«å€æããŸããæ¬¡ã«ãããŒã¿ã倿ããã³ãŒããšèŠèŠåçšã®ã³ãŒããçæããŸãã æåŸã«ã /data ãã©ã«ããŒã«æžã蟌ãŸãã HTML ãã¡ã€ã«ãäœæããŸããHTML ãã¡ã€ã«ããã©ãŠã¶ãŒã§éããšããŒããããã確èªã§ããŸãã å¥ã®äŸã§ã¯ãAmazon Location Service ã® Places API ã䜿çšããŠäœæããžãªã³ãŒãã£ã³ã°ããŠããŸãããšãŒãžã§ã³ãã« 112 E 11th St, Austin, TX 78701 ã®äœæããžãªã³ãŒãã£ã³ã°ããããã«äŸé Œãããšã以äžã®ãããªåçãåŸãããŸãã ãŸãšã ãã®èšäºã§ã¯ãAmazon Bedrock ãš Amazon Location Service ã®æŠèŠãšãããããçµã¿åãããŠå°ç空éããŒã¿ãåæããã³èŠèŠåããæ¹æ³ã«ã€ããŠèª¬æããŸããã ãŸããPlan-and-Solve ãš ReACTããšãŒãžã§ã³ãã«ããäœ¿çšæ¹æ³ã«ã€ããŠã説æããŸããã ç§ãã¡ã®ãµã³ãã«ã¯å
¥éã«éããŸããããµã³ãã«ã³ãŒããããŠã³ããŒãããŠãå°ç空éã¿ã¹ã¯çšã®ç¬èªã®ãšãŒãžã§ã³ããšããŒã«ã远å ããŠã¿ãŠãã ããã èè
Jeff Demuth 㯠2016 幎㫠Amazon Web Services (AWS) ã«å
¥ç€Ÿãããœãªã¥ãŒã·ã§ã³ã¢ãŒããã¯ãã§ãã 圌ã¯å°ç空éã³ãã¥ããã£ã«çŠç¹ãåœãŠãŠãããå°çæ
å ±ã·ã¹ãã ïŒGISïŒãšãã¯ãããžãŒã«æ
ç±ã泚ãã§ããŸãã ä»äºä»¥å€ã§ã¯ãæ
è¡ã Internet of Things (IoT) ã¢ããªã±ãŒã·ã§ã³ã®æ§ç¯ãææ°ã®ã¬ãžã§ããã«è§Šã楜ããã§ããŸãã Swagata Prateek ã¯ãAmazon Web Services (AWS) ã® Amazon Location Service ã§åããŠããã·ãã¢ãœãããŠã§ã¢ãšã³ãžãã¢ã§çæç³» AI ãšå°ç空éã«ã€ããŠéç¹çã«åãçµãã§ããŸãã