From 7b3c9ff91da08d8bf94db6e42cd37987316d708b Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Thu, 12 Jun 2025 23:35:17 -0400 Subject: [PATCH] [Doc] uses absolute links for structured outputs (#19582) Signed-off-by: Aaron Pham --- docs/features/structured_outputs.md | 6 +++--- examples/online_serving/structured_outputs/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/structured_outputs.md b/docs/features/structured_outputs.md index c7abd9d4c2b78..044c796609923 100644 --- a/docs/features/structured_outputs.md +++ b/docs/features/structured_outputs.md @@ -149,7 +149,7 @@ completion = client.chat.completions.create( print(completion.choices[0].message.content) ``` -See also: [full example](../../examples/online_serving/structured_outputs) +See also: [full example](https://docs.vllm.ai/en/latest/examples/online_serving/structured_outputs.html) ## Reasoning Outputs @@ -190,7 +190,7 @@ print("reasoning_content: ", completion.choices[0].message.reasoning_content) print("content: ", completion.choices[0].message.content) ``` -See also: [full example](../../examples/online_serving/structured_outputs) +See also: [full example](https://docs.vllm.ai/en/latest/examples/online_serving/structured_outputs.html) ## Experimental Automatic Parsing (OpenAI API) @@ -311,4 +311,4 @@ outputs = llm.generate( print(outputs[0].outputs[0].text) ``` -See also: [full example](../../examples/online_serving/structured_outputs) +See also: [full example](https://docs.vllm.ai/en/latest/examples/online_serving/structured_outputs.html) diff --git a/examples/online_serving/structured_outputs/README.md b/examples/online_serving/structured_outputs/README.md index d38feca746373..c9b97f11eefd7 100644 --- a/examples/online_serving/structured_outputs/README.md +++ b/examples/online_serving/structured_outputs/README.md @@ -22,7 +22,7 @@ If you want to run this script standalone with `uv`, you can use the following: uvx --from git+https://github.com/vllm-project/vllm#subdirectory=examples/online_serving/structured_outputs structured-output ``` -See [feature docs](../../../features/structured_outputs.md) for more information. +See [feature docs](https://docs.vllm.ai/en/latest/features/structured_outputs.html) for more information. !!! tip If vLLM is running remotely, then set `OPENAI_BASE_URL=` before running the script.