ka1kuk commited on
Commit
f7d7188
·
verified ·
1 Parent(s): 2c5aa7b

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. apis/chat_api.py +1 -1
apis/chat_api.py CHANGED
@@ -126,7 +126,7 @@ class ChatAPIApp:
126
 
127
  class QueryRequest(BaseModel):
128
  input: str
129
- model: str = Field(..., example="bert-base-uncased")
130
  encoding_format: str
131
 
132
  class ChatCompletionsPostItem(BaseModel):
 
126
 
127
  class QueryRequest(BaseModel):
128
  input: str
129
+ model: str = Field(default="bert-base-uncased")
130
  encoding_format: str
131
 
132
  class ChatCompletionsPostItem(BaseModel):