update toc for doc and dockerfile code style format (#6450)
Co-authored-by: Chayenne <zhaochen20@outlook.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
From lmsysorg/sglang:dev
|
FROM lmsysorg/sglang:dev
|
||||||
|
|
||||||
# Create non-root user with specified UID and GID
|
# Create non-root user with specified UID and GID
|
||||||
# NOTE: Replace with your own UID and GID. This is a workaround from https://github.com/microsoft/vscode-remote-release/issues/49#issuecomment-489060908.
|
# NOTE: Replace with your own UID and GID. This is a workaround from https://github.com/microsoft/vscode-remote-release/issues/49#issuecomment-489060908.
|
||||||
|
|||||||
@@ -386,17 +386,7 @@
|
|||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"name": "stdout",
|
|
||||||
"output_type": "stream",
|
|
||||||
"text": [
|
|
||||||
"Response with tool_choice='required':\n",
|
|
||||||
"Content: None\n",
|
|
||||||
"Tool calls: [ChatCompletionMessageToolCall(id='call_NFO3TSZuRRO8Eu3Cv79uiQ', function=Function(arguments='{\"city\": \"Paris\", \"unit\": \"celsius\"}', name='get_current_weather'), type='function', index=0)]\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"from openai import OpenAI\n",
|
"from openai import OpenAI\n",
|
||||||
"import json\n",
|
"import json\n",
|
||||||
@@ -479,19 +469,7 @@
|
|||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"name": "stdout",
|
|
||||||
"output_type": "stream",
|
|
||||||
"text": [
|
|
||||||
"Response with specific function choice:\n",
|
|
||||||
"Content: None\n",
|
|
||||||
"Tool calls: [ChatCompletionMessageToolCall(id='call_fGL_1qsPQFqntNBPkSynJw', function=Function(arguments='{\"city\": \"Sophia Antipolis\", \"unit\": \"celsius\"}', name='get_current_weather'), type='function', index=0)]\n",
|
|
||||||
"Called function: get_current_weather\n",
|
|
||||||
"Arguments: {\"city\": \"Sophia Antipolis\", \"unit\": \"celsius\"}\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"# Example with specific function choice - forces the model to call a specific function\n",
|
"# Example with specific function choice - forces the model to call a specific function\n",
|
||||||
"messages_specific = [\n",
|
"messages_specific = [\n",
|
||||||
|
|||||||
@@ -83,3 +83,4 @@ The core features include:
|
|||||||
references/hardware
|
references/hardware
|
||||||
references/advanced_deploy
|
references/advanced_deploy
|
||||||
references/performance_analysis_and_optimization
|
references/performance_analysis_and_optimization
|
||||||
|
references/developer
|
||||||
|
|||||||
8
docs/references/developer.rst
Normal file
8
docs/references/developer.rst
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Developer Reference
|
||||||
|
==========================
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
development_guide_using_docker.md
|
||||||
|
release_process.md
|
||||||
|
setup_github_runner.md
|
||||||
Reference in New Issue
Block a user