Files
2025-05-29 21:19:47 +08:00

1 line
8.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"id":"7e61502f-7da6-4650-9161-6a92f2bf6ed7","revision":0,"last_node_id":17,"last_link_id":26,"nodes":[{"id":14,"type":"MultiLinePromptAT","pos":[499.1977233886719,694.01416015625],"size":[423.36444091796875,390.6542053222656],"flags":{},"order":0,"mode":4,"inputs":[{"localized_name":"multi_line_prompt","name":"multi_line_prompt","type":"STRING","widget":{"name":"multi_line_prompt"},"link":null}],"outputs":[{"localized_name":"prompt","name":"prompt","type":"STRING","links":[25]}],"properties":{"Node name for S&R":"MultiLinePromptAT"},"widgets_values":["Introduction to Model Context Protocol (MCP)\nWelcome to Unit 1 of the MCP Course! In this unit, we’ll explore the fundamentals of Model Context Protocol.\n\nWhat You Will Learn\nIn this unit, you will:\n\nUnderstand what Model Context Protocol is and why it’s important\nLearn the key concepts and terminology associated with MCP\nExplore the integration challenges that MCP solves\nWalk through the key benefits and goals of MCP\nSee a simple example of MCP integration in action\nBy the end of this unit, you’ll have a solid understanding of the foundational concepts of MCP and be ready to dive deeper into its architecture and implementation in the next unit.\n\nImportance of MCP\nThe AI ecosystem is evolving rapidly, with Large Language Models (LLMs) and other AI systems becoming increasingly capable. However, these models are often limited by their training data and lack access to real-time information or specialized tools. This limitation hinders the potential of AI systems to provide truly relevant, accurate, and helpful responses in many scenarios.\n\nThis is where Model Context Protocol (MCP) comes in. MCP enables AI models to connect with external data sources, tools, and environments, allowing for the seamless transfer of information and capabilities between AI systems and the broader digital world. This interoperability is crucial for the growth and adoption of truly useful AI applications.\n\nOverview of Unit 1\nHere’s a brief overview of what we’ll cover in this unit:\n\nWhat is Model Context Protocol? - We’ll start by defining what MCP is and discussing its role in the AI ecosystem.\nKey Concepts - We’ll explore the fundamental concepts and terminology associated with MCP.\nIntegration Challenges - We’ll examine the problems that MCP aims to solve, particularly the “M×N Integration Problem.”\nBenefits and Goals - We’ll discuss the key benefits and goals of MCP, including standardization, enhanced AI capabilities, and interoperability.\nSimple Example - Finally, we’ll walk through a simple example of MCP integration to see how it works in practice.\nLet’s dive in and explore the exciting world of Model Context Protocol!"]},{"id":3,"type":"PreviewAny","pos":[1206.977783203125,194.64500427246094],"size":[342.8037109375,401.233642578125],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":22}],"outputs":[],"properties":{"Node name for S&R":"PreviewAny"},"widgets_values":[]},{"id":15,"type":"PreviewAny","pos":[1221.704833984375,701.2899780273438],"size":[342.8037109375,401.233642578125],"flags":{},"order":4,"mode":4,"inputs":[{"localized_name":"source","name":"source","type":"*","link":26}],"outputs":[],"properties":{"Node name for S&R":"PreviewAny"},"widgets_values":[]},{"id":2,"type":"MultiLinePromptAT","pos":[484.4703674316406,187.36920166015625],"size":[423.36444091796875,390.6542053222656],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"multi_line_prompt","name":"multi_line_prompt","type":"STRING","widget":{"name":"multi_line_prompt"},"link":null}],"outputs":[{"localized_name":"prompt","name":"prompt","type":"STRING","links":[21]}],"properties":{"Node name for S&R":"MultiLinePromptAT"},"widgets_values":["模型上下文协议(MCP)\n欢迎进入MCP课程的第一单元! 在本单元中,我们将探讨模型上下文协议的基本原理。\n\n你将学到什么\n在这个单元中,您将:\n\n了解什么是模型上下文协议以及为什么它很重要\n了解与MCP相关的关键概念和术语\n探索 MCP 解决的集成挑战\n了解MCP的主要优点和目标\n请参阅 MCP 集成在操作中的简单示例\n在本单元结束时,您将对MCP的基本概念有深入的理解,并准备在下一个单元中深入研究其架构和实现。\n\nMCP的重要性\n人工智能生态系统正在迅速发展,大型语言模型(LLM)和其他人工智能系统的能力越来越强。 但是,这些模型往往受到训练数据的限制,并且无法获取实时信息或专业工具。 这一限制阻碍了AI系统在很多场景中提供真正相关、准确和有用的响应的潜力。\n\n这就是模型上下文协议(MCP)的出现。MCP使人工智能模型能够与外部数据源、工具和环境连接,从而在人工智能系统和更广泛的数字世界之间无缝传输信息和功能。 这种互操作性对于真正有用的AI应用程序的增长和采用至关重要。\n\n单位1概述\n下面是我们将在本单元中介绍的内容的简要概述:\n\n什么是模型上下文协议? 我们将首先定义MCP是什么,并讨论它在AI生态系统中的作用。\n关键概念 - 我们将探讨与MCP相关的基本概念和术语。\n集成挑战 - 我们将研究MCP旨在解决的问题,特别是“M×N集成问题”。\n好处和目标 - 我们将讨论MCP的主要好处和目标,包括标准化,增强的AI功能和互操作性。\n简单示例 - 最后,我们将介绍MCP集成的简单示例,看看它在实践中是如何工作的。\n让我们深入探索模型上下文协议的激动人心的世界!"]},{"id":17,"type":"QuickMTRun","pos":[936.4569702148438,700.031005859375],"size":[270,202],"flags":{},"order":2,"mode":4,"inputs":[{"localized_name":"text","name":"text","type":"STRING","link":25},{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null},{"localized_name":"beam_size","name":"beam_size","type":"INT","widget":{"name":"beam_size"},"link":null},{"localized_name":"max_batch_size","name":"max_batch_size","type":"INT","widget":{"name":"max_batch_size"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"unload_model","name":"unload_model","type":"BOOLEAN","widget":{"name":"unload_model"},"link":null}],"outputs":[{"localized_name":"translations","name":"translations","type":"STRING","links":[26]}],"properties":{"Node name for S&R":"QuickMTRun"},"widgets_values":["quickmt-en-zh",1,49,0.4,50,0.9,true]},{"id":13,"type":"QuickMTRun","pos":[921.7299194335938,193.38604736328125],"size":[270,202],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"text","name":"text","type":"STRING","link":21},{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null},{"localized_name":"beam_size","name":"beam_size","type":"INT","widget":{"name":"beam_size"},"link":null},{"localized_name":"max_batch_size","name":"max_batch_size","type":"INT","widget":{"name":"max_batch_size"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"unload_model","name":"unload_model","type":"BOOLEAN","widget":{"name":"unload_model"},"link":null}],"outputs":[{"localized_name":"translations","name":"translations","type":"STRING","links":[22]}],"properties":{"Node name for S&R":"QuickMTRun"},"widgets_values":["quickmt-zh-en",1,48,0.4,50,0.9,false]}],"links":[[21,2,0,13,0,"STRING"],[22,13,0,3,0,"*"],[25,14,0,17,0,"STRING"],[26,17,0,15,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8264462809917354,"offset":[55.151174649809974,-43.53277915827091]}},"version":0.4}