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
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
Search
ymn
May 27, 2025
0
64
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
ymn
May 27, 2025
Tweet
Share
More Decks by ymn
See All by ymn
ollama voicevox 3jsでAIアバターを喋らせる
ymn
0
95
piyopiyo.ex #1 Phoenix install 〜Hello,world! (Windows)
ymn
0
440
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How to Talk to Developers About Accessibility
jct
2
140
Google's AI Overviews - The New Search
badams
0
910
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
Exploring anti-patterns in Rails
aemeredith
2
250
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
270
Optimising Largest Contentful Paint
csswizardry
37
3.6k
How GitHub (no longer) Works
holman
316
140k
Transcript
Elixir でローカルLLM +Dify を動かし、MCP が混ざると …
実際に動かしてみる 0:00/ 0:09
LiveView 人間とのインターフェース
Dify LiveView とのインターフェース 開始はLiveView から文章を受け取ります
Dify MCP サーバーとのインターフェース クライアントとしてMCP FunctionCalling を使う
Dify LLM その2
Dify LM-Studio とインターフェース モデルプロバーダー OpenAI-API-compatible
Dify 終了はLiveView から文章を渡します
MCP サーバー MCP サーバー(server-filesystem ) MCP クライアントの指示の元ファイル操作をする MCP サーバーのプロキシ(supergateway) SDTIO(MCP
サーバ) <=> Dify(SSE) に変換 server-filesystem をsupergateway 経由で起動 $ npx -y supergateway --stdio "npx -y @modelcontextprotocol/server-filesystem ~/local/mcp/tmp"
MCP サーバーの検証 npx @modelcontextprotocol/inspector
LM-Studio LLM (Large Language Models )を動かす本体 モデル internlm2_5-20b-chat
LM-Studio ランタイム CUDA llama.cpp (Linux) Vulkan llama.cpp (Linux) でも可能
None