mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Improve the basic API examples
This commit is contained in:
parent
aa44e542cb
commit
87ae09ecd6
2 changed files with 33 additions and 22 deletions
|
|
@ -158,7 +158,7 @@ class ChatCompletionRequestParams(BaseModel):
|
|||
user_bio: str | None = Field(default=None, description="The user description/personality.")
|
||||
chat_template_str: str | None = Field(default=None, description="Jinja2 template for chat.")
|
||||
|
||||
chat_instruct_command: str | None = None
|
||||
chat_instruct_command: str | None = "Continue the chat dialogue below. Write a single reply for the character \"<|character|>\".\n\n<|prompt|>"
|
||||
|
||||
continue_: bool = Field(default=False, description="Makes the last bot message in the history be continued instead of starting a new message.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue