snailyp commited on
Commit
576c48b
·
verified ·
1 Parent(s): 99dddaa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -49,7 +49,7 @@ class ChatRequest(BaseModel):
49
 
50
 
51
  class EmbeddingRequest(BaseModel):
52
- input: str
53
  model: str = "text-embedding-004"
54
  encoding_format: Optional[str] = "float"
55
 
 
49
 
50
 
51
  class EmbeddingRequest(BaseModel):
52
+ input: Union[str, List[str]]
53
  model: str = "text-embedding-004"
54
  encoding_format: Optional[str] = "float"
55