Skip to content

Commit

Permalink
fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
garyzhang99 committed May 17, 2024
1 parent 2d351f2 commit 105ceca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/sphinx_doc/en/source/tutorial/206-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ print(prompt)
`LiteLLMChatWrapper` encapsulates the litellm chat API, which takes a list of
messages as input. The litellm support different types of models, and each model
might need to obey different formats. To simplify the usage, we provide a format
that could be compatible with most models. If more specifical formats are needed,
you can refer to the specifical model you use as weel as the
[litellm](https://github.com/BerriAI/litellm) documentation to customize your
that could be compatible with most models. If more specifical formats are needed,
you can refer to the specifical model you use as weel as the
[litellm](https://github.com/BerriAI/litellm) documentation to customize your
own format function for your model.

- format all the messages in the chat history, into a single message with `"user"` as `role`
- format all the messages in the chat history, into a single message with `"user"` as `role`

#### Prompt Strategy

Expand Down

0 comments on commit 105ceca

Please sign in to comment.