Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Mastra活用|Text-to-SQLの実装と応用
Search
Shota Totsuka
April 15, 2025
1
190
Mastra活用|Text-to-SQLの実装と応用
Shota Totsuka
April 15, 2025
Tweet
Share
More Decks by Shota Totsuka
See All by Shota Totsuka
HITL実装によるマルチエージェント組織の設計パターン
totsukash
0
8
Claude Codeの知らない知識に立ち向かう
totsukash
1
520
Claude Codeの知らない知識、ADK, A2Aを用いた プロダクト開発をClaude Codeで行う
totsukash
0
760
Claude Code で Vibe Coding
totsukash
1
14
MCP, A2Aをプロダクトに組み込んで 開発している話
totsukash
1
15
Bedrockでのプロンプト管理戦略
totsukash
3
170
Amazon SageMaker AIでモデル開発からデプロイまで試す
totsukash
2
53
Amazon CodeGuruをGitHubと統合して アプリケーションの品質管理を楽にする
totsukash
0
20
AWS Glueで始めるETLパイプライン
totsukash
0
75
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
2
220
Mobile First: as difficult as doing things right
swwweet
225
10k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Producing Creativity
orderedlist
PRO
348
40k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
First, design no harm
axbom
PRO
1
1.1k
Believing is Seeing
oripsolob
0
18
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
260
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
130
Transcript
AI Agent 勉強会 #2 2025 04.16 水 12:00-12:30 ONLINE Supported
by Mastra活用 Text-to-SQLの実装と応用
自己紹介 株式会社BLUEISH EM / AI Lead Engineer @totsumaru_dot 戸塚 翔太
普段はLLMアプリケーションの開発をしていま 現在は法人向けAIエージェントプラットフォーム「BLUEISH Agents」 の開発を担当しています
イベントを多数開催しています!
01 Blogの内容を理解する 02 サンプルコードのシステム構成図 03 サンプルコードを動かす & 理解する 04 まとめ
アジェンダ
01 Blogの内容を理解する 02 サンプルコードのシステム構成図 03 サンプルコードを動かす & 理解する 04 まとめ
アジェンダ
Blogの内容を理解する Mastra Text-to-SQL: from natural language to database queries c
https://mastra.ai/blog/txt-to-sq` c Text to SQLのデモページとそのコードの 解説が記載されている
Blogの内容を理解する Mastra: Agentの構成
Blogの内容を理解する Agentの構成
Blogの内容を理解する
Blogの内容を理解する
Blogの内容を理解する
Blogの内容を理解する
Blogの内容を理解する Tool
Blogの内容を理解する Tool
01 Blogの内容を理解する 02 サンプルコードのシステム構成図 03 サンプルコードを動かす & 理解する 04 まとめ
アジェンダ
サンプルコードのシステム構成図 サンプルコード https://github.com/mastra-ai/text-to-sql-example i Next.js(TS, Tailwind CSSA i PostgreSQL(SupabaseA i
Node.js (v20以降)
サンプルコードのシステム構成図
01 Blogの内容を理解する 02 サンプルコードのシステム構成図 03 サンプルコードを動かす & 理解する 04 まとめ
アジェンダ
サンプルコードを動かす & 理解する UIを触ってみる U https://mastra-text-to-sql.vercel.app7 U http://localhost:3000
01 Blogの内容を理解する 02 サンプルコードのシステム構成図 03 サンプルコードを動かす & 理解する 04 まとめ
アジェンダ
所感・まとめ V ぜひ触ってみてください7 V Text to SQLの仕組みは簡# V Mastraではtoolを差し込むだけで、クエリを作成から実行まで簡単にできる
Thank you!