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
48
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
ymn
May 27, 2025
Tweet
Share
More Decks by ymn
See All by ymn
piyopiyo.ex #1 Phoenix install 〜Hello,world! (Windows)
ymn
0
420
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
524
40k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
YesSQL, Process and Tooling at Scale
rocio
173
14k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
960
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
KATA
mclloyd
30
14k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
A better future with KSS
kneath
238
17k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Embracing the Ebb and Flow
colly
86
4.7k
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