lab_code: demo_423
title_en: Use TiDB as a Unified Storage for AI Apps (OpenAI)
title_zh: 使用 TiDB 作为 AI 应用的统一存储 (OpenAI)
title_ja: AI アプリケーション向け統合ストレージとしてのTiDBの活用 (OpenAI)
title_ko: AI 애플리케이션을 위한 통합 스토리지로서의 TiDB 사용 (OpenAI)
description_en: In the first four modules of this lab, you'll work with multiple
  heterogeneous data stores (such as MySQL, Milvus, and ElasticSearch) to
  address different requirements in a GenAI RAG application. This will require
  several Python packages, allowing you to experience the challenges of
  development and maintenance. In Module 5, you'll use just one Python package -
  pytidb - and one data store - TiDB - as the unified data storage for GenAI.
  Here, you'll see firsthand how much simpler and more efficient it is to power
  your GenAI applications with TiDB.
description_zh: 在本实验的前四个模块中，您将使用多个异构数据存储（如 MySQL、Milvus 和 ElasticSearch）来满足
  GenAI RAG 应用的不同需求。这需要使用多个 Python 包，让您体验开发和维护的挑战。在第五个模块中，您将使用一个 Python 包 -
  pytidb - 和一个数据存储 - TiDB - 作为 GenAI 的统一数据存储。在这里，您将亲眼看到使用 TiDB 为 GenAI
  应用提供动力是多么简单和高效。
description_ja: この演習の最初の 4 つのモジュールでは、MySQL、Milvus、ElasticSearch などの複数の異種データ
  ストアを使用して、GenAI RAG アプリケーションの異なる要件に対応します。これには複数の Python
  パッケージが必要になり、開発と保守の課題を体験できます。第 5 モジュールでは、1 つの Python パッケージ - pytidb - と 1 つのデータ
  ストア - TiDB - を使用して、GenAI の統一データ ストレージを提供します。ここでは、TiDB を使用して GenAI
  アプリケーションを提供することがどれほど簡単で効率的かを実感できます。
description_ko: 이 랩의 첫 번째 4개 모듈에서는 MySQL, Milvus, ElasticSearch 등 여러 이기종 데이터
  스토어를 사용하여 GenAI RAG 애플리케이션의 다양한 요구 사항에 대응합니다. 이를 위해 여러 Python 패키지를 사용하여 개발 및
  유지 관리의 과제를 경험할 수 있습니다. 5번째 모듈에서는 단 하나의 Python 패키지 - pytidb - 와 하나의 데이터 스토어 -
  TiDB - 를 GenAI의 통합 데이터 스토어로 사용합니다. 여기서는 TiDB를 사용하여 GenAI 애플리케이션을 제공하는 것이 얼마나
  간단하고 효율적인지를 직접 확인할 수 있습니다.
splash_image_en: https://lab-static.pingcap.com/quick-demo/Demo_422_SplashImage_20250625.png
splash_image_zh: https://lab-static.pingcap.com/quick-demo/Demo_422_SplashImage_20250625.png
splash_image_ja: https://lab-static.pingcap.com/quick-demo/Demo_422_SplashImage_20250625.png
splash_image_ko: https://lab-static.pingcap.com/quick-demo/Demo_422_SplashImage_20250625.png
lab_level: Intermediate
category_en:
  - TiDB Cloud
  - Generative AI
category_zh:
  - TiDB Cloud
  - 生成式 AI
category_ja:
  - TiDB Cloud
  - 生成 AI
category_ko:
  - TiDB Cloud
  - 생성형 AI
authors:
  - Cheese Wong (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Cloud Starter
target_audience:
  - GenAI Developer
regions:
  aws:
    - singapore
    - frankfurt
credits: 1
credit_redeemable: false
employee_only: true
estimated_duration_minutes: 120

topology:
  - role: monitor
    node_count: 1
    ssh_user: ubuntu
    https_reverse_proxy: true

requirements:
  - type: CloudStack
  - type: TiDBServerlessCluster

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

features:
  enable_content_explain: false
