Upgrade to Pro — share decks privately, control downloads, hide ads and more …

NLWeb深掘ってみた

 NLWeb深掘ってみた

NLWebについて現時点で調査したこと。今後の予想など

Avatar for sniper_fly

sniper_fly

May 27, 2025

Other Decks in Technology

Transcript

  1. 自己紹介 中井 亮 経歴 EC, SaaSの開発 ISUCON 最近はAI関連技術に興味がある 趣味 アニメ

    今季のイチオシ「忍者と殺し屋のふたりぐらし」 Github: @sniper-fly
  2. そもそもMCPとは? 以下のようなフォーマットのリクエストを MCPサーバーに送って通信 { jsonrpc: "2.0"; id: string | number;

    method: string; params?: { [key: string]: unknown; }; } JSON-RPCプロトコル 標準入出力を使ったシンプルなプロセス間通信(ローカルの場合)
  3. 技術的な特徴 (GET or POST) /ask , POST /mcp エンドポイントを持つ。 ウェブサイト側は、既存のRSSやSchema.orgを活用してベクトルデータベースを

    用意する LLMは、ウェブサイトが自由に選択して良い 現状のNLWebのサンプル実装はMCPのプロトコルに準拠していない POSTリクエストのボディに必要なパラメータを載せたり、クエリパラメータを使 って通信する模様
  4. 参考文献 Introducing NLWeb: Bringing conversational interfaces direct... (https://news.microsoft.com/source/features/company-news/introducing- nlweb-bringing-conversational-interfaces-directly-to-the-web/) GitHub

    - microsoft/NLWeb: Natural Language Web (https://github.com/microsoft/NLWeb) Messages - Model Context Protocol (https://modelcontextprotocol.io/specification/2024-11-05/basic/messages)