{"id":1694,"date":"2026-08-05T22:03:51","date_gmt":"2026-08-05T22:03:51","guid":{"rendered":"https:\/\/wordpress-site-faagc4bbhqazb7ek.centralus-01.azurewebsites.net\/?page_id=1694"},"modified":"2026-08-05T22:08:09","modified_gmt":"2026-08-05T22:08:09","slug":"ai_sql_agent","status":"publish","type":"page","link":"https:\/\/vykhodtsev.dev\/?page_id=1694","title":{"rendered":"AI SQL Agent"},"content":{"rendered":"\n    <section class=\"aidata-workspace\">\n\n        <!-- Database Explorer: 2\/3 -->\n        <section class=\"aidata-schema-shell\">\n\n            <header class=\"aidata-schema-header\">\n                <div>\n                    <h2>Demo Database<\/h2>\n                    <p>Schema, columns, and sample records<\/p>\n                <\/div>\n\n                <button\n                    id=\"aidata-schema-refresh\"\n                    type=\"button\"\n                >\n                    Refresh\n                <\/button>\n            <\/header>\n\n            <div class=\"aidata-schema-tools\">\n                <label\n                    for=\"aidata-schema-search\"\n                    class=\"screen-reader-text\"\n                >\n                    Search tables and columns\n                <\/label>\n\n                <input\n                    id=\"aidata-schema-search\"\n                    type=\"search\"\n                    placeholder=\"Search tables or columns...\"\n                    autocomplete=\"off\"\n                >\n            <\/div>\n\n            <div\n                id=\"aidata-schema-status\"\n                class=\"aidata-schema-status\"\n            >\n                Loading database schema\u2026\n            <\/div>\n\n            <div\n                id=\"aidata-schema-tree\"\n                class=\"aidata-schema-tree\"\n                aria-live=\"polite\"\n            ><\/div>\n\n        <\/section>\n\n\n        <!-- Chat: 1\/3 -->\n        <section class=\"aidata-chat-shell\">\n\n            <header class=\"aidata-chat-header\">\n                <div class=\"aidata-chat-icon\">\n                    AI\n                <\/div>\n\n                <div class=\"aidata-chat-title\">\n                    <h1>AI SQL Agent<\/h1>\n                    <p>\n                        Ask questions about the demonstration database.\n                    <\/p>\n                <\/div>\n\n                <div class=\"aidata-chat-header-meta\">\n                    <span class=\"aidata-chat-status\">\n                        <span class=\"aidata-status-dot\"><\/span>\n                        Online\n                    <\/span>\n\n                    <span class=\"aidata-chat-user\">\n                        Guest user                    <\/span>\n                <\/div>\n            <\/header>\n\n\t\t\t<div\n\t\t\t\tid=\"aidata-chat-messages\"\n\t\t\t\tclass=\"aidata-chat-messages\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tid=\"aidata-welcome-message\"\n\t\t\t\t\tclass=\"aidata-message aidata-assistant-message aidata-welcome-message\"\n\t\t\t\t>\n\t\t\t\t\t<div class=\"aidata-avatar\">\n\t\t\t\t\t\tAI\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div class=\"aidata-message-content aidata-welcome\">\n\t\t\t\t\t\t<div class=\"aidata-welcome-title\">\n\t\t\t\t\t\t\t<span aria-hidden=\"true\">\ud83d\udc4b<\/span>\n\t\t\t\t\t\t\t<span>Welcome to AI Data Lab<\/span>\n\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t<p class=\"aidata-welcome-text\">\n\t\t\t\t\t\t\tExplore the demo database in plain English.\n\t\t\t\t\t\t\tBrowse the schema on the left, then ask a question.\n\t\t\t\t\t\t<\/p>\n\n\t\t\t\t\t\t<div class=\"aidata-welcome-section\">\n\t\t\t\t\t\t\t<div class=\"aidata-welcome-section-title\">\n\t\t\t\t\t\t\t\tTry asking:\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t<ul class=\"aidata-welcome-list\">\n\t\t\t\t\t\t\t\t<li>Show monthly sales<\/li>\n\t\t\t\t\t\t\t\t<li>Create a revenue chart<\/li>\n\t\t\t\t\t\t\t\t<li>List the top products by revenue<\/li>\n\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"aidata-examples\">\n\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-question=\"What products were sold in July?\"\n\t\t\t\t>\n\t\t\t\t\tJuly sales\n\t\t\t\t<\/button>\n\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-question=\"Which product group generated the most revenue?\"\n\t\t\t\t>\n\t\t\t\t\tTop group\n\t\t\t\t<\/button>\n\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-question=\"Show total sales by month.\"\n\t\t\t\t>\n\t\t\t\t\tMonthly sales\n\t\t\t\t<\/button>\n\n\t\t\t<\/div>\n\n\t\t\t<form\n\t\t\t\tid=\"aidata-chat-form\"\n\t\t\t\tclass=\"aidata-chat-form\"\n\t\t\t>\n\t\t\t\t<label\n\t\t\t\t\tfor=\"aidata-chat-input\"\n\t\t\t\t\tclass=\"screen-reader-text\"\n\t\t\t\t>\n\t\t\t\t\tEnter your question\n\t\t\t\t<\/label>\n\n\t\t\t\t<textarea\n\t\t\t\t\tid=\"aidata-chat-input\"\n\t\t\t\t\trows=\"1\"\n\t\t\t\t\tmaxlength=\"2000\"\n\t\t\t\t\tplaceholder=\"Ask a question about the demo database...\"\n\t\t\t\t\trequired\n\t\t\t\t><\/textarea>\n\n\t\t\t\t<button\n\t\t\t\t\tid=\"aidata-chat-send\"\n\t\t\t\t\ttype=\"submit\"\n\t\t\t\t>\n\t\t\t\t\tSend\n\t\t\t\t<\/button>\n\t\t\t<\/form>\n\n\t\t\t<p class=\"aidata-chat-disclaimer\">\n\t\t\t\tDemonstration environment using synthetic data.\n\t\t\t\tAI responses may contain errors. \n\t\t\t<\/p>\n        <\/section>\n\n    <\/section>\n\n    \n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_zipai_imported":false,"footnotes":""},"class_list":["post-1694","page","type-page","status-publish","hentry"],"spectra_blocks_featured_image_url":null,"spectra_blocks_author_info":{"display_name":"Aleksei","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/198b25ea575ebb3cbd0934cb05fd942d0f256a65d3ff388a161c857e00b092bf?s=96&d=mm&r=g","author_link":"https:\/\/vykhodtsev.dev\/?author=1","description":""},"_links":{"self":[{"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/pages\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1694"}],"version-history":[{"count":4,"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/pages\/1694\/revisions"}],"predecessor-version":[{"id":1700,"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=\/wp\/v2\/pages\/1694\/revisions\/1700"}],"wp:attachment":[{"href":"https:\/\/vykhodtsev.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}