forked from phoenix/litellm-mirror
(docs) swager - add embeddings tag
This commit is contained in:
parent
9548334e2f
commit
aa78415894
1 changed files with 2 additions and 2 deletions
|
@ -1045,8 +1045,8 @@ async def chat_completion(request: Request, model: Optional[str] = None, user_ap
|
|||
detail=error_msg
|
||||
)
|
||||
|
||||
@router.post("/v1/embeddings", dependencies=[Depends(user_api_key_auth)], response_class=ORJSONResponse)
|
||||
@router.post("/embeddings", dependencies=[Depends(user_api_key_auth)], response_class=ORJSONResponse)
|
||||
@router.post("/v1/embeddings", dependencies=[Depends(user_api_key_auth)], response_class=ORJSONResponse, tags=["embeddings"])
|
||||
@router.post("/embeddings", dependencies=[Depends(user_api_key_auth)], response_class=ORJSONResponse, tags=["embeddings"])
|
||||
async def embeddings(request: Request, user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), background_tasks: BackgroundTasks = BackgroundTasks()):
|
||||
global proxy_logging_obj
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue