$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
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
580
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Documentation Writing (for coders)
carmenintech
77
5.2k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
0
63
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
A Modern Web Designer's Workflow
chriscoyier
698
190k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
Design in an AI World
tapps
0
100
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
170
Optimizing for Happiness
mojombo
379
70k
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