jonathanjordan21 commited on
Commit
33e0d19
1 Parent(s): a1a3cef

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. apis/chat_api.py +1 -1
apis/chat_api.py CHANGED
@@ -147,7 +147,7 @@ class ChatAPIApp:
147
  prompt: str
148
  options: Optional[dict] = None
149
 
150
- def get_embeddings(self, item: EmbeddingRequest, api_key: str = Depends(extract_api_key)):
151
  try:
152
  model = request.model
153
  model_kwargs = request.options
 
147
  prompt: str
148
  options: Optional[dict] = None
149
 
150
+ def get_embeddings(self, request: EmbeddingRequest, api_key: str = Depends(extract_api_key)):
151
  try:
152
  model = request.model
153
  model_kwargs = request.options