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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shota Totsuka
April 15, 2025
230
1
Share
Mastra活用|Text-to-SQLの実装と応用
Shota Totsuka
April 15, 2025
More Decks by Shota Totsuka
See All by Shota Totsuka
Figma to Codeから Code to Figmaへ
totsukash
0
860
コードレビューはCLAUDE.md/skillsに書け。同じ指摘を繰り返すな。
totsukash
20
19k
HITL実装によるマルチエージェント組織の設計パターン
totsukash
1
91
Claude Codeの知らない知識に立ち向かう
totsukash
1
790
Claude Codeの知らない知識、ADK, A2Aを用いた プロダクト開発をClaude Codeで行う
totsukash
0
1.3k
Claude Code で Vibe Coding
totsukash
1
92
MCP, A2Aをプロダクトに組み込んで 開発している話
totsukash
1
54
Bedrockでのプロンプト管理戦略
totsukash
3
210
Amazon SageMaker AIでモデル開発からデプロイまで試す
totsukash
2
82
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Docker and Python
trallard
47
3.8k
The Spectacular Lies of Maps
axbom
PRO
1
680
Designing Powerful Visuals for Engaging Learning
tmiket
1
330
A better future with KSS
kneath
240
18k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
The World Runs on Bad Software
bkeepers
PRO
72
12k
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
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!