Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavdGao committed May 9, 2024
1 parent 2ce4cee commit 1b98480
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions docs/sphinx_doc/en/source/tutorial/206-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
]
```

Expand Down
8 changes: 5 additions & 3 deletions docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
]
```

Expand Down

0 comments on commit 1b98480

Please sign in to comment.