Enhancements Select AIの機能強化 • LLMに送信されるメタデータに表や列のコメントを追加することで、より良いSQL生成ができます。 (本機能は以前から実装されています。) • 実行時には、AIプロファイル作成の際にcommentパラメータをtrueに設定します。 Documentation: Example: Improve SQL Query Generation COMMENT ON TABLE table1 IS 'Contains movies, movie titles and the year it was released'; COMMENT ON COLUMN table1.c1 IS 'movie ids. Use this column to join to other tables’; ・・・ COMMENT ON TABLE table2 IS 'transactions for movie views - also known as streams'; COMMENT ON COLUMN table2.c1 IS 'day the movie was streamed'; tables'; ・・・ COMMENT ON TABLE table3 IS 'Contains the genres'; COMMENT ON COLUMN table3.c1 IS 'genre id. use this column to join to other tables'; COMMENT ON COLUMN table3.c2 IS 'name of the genre'; BEGIN DBMS_CLOUD_AI.CREATE_PROFILE( profile_name => 'myprofile', attributes => '{"provider": "azure", "azure_resource_name": "my_resource", "azure_deployment_name": "my_deployment", "credential_name": "my_credential", "comments":"true", "object_list": [ {"owner": "moviestream", "name": "table1"}, {"owner": "moviestream", "name": "table2"}, {"owner": " moviestream", "name": "table3"} ] }' ); DBMS_CLOUD_AI.SET_PROFILE( profile_name => 'myprofile' ); END; / ▼表や列に対し、コメントを追加 ▼AIプロファイルを作成 2025/6 Serverless