Skip to content

Commit 89d6231

Browse files
committed
add videos
1 parent 8c6c73a commit 89d6231

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

exercises/05.sampling/README.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ images, or more) on demand. This process is called **sampling**: asking a
55
language model (or other generative model) to produce a completion or response
66
based on a prompt and some context.
77

8+
This one is a tricky one to understand. Think of it like you're "borrowing" the
9+
user's LLM to generate content for them.
10+
[Read about this idea here](https://www.epicai.pro/how-to-use-sampling-in-mcp-borrow-the-users-llm-o7nk3).
11+
12+
It may be helpful for you to watch a demo of this working:
13+
14+
<EpicVideo url="https://www.epicai.pro/using-mcp-sampling-in-vs-code-insiders-dd12d" />
15+
816
Here's a simple example of a sampling request and response using MCP:
917

1018
```json

exercises/FINISHED.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ powerful, structured ways.
6767

6868
Now you can build your own MCP server! Learn how to get the development
6969
environment up here:
70-
[How to Debug Your MCP Server](https://www.epicai.pro/how-to-debug-your-mcp-server-38qyl)
70+
71+
<EpicVideo url="https://www.epicai.pro/how-to-debug-your-mcp-server-38qyl" />
7172

7273
Amazing work! 🎉

0 commit comments

Comments
 (0)