Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
|
@@ -249,7 +249,7 @@ class ChatAPIApp:
|
|
| 249 |
include_in_schema = False
|
| 250 |
|
| 251 |
self.app.post(
|
| 252 |
-
prefix + "/
|
| 253 |
summary="Generate embeddings for the given texts",
|
| 254 |
include_in_schema=include_in_schema,
|
| 255 |
response_model=EmbeddingResponse # Adapt based on your actual response model
|
|
|
|
| 249 |
include_in_schema = False
|
| 250 |
|
| 251 |
self.app.post(
|
| 252 |
+
prefix + "/embeddings", # Use the specific prefix for this route
|
| 253 |
summary="Generate embeddings for the given texts",
|
| 254 |
include_in_schema=include_in_schema,
|
| 255 |
response_model=EmbeddingResponse # Adapt based on your actual response model
|