Quiz
What’s the reason for using sampling?
- A: You want to sample a smaller piece of information from a large dataset
- B: The server needs help with a generative AI-type task, and the client can use its LLM to generate a response
- C: The client needs the server’s help with a task
What party initiates the sampling request?
- A: Either of them
- B: The client
- C: The server
You can access the solution at https://github.com/PacktPublishing/Learn-Model-Context-Protocol-with-Python/blob/main/Chapter09/solution/solution-quiz.md.
| Unlock this book’s exclusive benefits nowScan this QR code or go to https://packtpub.com/unlock, then search this book by name. |  
 | 
| Note: Keep your purchase invoice ready before you start.... | 
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
    
 
         
                 
                 
                 
                 
                 
                 
                 
                 
                