snailyp commited on
Commit
2aacb46
1 Parent(s): 371f25d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -4
main.py CHANGED
@@ -51,10 +51,7 @@ class ChatRequest(BaseModel):
51
  class EmbeddingRequest(BaseModel):
52
  input: str
53
  model: str = "text-embedding-004"
54
- model: str = "text-embedding-004"
55
- encoding_format: Optional[str] = "base64"
56
- dimensions: Optional[int]
57
- user: Optional[str]
58
 
59
 
60
  async def verify_authorization(authorization: str = Header(None)):
 
51
  class EmbeddingRequest(BaseModel):
52
  input: str
53
  model: str = "text-embedding-004"
54
+ encoding_format: Optional[str] = "float"
 
 
 
55
 
56
 
57
  async def verify_authorization(authorization: str = Header(None)):