evermemos 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl
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.
- evermemos/_version.py +1 -1
- evermemos/resources/v1/__init__.py +0 -14
- evermemos/resources/v1/memories/conversation_meta.py +0 -86
- evermemos/resources/v1/memories/memories.py +0 -78
- evermemos/resources/v1/v1.py +0 -32
- evermemos/types/v1/memories/conversation_meta_create_params.py +0 -35
- evermemos/types/v1/memories/conversation_meta_create_response.py +0 -25
- evermemos/types/v1/memories/conversation_meta_get_response.py +0 -25
- evermemos/types/v1/memories/conversation_meta_update_params.py +0 -24
- evermemos/types/v1/memories/conversation_meta_update_response.py +0 -16
- evermemos/types/v1/memory_create_params.py +0 -28
- evermemos/types/v1/memory_delete_params.py +0 -3
- evermemos/types/v1/memory_delete_response.py +0 -12
- evermemos/types/v1/memory_get_response.py +0 -10
- evermemos/types/v1/memory_load_params.py +0 -27
- evermemos/types/v1/memory_load_response.py +0 -7
- evermemos/types/v1/memory_search_response.py +5 -23
- evermemos/types/v1/stats/__init__.py +0 -3
- {evermemos-0.3.8.dist-info → evermemos-0.3.9.dist-info}/METADATA +2 -3
- {evermemos-0.3.8.dist-info → evermemos-0.3.9.dist-info}/RECORD +22 -27
- evermemos/resources/v1/stats/__init__.py +0 -33
- evermemos/resources/v1/stats/request.py +0 -175
- evermemos/resources/v1/stats/stats.py +0 -102
- evermemos/types/v1/stats/request_get_params.py +0 -13
- evermemos/types/v1/stats/request_get_response.py +0 -26
- {evermemos-0.3.8.dist-info → evermemos-0.3.9.dist-info}/WHEEL +0 -0
- {evermemos-0.3.8.dist-info → evermemos-0.3.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from .request import (
|
|
6
|
-
RequestResource,
|
|
7
|
-
AsyncRequestResource,
|
|
8
|
-
RequestResourceWithRawResponse,
|
|
9
|
-
AsyncRequestResourceWithRawResponse,
|
|
10
|
-
RequestResourceWithStreamingResponse,
|
|
11
|
-
AsyncRequestResourceWithStreamingResponse,
|
|
12
|
-
)
|
|
13
|
-
from ...._compat import cached_property
|
|
14
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
-
|
|
16
|
-
__all__ = ["StatsResource", "AsyncStatsResource"]
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class StatsResource(SyncAPIResource):
|
|
20
|
-
@cached_property
|
|
21
|
-
def request(self) -> RequestResource:
|
|
22
|
-
return RequestResource(self._client)
|
|
23
|
-
|
|
24
|
-
@cached_property
|
|
25
|
-
def with_raw_response(self) -> StatsResourceWithRawResponse:
|
|
26
|
-
"""
|
|
27
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
28
|
-
the raw response object instead of the parsed content.
|
|
29
|
-
|
|
30
|
-
For more information, see https://www.github.com/evermemos/evermemos-python#accessing-raw-response-data-eg-headers
|
|
31
|
-
"""
|
|
32
|
-
return StatsResourceWithRawResponse(self)
|
|
33
|
-
|
|
34
|
-
@cached_property
|
|
35
|
-
def with_streaming_response(self) -> StatsResourceWithStreamingResponse:
|
|
36
|
-
"""
|
|
37
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
38
|
-
|
|
39
|
-
For more information, see https://www.github.com/evermemos/evermemos-python#with_streaming_response
|
|
40
|
-
"""
|
|
41
|
-
return StatsResourceWithStreamingResponse(self)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class AsyncStatsResource(AsyncAPIResource):
|
|
45
|
-
@cached_property
|
|
46
|
-
def request(self) -> AsyncRequestResource:
|
|
47
|
-
return AsyncRequestResource(self._client)
|
|
48
|
-
|
|
49
|
-
@cached_property
|
|
50
|
-
def with_raw_response(self) -> AsyncStatsResourceWithRawResponse:
|
|
51
|
-
"""
|
|
52
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
53
|
-
the raw response object instead of the parsed content.
|
|
54
|
-
|
|
55
|
-
For more information, see https://www.github.com/evermemos/evermemos-python#accessing-raw-response-data-eg-headers
|
|
56
|
-
"""
|
|
57
|
-
return AsyncStatsResourceWithRawResponse(self)
|
|
58
|
-
|
|
59
|
-
@cached_property
|
|
60
|
-
def with_streaming_response(self) -> AsyncStatsResourceWithStreamingResponse:
|
|
61
|
-
"""
|
|
62
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
63
|
-
|
|
64
|
-
For more information, see https://www.github.com/evermemos/evermemos-python#with_streaming_response
|
|
65
|
-
"""
|
|
66
|
-
return AsyncStatsResourceWithStreamingResponse(self)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
class StatsResourceWithRawResponse:
|
|
70
|
-
def __init__(self, stats: StatsResource) -> None:
|
|
71
|
-
self._stats = stats
|
|
72
|
-
|
|
73
|
-
@cached_property
|
|
74
|
-
def request(self) -> RequestResourceWithRawResponse:
|
|
75
|
-
return RequestResourceWithRawResponse(self._stats.request)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class AsyncStatsResourceWithRawResponse:
|
|
79
|
-
def __init__(self, stats: AsyncStatsResource) -> None:
|
|
80
|
-
self._stats = stats
|
|
81
|
-
|
|
82
|
-
@cached_property
|
|
83
|
-
def request(self) -> AsyncRequestResourceWithRawResponse:
|
|
84
|
-
return AsyncRequestResourceWithRawResponse(self._stats.request)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
class StatsResourceWithStreamingResponse:
|
|
88
|
-
def __init__(self, stats: StatsResource) -> None:
|
|
89
|
-
self._stats = stats
|
|
90
|
-
|
|
91
|
-
@cached_property
|
|
92
|
-
def request(self) -> RequestResourceWithStreamingResponse:
|
|
93
|
-
return RequestResourceWithStreamingResponse(self._stats.request)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class AsyncStatsResourceWithStreamingResponse:
|
|
97
|
-
def __init__(self, stats: AsyncStatsResource) -> None:
|
|
98
|
-
self._stats = stats
|
|
99
|
-
|
|
100
|
-
@cached_property
|
|
101
|
-
def request(self) -> AsyncRequestResourceWithStreamingResponse:
|
|
102
|
-
return AsyncRequestResourceWithStreamingResponse(self._stats.request)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing import Optional
|
|
6
|
-
from typing_extensions import Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["RequestGetParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class RequestGetParams(TypedDict, total=False):
|
|
12
|
-
request_id: Required[Optional[str]]
|
|
13
|
-
"""this id is returned by add_memories api"""
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, Optional
|
|
4
|
-
|
|
5
|
-
from ...._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["RequestGetResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class RequestGetResponse(BaseModel):
|
|
11
|
-
"""Request status response
|
|
12
|
-
|
|
13
|
-
Contains detailed status information of the request.
|
|
14
|
-
"""
|
|
15
|
-
|
|
16
|
-
success: bool
|
|
17
|
-
"""Whether the query was successful"""
|
|
18
|
-
|
|
19
|
-
data: Optional[Dict[str, object]] = None
|
|
20
|
-
"""Request status data"""
|
|
21
|
-
|
|
22
|
-
found: Optional[bool] = None
|
|
23
|
-
"""Whether the request status was found"""
|
|
24
|
-
|
|
25
|
-
message: Optional[str] = None
|
|
26
|
-
"""Message"""
|
|
File without changes
|
|
File without changes
|