{"id":16085,"date":"2024-03-22T12:11:10","date_gmt":"2024-03-22T19:11:10","guid":{"rendered":"https:\/\/www.pingcap.com\/?p=16085"},"modified":"2024-06-06T21:59:17","modified_gmt":"2024-06-07T04:59:17","slug":"building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service","status":"publish","type":"post","link":"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/","title":{"rendered":"Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service"},"content":{"rendered":"<p>To navigate the dynamic cryptocurrency market, investors always look for a sophisticated crypto ETF insights app that provide them with the necessary insights. Traditional price-tracking websites like CoinMarketCap offer a snapshot of the market. Yet, they often present challenges, particularly when investors seek deeper, personalized insights from an overwhelming volume of data.&nbsp;&nbsp;<\/p>\n\n\n\n<p>This tutorial delves into building an AI-powered crypto ETF insights app using <a href=\"https:\/\/docs.pingcap.com\/tidbcloud\/data-service-overview\">TiDB Cloud Data Service (TCDS),<\/a> a fully-managed, low-code backend-as-a-service solution, and OpenAI&#8217;s generative pre-trained transformers (GPTs). We&#8217;ll explore how to harness the power of these technologies to create a user-friendly and adaptive tool that empowers investors to gain deeper insights into potential ETF stars within the ever-evolving crypto landscape.<\/p>\n\n\n\n<p><strong>NOTE<\/strong>: The tool developed in this series is for illustrative purposes only and doesn&#8217;t guarantee real-time trading prices. Its <strong>primary <\/strong>focus lies in showcasing the potential of AI-driven data analysis techniques, not providing actionable trading advice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites_for_Building_a_Crypto_ETF_Insights_App\"><\/span>Prerequisites for Building a Crypto ETF Insights App<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before you begin, you will need to set up the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tidbcloud.com\/free-trial\/\">TiDB Cloud account<\/a> and a free Serverless Tier cluster on TiDB Cloud. For details, see<a href=\"https:\/\/docs.pingcap.com\/tidbcloud\/tidb-cloud-quickstart#step-1-create-a-tidb-cluster\"> TiDB Cloud Quick Start<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.python.org\/downloads\/\">Python 3<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Getting-Started-Installing-Git\">Git<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/openai.com\/\">OpenAI account<\/a> with Plus Plan.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Set_Up_Your_Data_Environment\"><\/span>Set Up Your Data Environment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this section, we guide you through establishing your data groundwork. You will create a<code> crypto_demo<\/code> database and a<code> crypto_trends<\/code> table within the database. Furthermore, you will import the pricing information for the top 5 trending cryptocurrencies<em> <\/em>over the last two years into the <code>crypto_trends<\/code> table.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"GetDatabaseInfo\"><strong>Get Database Connection Info<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the TiDB Serverless cluster console, navigate to the cluster overview page and click the <strong>Connect<\/strong> button on the top right corner.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"417\" class=\"wp-image-16086\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-1024x417.png\" alt=\"\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-1024x417.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-300x122.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-768x312.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-1536x625.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16-1440x586.png 1440w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200125\/image-16.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n\n\n\n<li>Find the database connection parameters on the connections info page under the <strong>Parameters<\/strong> tab.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"995\" class=\"wp-image-16087\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17-1024x995.png\" alt=\"\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17-1024x995.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17-300x291.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17-768x746.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17-1440x1399.png 1440w, https:\/\/static.pingcap.com\/files\/2024\/03\/20200657\/image-17.png 1464w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n<\/ol>\n\n\n\n<p><em><strong>Note<\/strong>: TiDB Serverless does not have a password by default. You must click the <strong>Generate Password<\/strong> button to create a new one.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Configure &amp; Load Crypto Currency Data<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Clone the project repository by executing the following command in your terminal (or command prompt for Windows users):<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/tidbcloud\/ccxt-web3-bot.git\n<\/code><\/pre><\/li>\n\n\n\n<li>Navigate to the project\u2019s root directory ccxt-web3-bot:<pre class=\"wp-block-code\"><code>cd ccxt-web3-bot <\/code><\/pre><\/li>\n\n\n\n<li>Install the project dependencies listed in requirements.txt:<pre class=\"wp-block-code\"><code>python3 -m pip install -r requirements.txt<\/code><\/pre><\/li>\n\n\n\n<li>Open the config.json file in the editor of your choice. We&#8217;re using \u2018vi\u2019 in the example.&nbsp; Enter the connection information obtained in the<a href=\"#GetDatabaseInfo\"> previous step<\/a> and save the file.<pre class=\"wp-block-code\"><code> % vi config.json {     \"db_host\":\"<tidb_cluster_host>\",     \"db_port\": 4000,     \"db_user\": \"<tidb_cluster_user>\",     \"db_password\" : \"<tidb_cluster_password>\" } <\/tidb_cluster_password><\/tidb_cluster_user><\/tidb_cluster_host><\/code><\/pre><\/li>\n\n\n\n<li>In your terminal window, execute the following command to create the target data and table and import the dataset:  <pre class=\"wp-block-code\"><code> python3 .\/main.py&nbsp; <\/code><\/pre><\/li>\n<\/ol>\n\n\n\n<p>The above command creates the <code>crypto_demo<\/code> database and a <code>crypto_trends<\/code> table. It will also import the data for the top 5 cryptocurrency price trends from the last two years into the database. Upon completion, you will see a confirmation message in the terminal indicating the successful data import.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_a_Data_App\"><\/span><strong>Create a Data App<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step, we&#8217;ll set up a Data App within TiDB Cloud Data Service. A Data App acts as a framework for organizing your backend services, enabling the generation of REST endpoints to interact efficiently with your imported cryptocurrency data. <\/p>\n\n\n\n<p>To create a Data App:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to the TiDB Cloud console, select <strong>Data Service <\/strong>from the left navigation menu, and click the <strong>Create Data App<\/strong> button.<\/li>\n\n\n\n<li>Configure a standard data app as below:\n<ul class=\"wp-block-list\">\n<li><strong>App Name<\/strong>: Enter web3-demo in the <strong>Data App Name<\/strong> field.<\/li>\n\n\n\n<li><strong>Data Sources<\/strong>: Select a cluster to associate with your app. For this example, choose \u201cCluster2\u201d.<\/li>\n\n\n\n<li><strong>Description<\/strong>: Write \u201cApp for retrieving cryptocurrency prices\u201d.<\/li>\n\n\n\n<li><strong>Data App Type<\/strong>: Leave the field at its default setting.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click the <strong>Create<\/strong> button to finalize the Data App creation. You\u2019ll be redirected to the<strong> Data App Home<\/strong> page.&nbsp;<\/li>\n<\/ol>\n\n\n\n<p>A Getting Started with Data Service tutorial will pop up for first-time users. However, for this tutorial, we\u2019ll ignore it and proceed to detail how to manually create the endpoints for your app.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_HTTPS_GET_Endpoints\"><\/span><strong>Create HTTPS GET Endpoints<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This section guides you through setting up the required <strong>HTTPS GET<\/strong> endpoints. We recommend exploring our previous blog post \u2013 <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/building-a-data-driven-backend-with-data-service\/\">Mastering TiDB Cloud Data Service<\/a> \u2013 for enthusiasts eager to dive deeper into endpoint creation and management.&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>GET \/list_cryptos<\/strong><\/h3>\n\n\n\n<p>The <code><strong>GET \/list_cryptos<\/strong><\/code><strong> <\/strong>endpoint<strong> <\/strong>lists all cryptocurrencies. Follow the steps below to create the endpoint:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left navigation bar of the web3-demo app, click the \u201c+\u201d symbol and select the <strong>Create Endpoint<\/strong> option.<\/li>\n\n\n\n<li>Navigate to the <strong>Properties<\/strong> tab to<strong> <\/strong>configure the endpoint properties:\n<ul class=\"wp-block-list\">\n<li><strong>Path<\/strong>: Enter <code>\/list_cryptos<\/code> to define the endpoint&#8217;s access path.<\/li>\n\n\n\n<li><strong>Request Method<\/strong>: Set to GET to specify the type of request this endpoint handles.<\/li>\n\n\n\n<li><strong>Endpoint Name<\/strong>: Automatically generated based on the path value by default. Ensure it accurately reflects the endpoint&#8217;s function.<\/li>\n\n\n\n<li><strong>Description<\/strong>: Enter a brief description such as &#8220;lists all available cryptos.&#8221;&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Configure the SQL that defines the business logic for the endpoint: <pre class=\"wp-block-code\"><code>SELECT DISTINCT crypto FROM crypto_demo.crypto_trends;<\/code><\/pre><\/li>\n\n\n\n<li>Deploy your endpoints to make them accessible to external clients:  \n<ol class=\"wp-block-list\">\n<li>Click on the endpoint to open its details.&nbsp;<\/li>\n\n\n\n<li>On the top-right corner, click the <strong>Deploy<\/strong> button. A <strong>Review Change<\/strong> dialog pops up.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"436\" class=\"wp-image-16116\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-1024x436.png\" alt=\"\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-1024x436.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-300x128.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-768x327.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-1536x655.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-2048x873.png 2048w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071309\/image-30-1440x614.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n\n\n\n<li>Perform a final review of the endpoint configurations.<\/li>\n\n\n\n<li>Click the <strong>Deploy <\/strong>button again to publish the endpoint.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-1024x542.png\" alt=\"\" class=\"wp-image-16117\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-1024x542.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-300x159.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-768x407.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-1536x813.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-2048x1084.png 2048w, https:\/\/static.pingcap.com\/files\/2024\/03\/21071352\/image-31-1440x762.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>GET \/trading_data_by_crypto<\/strong><\/h3>\n\n\n\n<p>The <strong><code>GET \/trading_data_by_crypto<\/code><\/strong> endpoint retrieves the pricing trend data for a specific cryptocurrency and data range. Follow similar steps as the <code>GET <strong>\/list_cryptos<\/strong><\/code><strong> <\/strong>endpoint:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Initiate the endpoint creation.<\/li>\n\n\n\n<li>Configure the endpoint properties:\n<ul class=\"wp-block-list\">\n<li><strong>Path<\/strong>: Enter \/trading_data_by_crypto&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Request Method<\/strong>: Set to GET as the method&nbsp;<\/li>\n\n\n\n<li><strong>Endpoint Name<\/strong>: Automatically generated<\/li>\n\n\n\n<li><strong>Description<\/strong>: Type &#8220;Retrieve crypto&#8217;s pricing trend data&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Configure SQL:\n<pre class=\"wp-block-code\"><code>SELECT * FROM crypto_demo.crypto_trends\nWHERE `crypto` = ${crypto} and \n`time` between ${start_datetime} and ${end_datetime};\n<\/code><\/pre><\/li>\n\n\n\n<li>Repeat the deployment process as you did with the <code>GET <strong>\/list_cryptos<\/strong><\/code><strong> <\/strong>endpoint to publish the endpoint.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Integrate_DataApp_with_GPTs\"><\/span><strong>Integrate DataApp with GPTs<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Integrating Endpoints with GPTs requires API documentation in JSON or YAML format and an encoded API key to access the endpoints.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"GPTConfig\"><strong>Get Configuration for GPT Integration<\/strong><\/h3>\n\n\n\n<p>TCDS provides a configuration tile within the Data App home page to access GPT&#8217;s integration-related information. To obtain the configuration:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left navigation panel of the TCDS interface, click on the Data App name (in our case, it&#8217;s <code>web3-demo<\/code>). Then, click the <strong>Get Configuration button<\/strong> in the Integration with GPTs tile on the right. <figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21015707\/image-19-1024x318.png\" alt=\"\" class=\"wp-image-16089\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21015707\/image-19-1024x318.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21015707\/image-19-300x93.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21015707\/image-19-768x238.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21015707\/image-19.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n\n\n\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">In the <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Integrate with GPTs<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> pop-up window:<\/span> \n<ol class=\"wp-block-list\">\n<li>Copy the A<strong>PI Specification URL<\/strong> for the next step. This is the URL of the API Documentation<\/li>\n\n\n\n<li>Click the <strong>Create API Key<\/strong> button to generate a new API Key. This also automatically creates an encoded API key.<\/li>\n\n\n\n<li>Copy the <strong>API Key Encoded <\/strong>value for the next step.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Create &amp; Configure the GPT<\/strong><\/h3>\n\n\n\n<p>You can integrate your Data App&#8217;s endpoints with GPT using the API documentation URL and encoded API key.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to your ChatGPT, select the <strong>Explore GPTs <\/strong>option, and then hit the <strong>Create<\/strong> button on the right to start setting up the GPT. <p><strong>Note<\/strong>: This feature is only available for ChatGPT Plus users.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"457\" class=\"wp-image-16090\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-1024x457.png\" alt=\"\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-1024x457.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-300x134.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-768x343.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-1536x685.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20-1440x643.png 1440w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020303\/image-20.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n\n\n\n<li>Set up common parameters for this GPT application in the <strong>Configure <\/strong>tab. In the <strong>Create <\/strong>tab, you can prompt ChatGPT to generate these automatically.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"817\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-1024x817.png\" alt=\"\" class=\"wp-image-16091\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-1024x817.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-300x239.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-768x613.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-1536x1226.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21-1440x1149.png 1440w, https:\/\/static.pingcap.com\/files\/2024\/03\/21020440\/image-21.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n\n\n\n<li>Click the <strong>Create new action<\/strong> button located at the bottom of the page. The <strong>Add Actions <\/strong>window pops up.&nbsp;<\/li>\n\n\n\n<li>In the <strong>Add Actions <\/strong>window, configure the action as instructed below: \n<ol class=\"wp-block-list\">\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Click the<\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> Import from URL<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> button, paste the<\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> API Specification URL<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> you obtained in the <\/span><a style=\"font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\" href=\"#GPTConfig\">GET Configuration for GPTs Integration<\/a><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> step, and then click the <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Import<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> button. This automatically populates the API documentation into the <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Schema<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> field.<\/span><\/li>\n\n\n\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Click the gear icon on the right of the <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Authentication<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> section. The <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Authentication<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> configuration window pops up.<\/span><\/li>\n\n\n\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Configure the Authentication: <\/span>\n<ul class=\"wp-block-list\">\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Set <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Authentication Type <\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">as the API Key<\/span><\/li>\n\n\n\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Paste the encoded API key you obtained earlier in the <\/span><a href=\"#GetConfig\">Access Configuration for GPTs Integration<\/a><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> step.<\/span><\/li>\n\n\n\n<li><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Click the <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">Save<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\"> button to save the Authentication configuration.<\/span><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"807\" class=\"wp-image-16092\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21021115\/image-22-1024x807.png\" alt=\"\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21021115\/image-22-1024x807.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21021115\/image-22-300x236.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21021115\/image-22-768x605.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21021115\/image-22.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>As the final step, click the <strong>Save<\/strong> button at the top-right corner of the interface, choose<strong> Only me<\/strong> as the publish type, and click the<strong> Confirm<\/strong> button to publish the GPT.<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"217\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21072056\/image-33.png\" alt=\"\" class=\"wp-image-16121\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21072056\/image-33.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21072056\/image-33-300x64.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21072056\/image-33-768x163.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n<\/ol>\n\n\n\n<p>With your GPT set up and integrated with the Data App, let\u2019s test its functionality with a simple question.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"615\" src=\"https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-1024x615.png\" alt=\"\" class=\"wp-image-16429\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-1024x615.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-300x180.png 300w, https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-768x462.png 768w, https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-1536x923.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions-1440x865.png 1440w, https:\/\/static.pingcap.com\/files\/2024\/04\/23192547\/GPTs-in-actions.png 1604w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As you can see, the GPT attempted to query the REST endpoints and provided us with the list of 5 cryptocurrencies available for analysis. If you have followed along and seen a similar result, congratulations! You can now use this tool to explore cryptocurrency insights and potential trading trends.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"GPT_in_Action_%E2%80%93_Test_Out_Your_Crypto_ETF_Insights_App\"><\/span>GPT in Action \u2013 Test Out Your Crypto ETF Insights App<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, it\u2019s time to put our GPT in action. As a newcomer in the Web3 community, you might be curious about potential cryptocurrencies for investment and the optimal purchase price. Let&#8217;s now discuss the three questions that may provide the necessary insights for you.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Question 1: Now that we have the available cryptos, can you compare the volatility of all cryptos side-by-side? Please plot them in a chart.<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21022527\/GPT-in-actions-Volatility-1024x683.gif\" alt=\"Crypto ETF insights app sample response.\" class=\"wp-image-16093\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21022527\/GPT-in-actions-Volatility-1024x683.gif 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21022527\/GPT-in-actions-Volatility-300x200.gif 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21022527\/GPT-in-actions-Volatility-768x512.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>GPT approached the query in the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Data retrieval<\/strong>: Fetching the necessary data using DataService API, specifically focusing on historical price data for the cryptocurrencies.<\/li>\n\n\n\n<li><strong>Analysis<\/strong>: Processing this data to calculate volatility, typically measured as the standard deviation of daily returns over a specified period.<\/li>\n\n\n\n<li><strong>Visualization<\/strong>: Generating Python code that leverages libraries like Matplotlib or Seaborn to create a bar chart visualizing the volatility of each cryptocurrency.<\/li>\n<\/ol>\n\n\n\n<p>The resultant bar chart depicts the relative volatility of BNB, BTC, ETH, SOL, and XRP, offering insights into their risk profiles. Cryptocurrencies with higher volatility, indicated by taller bars, suggest larger price swings, potentially higher investment risk, and greater opportunities for return. Based on this, we can safely assume that BTC and ETH could be the safest bets.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Question 2: Based on historical volatility analysis, what are the potential minimum and maximum price swings we could see within the next 6 months? Please plot it on a bar chart.<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21022602\/GPTs-in-Action-volatality-prediction-1024x683.gif\" alt=\"Crypto ETF insights app sample response.\" class=\"wp-image-16095\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21022602\/GPTs-in-Action-volatality-prediction-1024x683.gif 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21022602\/GPTs-in-Action-volatality-prediction-300x200.gif 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21022602\/GPTs-in-Action-volatality-prediction-768x512.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here\u2019s how GPT approaches the question<em>:<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Assumption of historical continuity: <\/strong>Assuming that future volatility mirrors historical patterns despite the limitations of this approach in financial forecasting.<\/li>\n\n\n\n<li><strong>Calculation of swings:<\/strong> Historical volatility is used to estimate potential minimum and maximum price changes over the next six months.<\/li>\n\n\n\n<li><strong>Charting predictions: <\/strong>Visualizing these predictions in a bar chart<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Question 3: Based on the above analysis, what could be a potential cryptocurrency to invest in, and at what price point?<\/strong><\/h4>\n\n\n\n<p>In addressing this question, GPT does the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Factor analysis:<\/strong> Begin by analyzing key factors that influence cryptocurrency potential, focusing on a balance between stability and potential for growth. <img decoding=\"async\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21022952\/image-25.png\" alt=\"\"><\/li>\n\n\n\n<li><strong>Recommendation:<\/strong> Based on these analyses, GPT highlights ETH and XRP as cryptocurrencies that effectively balance risk and reward, suggesting them as potential investment opportunities.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21023309\/image-29-1024x494.png\" alt=\"\" class=\"wp-image-16101\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21023309\/image-29-1024x494.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/03\/21023309\/image-29-300x145.png 300w, https:\/\/static.pingcap.com\/files\/2024\/03\/21023309\/image-29-768x371.png 768w, https:\/\/static.pingcap.com\/files\/2024\/03\/21023309\/image-29.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure> <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Integrating AI through GPTs and TCDS represents a significant leap forward in the efficiency and effectiveness of developing AI and data-driven applications like the crypto ETF insights app featured in this post. By harnessing the power of GPTs for data retrieval, analysis, and visualization, developers can quickly derive meaningful insights from vast datasets, turning raw data into actionable intelligence with minimal effort.<\/p>\n\n\n\n<p>TCDS is poised to play a pivotal role in diverse scenarios of AI and data-driven applications. With its generous free quota offer and the frictionless developer experience of<a href=\"https:\/\/tidbcloud.com\/free-trial\/\"> TiDB Serverless<\/a>, we strongly encourage you to explore TCDS to unveil its convenience and benefits for application development.<\/p>","protected":false},"excerpt":{"rendered":"<p>To navigate the dynamic cryptocurrency market, investors always look for a sophisticated crypto ETF insights app that provide them with the necessary insights. Traditional price-tracking websites like CoinMarketCap offer a snapshot of the market. Yet, they often present challenges, particularly when investors seek deeper, personalized insights from an overwhelming volume of data.&nbsp;&nbsp; This tutorial delves [&hellip;]<\/p>\n","protected":false},"author":263,"featured_media":16104,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[13],"tags":[163,249,208],"class_list":["post-16085","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-app-developer","tag-data-service","tag-tidb-serverless"],"acf":[],"featured_image_src":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg","author_info":{"display_name":"Bing Wang","author_link":"https:\/\/www.pingcap.com\/ko\/blog\/author\/wangbing\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Crypto ETF Insights App: Building AI-Powered Solutions with TiDB<\/title>\n<meta name=\"description\" content=\"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Crypto ETF Insights App: Building AI-Powered Solutions with TiDB\" \/>\n<meta property=\"og:description\" content=\"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\" \/>\n<meta property=\"og:site_name\" content=\"TiDB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/pingcap2015\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T19:11:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-07T04:59:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063320\/TCDS-Crypto-ETF-Insights-social.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1875\" \/>\n\t<meta property=\"og:image:height\" content=\"938\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Bing Wang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063320\/TCDS-Crypto-ETF-Insights-social.jpeg\" \/>\n<meta name=\"twitter:creator\" content=\"@PingCAP\" \/>\n<meta name=\"twitter:site\" content=\"@PingCAP\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bing Wang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\"},\"author\":{\"name\":\"Bing Wang\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/6da125143676f655748d0a8380a0a4d6\"},\"headline\":\"Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service\",\"datePublished\":\"2024-03-22T19:11:10+00:00\",\"dateModified\":\"2024-06-07T04:59:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\"},\"wordCount\":1829,\"publisher\":{\"@id\":\"https:\/\/www.pingcap.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg\",\"keywords\":[\"App Developer\",\"Data Service\",\"TiDB Serverless\"],\"articleSection\":[\"Product\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\",\"url\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\",\"name\":\"Crypto ETF Insights App: Building AI-Powered Solutions with TiDB\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg\",\"datePublished\":\"2024-03-22T19:11:10+00:00\",\"dateModified\":\"2024-06-07T04:59:17+00:00\",\"description\":\"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage\",\"url\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg\",\"width\":1875,\"height\":625},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pingcap.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pingcap.com\/#website\",\"url\":\"https:\/\/www.pingcap.com\/\",\"name\":\"TiDB\",\"description\":\"TiDB | SQL at Scale\",\"publisher\":{\"@id\":\"https:\/\/www.pingcap.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pingcap.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pingcap.com\/#organization\",\"name\":\"PingCAP\",\"url\":\"https:\/\/www.pingcap.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png\",\"width\":811,\"height\":232,\"caption\":\"PingCAP\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/pingcap2015\",\"https:\/\/x.com\/PingCAP\",\"https:\/\/linkedin.com\/company\/pingcap\",\"https:\/\/youtube.com\/channel\/UCuq4puT32DzHKT5rU1IZpIA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/6da125143676f655748d0a8380a0a4d6\",\"name\":\"Bing Wang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21061748\/wangbing-150x150.jpeg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/03\/21061748\/wangbing-150x150.jpeg\",\"caption\":\"Bing Wang\"},\"url\":\"https:\/\/www.pingcap.com\/ko\/blog\/author\/wangbing\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Crypto ETF Insights App: Building AI-Powered Solutions with TiDB","description":"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/","og_locale":"ko_KR","og_type":"article","og_title":"Crypto ETF Insights App: Building AI-Powered Solutions with TiDB","og_description":"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.","og_url":"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/","og_site_name":"TiDB","article_publisher":"https:\/\/facebook.com\/pingcap2015","article_published_time":"2024-03-22T19:11:10+00:00","article_modified_time":"2024-06-07T04:59:17+00:00","og_image":[{"width":1875,"height":938,"url":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063320\/TCDS-Crypto-ETF-Insights-social.jpeg","type":"image\/jpeg"}],"author":"Bing Wang","twitter_card":"summary_large_image","twitter_image":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063320\/TCDS-Crypto-ETF-Insights-social.jpeg","twitter_creator":"@PingCAP","twitter_site":"@PingCAP","twitter_misc":{"Written by":"Bing Wang","Est. reading time":"9\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#article","isPartOf":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/"},"author":{"name":"Bing Wang","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/6da125143676f655748d0a8380a0a4d6"},"headline":"Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service","datePublished":"2024-03-22T19:11:10+00:00","dateModified":"2024-06-07T04:59:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/"},"wordCount":1829,"publisher":{"@id":"https:\/\/www.pingcap.com\/#organization"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg","keywords":["App Developer","Data Service","TiDB Serverless"],"articleSection":["Product"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/","url":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/","name":"Crypto ETF Insights App: Building AI-Powered Solutions with TiDB","isPartOf":{"@id":"https:\/\/www.pingcap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg","datePublished":"2024-03-22T19:11:10+00:00","dateModified":"2024-06-07T04:59:17+00:00","description":"Discover how to build an AI-powered crypto ETF insights app using GPTs from OpenAI and TiDB Cloud Data Service.","breadcrumb":{"@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#primaryimage","url":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg","contentUrl":"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg","width":1875,"height":625},{"@type":"BreadcrumbList","@id":"https:\/\/www.pingcap.com\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pingcap.com\/"},{"@type":"ListItem","position":2,"name":"Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service"}]},{"@type":"WebSite","@id":"https:\/\/www.pingcap.com\/#website","url":"https:\/\/www.pingcap.com\/","name":"\ud2f0DB","description":"TiDB | SQL at Scale","publisher":{"@id":"https:\/\/www.pingcap.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pingcap.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.pingcap.com\/#organization","name":"PingCAP","url":"https:\/\/www.pingcap.com\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/","url":"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png","contentUrl":"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png","width":811,"height":232,"caption":"PingCAP"},"image":{"@id":"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/pingcap2015","https:\/\/x.com\/PingCAP","https:\/\/linkedin.com\/company\/pingcap","https:\/\/youtube.com\/channel\/UCuq4puT32DzHKT5rU1IZpIA"]},{"@type":"Person","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/6da125143676f655748d0a8380a0a4d6","name":"Bing Wang","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/","url":"https:\/\/static.pingcap.com\/files\/2024\/03\/21061748\/wangbing-150x150.jpeg","contentUrl":"https:\/\/static.pingcap.com\/files\/2024\/03\/21061748\/wangbing-150x150.jpeg","caption":"Bing Wang"},"url":"https:\/\/www.pingcap.com\/ko\/blog\/author\/wangbing\/"}]}},"grav_blocks":false,"card_markup":"<a class=\"card-resource bg-white\" href=\"https:\/\/www.pingcap.com\/ko\/blog\/building-ai-powered-crypto-etf-insights-app-gpts-tidb-cloud-data-service\/\"><div class=\"card-resource__image-container\"><img class=\"card-resource__image\" alt=\"TCDS-Crypto ETF Insights banner\" src=\"https:\/\/static.pingcap.com\/files\/2024\/03\/21063249\/TCDS-Crypto-ETF-Insights-banner.jpeg\" loading=\"lazy\" width=1875 height=625 \/><\/div><div class=\"card-resource__content-container\"><div class=\"card-resource__content-head\"><div class=\"card-resource__category\">Product<\/div><\/div><h5 class=\"card-resource__title\">Building an AI-Powered Crypto ETF Insights App with GPTs and TiDB Cloud Data Service<\/h5><\/div><\/a>","_links":{"self":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/16085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/users\/263"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/comments?post=16085"}],"version-history":[{"count":25,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/16085\/revisions"}],"predecessor-version":[{"id":17569,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/16085\/revisions\/17569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media\/16104"}],"wp:attachment":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media?parent=16085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/categories?post=16085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/tags?post=16085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}