snailyp commited on
Commit
371f25d
·
verified ·
1 Parent(s): b6845e0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -51,6 +51,10 @@ class ChatRequest(BaseModel):
51
  class EmbeddingRequest(BaseModel):
52
  input: str
53
  model: str = "text-embedding-004"
 
 
 
 
54
 
55
 
56
  async def verify_authorization(authorization: str = Header(None)):
 
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)):