Skip to content

Commit

Permalink
Merge pull request #5266 from oobabooga/dev
Browse files Browse the repository at this point in the history
Merge dev branch (#5257)
  • Loading branch information
oobabooga authored Jan 14, 2024
2 parents 61e4bfe + 952a05a commit d8c3a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/openai/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class ChatCompletionRequestParams(BaseModel):
instruction_template_str: str | None = Field(default=None, description="A Jinja2 instruction template. If set, will take precedence over everything else.")

character: str | None = Field(default=None, description="A character defined under text-generation-webui/characters. If not set, the default \"Assistant\" character will be used.")
user_name: str | None = Field(default=None, description="Your name (the user). By default, it's \"You\".", alias=['name1'])
bot_name: str | None = Field(default=None, description="Overwrites the value set by character field.", alias=['name2'])
user_name: str | None = Field(default=None, description="Your name (the user). By default, it's \"You\".", alias="name1")
bot_name: str | None = Field(default=None, description="Overwrites the value set by character field.", alias="name2")
context: str | None = Field(default=None, description="Overwrites the value set by character field.")
greeting: str | None = Field(default=None, description="Overwrites the value set by character field.")
chat_template_str: str | None = Field(default=None, description="Jinja2 template for chat.")
Expand Down

0 comments on commit d8c3a5b

Please sign in to comment.