Spaces:
Sleeping
Sleeping
Download docs/python-sdk/fastmcp-client-sampling.mdx from purecipher/xsecuremcp: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/docs/python-sdk/fastmcp-client-sampling.mdx
- Command line
-
hf download hf://spaces/purecipher/xsecuremcp/docs/python-sdk/fastmcp-client-sampling.mdx
-
curl -L -o fastmcp-client-sampling.mdx https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/docs/python-sdk/fastmcp-client-sampling.mdx
390 Bytes
| title: sampling | |
| sidebarTitle: sampling | |
| # `fastmcp.client.sampling` | |
| ## Functions | |
| ### `create_sampling_callback` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/sampling.py#L25" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup> | |
| ```python | |
| create_sampling_callback(sampling_handler: SamplingHandler) -> SamplingFnT | |
| ``` | |