$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
Search
ymn
May 27, 2025
0
62
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
ymn
May 27, 2025
Tweet
Share
More Decks by ymn
See All by ymn
ollama voicevox 3jsでAIアバターを喋らせる
ymn
0
76
piyopiyo.ex #1 Phoenix install 〜Hello,world! (Windows)
ymn
0
440
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Designing for Timeless Needs
cassininazir
0
93
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
850
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
The Curious Case for Waylosing
cassininazir
0
190
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
94
Are puppies a ranking factor?
jonoalderson
0
2.4k
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