diff --git a/docs/sphinx_doc/en/source/tutorial/206-prompt.md b/docs/sphinx_doc/en/source/tutorial/206-prompt.md index d33a8612e..cfe3a6015 100644 --- a/docs/sphinx_doc/en/source/tutorial/206-prompt.md +++ b/docs/sphinx_doc/en/source/tutorial/206-prompt.md @@ -268,9 +268,11 @@ print(prompt) ```bash [ - {"role": "system", "content": "You are a helpful assistant"}, - {"role": "assistant", "content": "Hi."}, - {"role": "assistant", "content": "Nice to meet you!", "images": ["https://example.com/image.jpg"]}, + { + "role": "system", + "content": "You are a helpful assistant\n\n## Dialogue History\nBob: Hi.\nAlice: Nice to meet you!", + "images": ["https://example.com/image.jpg"] + }, ] ``` diff --git a/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md b/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md index 5648d2193..8d50d945f 100644 --- a/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md +++ b/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md @@ -235,9 +235,11 @@ print(prompt) ```bash [ - {"role": "system", "content": "You are a helpful assistant"}, - {"role": "assistant", "content": "Hi."}, - {"role": "assistant", "content": "Nice to meet you!", "images": ["https://example.com/image.jpg"]}, + { + "role": "system", + "content": "You are a helpful assistant\n\n## Dialogue History\nBob: Hi.\nAlice: Nice to meet you!", + "images": ["https://example.com/image.jpg"] + }, ] ```