cheshirecat-python-sdk 1.7.2__tar.gz → 1.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/PKG-INFO +1 -1
- cheshirecat_python_sdk-1.7.3/cheshirecat_python_sdk/endpoints/health_check.py +22 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/pyproject.toml +1 -1
- cheshirecat_python_sdk-1.7.2/cheshirecat_python_sdk/endpoints/health_check.py +0 -12
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/.gitignore +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/LICENSE +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/Makefile +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/README.md +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/__init__.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/__init__.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/base.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/memory.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/settings_input.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/why.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/client.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/clients/__init__.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/clients/http_client.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/clients/websocket_client.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/configuration.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/__init__.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/admins.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/auth_handler.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/base.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/chunker.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/conversation.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/custom_endpoint.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/embedder.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/file_manager.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/large_language_model.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/memory.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/message.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/plugins.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/rabbit_hole.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/users.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/utils.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/endpoints/vector_database.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/enums.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/admins.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/conversations.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/factories.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/file_managers.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/memories.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/messages.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/nested/memories.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/nested/plugins.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/plugins.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/rabbit_holes.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/tokens.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/api/users.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/dtos.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/utils.py +0 -0
- {cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/requirements.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cheshirecat-python-sdk
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.3
|
|
4
4
|
Summary: Python SDK for the Cloud-ready fork of the Cheshire Cat
|
|
5
5
|
Project-URL: Repository, https://github.com/matteocacciola/cheshirecat-python-sdk
|
|
6
6
|
Project-URL: Documentation, https://github.com/matteocacciola/cheshirecat-python-sdk#README
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from cheshirecat_python_sdk.endpoints.base import AbstractEndpoint
|
|
2
|
+
|
|
3
|
+
class HealthCheckEndpoint(AbstractEndpoint):
|
|
4
|
+
def liveness(self):
|
|
5
|
+
"""
|
|
6
|
+
This endpoint is used to check if the server is running.
|
|
7
|
+
:return: dict, the status of the server.
|
|
8
|
+
"""
|
|
9
|
+
response = self.get_http_session().get("/health/liveness")
|
|
10
|
+
response.raise_for_status()
|
|
11
|
+
|
|
12
|
+
return response.json()
|
|
13
|
+
|
|
14
|
+
def readiness(self):
|
|
15
|
+
"""
|
|
16
|
+
This endpoint is used to check if the server is running.
|
|
17
|
+
:return: dict, the status of the server.
|
|
18
|
+
"""
|
|
19
|
+
response = self.get_http_session().get("/health/readiness")
|
|
20
|
+
response.raise_for_status()
|
|
21
|
+
|
|
22
|
+
return response.json()
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
from cheshirecat_python_sdk.endpoints.base import AbstractEndpoint
|
|
2
|
-
|
|
3
|
-
class HealthCheckEndpoint(AbstractEndpoint):
|
|
4
|
-
def home(self):
|
|
5
|
-
"""
|
|
6
|
-
This endpoint is used to check if the server is running.
|
|
7
|
-
:return: dict, the status of the server.
|
|
8
|
-
"""
|
|
9
|
-
response = self.get_http_session().get("/")
|
|
10
|
-
response.raise_for_status()
|
|
11
|
-
|
|
12
|
-
return response.json()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/builders/why.py
RENAMED
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/enums.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/models/dtos.py
RENAMED
|
File without changes
|
{cheshirecat_python_sdk-1.7.2 → cheshirecat_python_sdk-1.7.3}/cheshirecat_python_sdk/utils.py
RENAMED
|
File without changes
|
|
File without changes
|