Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Commit
•
1fe16ba
1
Parent(s):
765a3f6
Update apis/chat_api.py
Browse files- apis/chat_api.py +8 -1
apis/chat_api.py
CHANGED
@@ -318,7 +318,14 @@ class ChatAPIApp:
|
|
318 |
summary="Get Embeddings with prompt",
|
319 |
include_in_schema=include_in_schema,
|
320 |
)(self.get_embeddings)
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
self.app.get(
|
323 |
"/readme",
|
324 |
summary="README of HF LLM API",
|
|
|
318 |
summary="Get Embeddings with prompt",
|
319 |
include_in_schema=include_in_schema,
|
320 |
)(self.get_embeddings)
|
321 |
+
|
322 |
+
self.app.get(
|
323 |
+
"/api/tags",
|
324 |
+
summary="Get Available Models Ollama",
|
325 |
+
response_class=HTMLResponse,
|
326 |
+
include_in_schema=False,
|
327 |
+
)(self.get_available_models)
|
328 |
+
|
329 |
self.app.get(
|
330 |
"/readme",
|
331 |
summary="README of HF LLM API",
|