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
0
95
Mastra活用|Text-to-SQLの実装と応用
Shota Totsuka
April 15, 2025
Tweet
Share
More Decks by Shota Totsuka
See All by Shota Totsuka
Bedrockでのプロンプト管理戦略
totsukash
3
130
Amazon SageMaker AIでモデル開発からデプロイまで試す
totsukash
2
42
Amazon CodeGuruをGitHubと統合して アプリケーションの品質管理を楽にする
totsukash
0
14
AWS Glueで始めるETLパイプライン
totsukash
0
21
Bedrockでガードレールのフィルターを理解する
totsukash
1
65
Amazon Novaを使用した蒸留
totsukash
2
85
SageMaker AIワークフローのあれこれ紹介
totsukash
1
71
Vertex AIで画像分類タスクのデータセットを準備する
totsukash
0
44
Text-to-SQLで自然言語から構造化データを取得する
totsukash
2
110
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
A better future with KSS
kneath
239
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
It's Worth the Effort
3n
184
28k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
[RailsConf 2023] Rails as a piece of cake
palkan
54
5.5k
How to Ace a Technical Interview
jacobian
276
23k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Designing for humans not robots
tammielis
253
25k
Producing Creativity
orderedlist
PRO
344
40k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
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!