mcpField
N
natural-language-postgres-presentation

natural-language-postgres-presentation

github.com/rebyteai-templateデータ・データベース1753 回インストール19 週間前に更新
リポジトリ

natural-language-postgres-presentation について

PostgreSQL のデータから得た洞察を、スライド形式の可視化で示す自然言語から SQL へのアプリです。Next.js と AI SDK を使用し、PostgreSQL 接続と LLM プロバイダーのキーが必要です。

主な機能

  1. 01自然言語から SQL への変換アプリ
  2. 02PostgreSQL のデータソース
  3. 03プレゼンテーション形式の可視化
  4. 04Next.js と AI SDK を使用

活用シーン

  1. 01自然言語で PostgreSQL データを分析
  2. 02スライド形式でデータの洞察を提示

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/rebyteai-template/rebyte-skills --skill natural-language-postgres-presentation

インストール後、Claude Code で/natural-language-postgres-presentationを入力して読み込まれたか確認します。

詳細

自然言語による Postgres プレゼンテーション

データのインサイトを紹介するための、PPT 形式のビジュアライゼーションを備えたプレゼンテーション向けの自然言語から SQL への変換アプリです。

技術スタック

  • フレームワーク:Next.js
  • AI:AI SDK
  • データベース:PostgreSQL
  • パッケージマネージャー:pnpm

前提条件

  • PostgreSQL データベース
  • OpenAI API キーまたはその他の LLM プロバイダー

セットアップ

1. テンプレートをクローンする
git clone --depth 1 https://github.com/Eng0AI/natural-language-postgres-presentation.git .

ディレクトリが空でない場合:

git clone --depth 1 https://github.com/Eng0AI/natural-language-postgres-presentation.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Git 履歴を削除する(任意)
rm -rf .git
git init
3. 依存関係をインストールする
pnpm install
4. 環境変数を設定する

必要な変数を含む .env を作成します:

  • POSTGRES_URL - PostgreSQL 接続文字列
  • OPENAI_API_KEY またはその他の LLM プロバイダーのキー

ビルド

pnpm build

開発

pnpm dev

コメント