Add examples in sampling parameters (#4039)

This commit is contained in:
Chayenne authored and GitHub committed 2025-03-03 13:04:32 -08:00
1 parent 57a404fd55
commit 146ac8df07
6 files changed
+228 -48

No files matched your search

+6 -1
View File
@@ -57,7 +57,7 @@
"metadata": {},
"source": [
"## Generate (text generation model)\n",
"Generate completions. This is similar to the `/v1/completions` in OpenAI API. Detailed parameters can be found in the [sampling parameters](https://docs.sglang.ai/backend/sampling_params.html)."
"Generate completions. This is similar to the `/v1/completions` in OpenAI API. Detailed parameters can be found in the [sampling parameters](./sampling_params.md)."
]
},
{
@@ -73,6 +73,11 @@
"print_highlight(response.json())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
},
{
"cell_type": "markdown",
"metadata": {},