hindsight-client 0.1.14__py3-none-any.whl → 0.1.16__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.
Files changed (114) hide show
  1. hindsight_client/hindsight_client.py +11 -10
  2. {hindsight_client-0.1.14.dist-info → hindsight_client-0.1.16.dist-info}/METADATA +1 -1
  3. hindsight_client-0.1.16.dist-info/RECORD +109 -0
  4. hindsight_client_api/__init__.py +21 -3
  5. hindsight_client_api/api/__init__.py +5 -1
  6. hindsight_client_api/api/banks_api.py +2045 -0
  7. hindsight_client_api/api/documents_api.py +1234 -0
  8. hindsight_client_api/api/entities_api.py +921 -0
  9. hindsight_client_api/api/memory_api.py +1901 -0
  10. hindsight_client_api/api/monitoring_api.py +1 -1
  11. hindsight_client_api/api/operations_api.py +610 -0
  12. hindsight_client_api/api_client.py +1 -1
  13. hindsight_client_api/configuration.py +2 -2
  14. hindsight_client_api/docs/BankListItem.md +2 -2
  15. hindsight_client_api/docs/BankStatsResponse.md +39 -0
  16. hindsight_client_api/docs/BanksApi.md +517 -0
  17. hindsight_client_api/docs/CancelOperationResponse.md +32 -0
  18. hindsight_client_api/docs/DeleteDocumentResponse.md +33 -0
  19. hindsight_client_api/docs/DeleteResponse.md +2 -0
  20. hindsight_client_api/docs/DocumentsApi.md +313 -0
  21. hindsight_client_api/docs/EntitiesApi.md +230 -0
  22. hindsight_client_api/docs/MemoryApi.md +499 -0
  23. hindsight_client_api/docs/OperationResponse.md +36 -0
  24. hindsight_client_api/docs/OperationsApi.md +154 -0
  25. hindsight_client_api/docs/OperationsListResponse.md +31 -0
  26. hindsight_client_api/exceptions.py +1 -1
  27. hindsight_client_api/models/__init__.py +6 -1
  28. hindsight_client_api/models/add_background_request.py +1 -1
  29. hindsight_client_api/models/background_response.py +1 -1
  30. hindsight_client_api/models/bank_list_item.py +13 -3
  31. hindsight_client_api/models/bank_list_response.py +1 -1
  32. hindsight_client_api/models/bank_profile_response.py +1 -1
  33. hindsight_client_api/models/bank_stats_response.py +105 -0
  34. hindsight_client_api/models/budget.py +1 -1
  35. hindsight_client_api/models/cancel_operation_response.py +91 -0
  36. hindsight_client_api/models/chunk_data.py +1 -1
  37. hindsight_client_api/models/chunk_include_options.py +1 -1
  38. hindsight_client_api/models/chunk_response.py +1 -1
  39. hindsight_client_api/models/create_bank_request.py +1 -1
  40. hindsight_client_api/models/delete_document_response.py +93 -0
  41. hindsight_client_api/models/delete_response.py +19 -5
  42. hindsight_client_api/models/disposition_traits.py +1 -1
  43. hindsight_client_api/models/document_response.py +1 -1
  44. hindsight_client_api/models/entity_detail_response.py +1 -1
  45. hindsight_client_api/models/entity_include_options.py +1 -1
  46. hindsight_client_api/models/entity_list_item.py +1 -1
  47. hindsight_client_api/models/entity_list_response.py +1 -1
  48. hindsight_client_api/models/entity_observation_response.py +1 -1
  49. hindsight_client_api/models/entity_state_response.py +1 -1
  50. hindsight_client_api/models/graph_data_response.py +1 -1
  51. hindsight_client_api/models/http_validation_error.py +1 -1
  52. hindsight_client_api/models/include_options.py +1 -1
  53. hindsight_client_api/models/list_documents_response.py +1 -1
  54. hindsight_client_api/models/list_memory_units_response.py +1 -1
  55. hindsight_client_api/models/memory_item.py +1 -1
  56. hindsight_client_api/models/operation_response.py +109 -0
  57. hindsight_client_api/models/operations_list_response.py +97 -0
  58. hindsight_client_api/models/recall_request.py +1 -1
  59. hindsight_client_api/models/recall_response.py +1 -1
  60. hindsight_client_api/models/recall_result.py +1 -1
  61. hindsight_client_api/models/reflect_fact.py +1 -1
  62. hindsight_client_api/models/reflect_include_options.py +1 -1
  63. hindsight_client_api/models/reflect_request.py +1 -1
  64. hindsight_client_api/models/reflect_response.py +1 -1
  65. hindsight_client_api/models/retain_request.py +1 -1
  66. hindsight_client_api/models/retain_response.py +1 -1
  67. hindsight_client_api/models/update_disposition_request.py +1 -1
  68. hindsight_client_api/models/validation_error.py +1 -1
  69. hindsight_client_api/models/validation_error_loc_inner.py +1 -1
  70. hindsight_client_api/rest.py +1 -1
  71. hindsight_client-0.1.14.dist-info/RECORD +0 -131
  72. hindsight_client_api/api/default_api.py +0 -5976
  73. hindsight_client_api/docs/DefaultApi.md +0 -1568
  74. hindsight_client_api/test/__init__.py +0 -0
  75. hindsight_client_api/test/test_add_background_request.py +0 -53
  76. hindsight_client_api/test/test_background_response.py +0 -53
  77. hindsight_client_api/test/test_bank_list_item.py +0 -60
  78. hindsight_client_api/test/test_bank_list_response.py +0 -68
  79. hindsight_client_api/test/test_bank_profile_response.py +0 -58
  80. hindsight_client_api/test/test_budget.py +0 -33
  81. hindsight_client_api/test/test_chunk_data.py +0 -57
  82. hindsight_client_api/test/test_chunk_include_options.py +0 -51
  83. hindsight_client_api/test/test_chunk_response.py +0 -62
  84. hindsight_client_api/test/test_create_bank_request.py +0 -53
  85. hindsight_client_api/test/test_default_api.py +0 -178
  86. hindsight_client_api/test/test_delete_response.py +0 -52
  87. hindsight_client_api/test/test_disposition_traits.py +0 -56
  88. hindsight_client_api/test/test_document_response.py +0 -64
  89. hindsight_client_api/test/test_entity_detail_response.py +0 -71
  90. hindsight_client_api/test/test_entity_include_options.py +0 -51
  91. hindsight_client_api/test/test_entity_list_item.py +0 -61
  92. hindsight_client_api/test/test_entity_list_response.py +0 -56
  93. hindsight_client_api/test/test_entity_observation_response.py +0 -53
  94. hindsight_client_api/test/test_entity_state_response.py +0 -64
  95. hindsight_client_api/test/test_graph_data_response.py +0 -82
  96. hindsight_client_api/test/test_http_validation_error.py +0 -58
  97. hindsight_client_api/test/test_include_options.py +0 -54
  98. hindsight_client_api/test/test_list_documents_response.py +0 -66
  99. hindsight_client_api/test/test_list_memory_units_response.py +0 -66
  100. hindsight_client_api/test/test_memory_item.py +0 -58
  101. hindsight_client_api/test/test_monitoring_api.py +0 -45
  102. hindsight_client_api/test/test_recall_request.py +0 -64
  103. hindsight_client_api/test/test_recall_response.py +0 -76
  104. hindsight_client_api/test/test_recall_result.py +0 -67
  105. hindsight_client_api/test/test_reflect_fact.py +0 -57
  106. hindsight_client_api/test/test_reflect_include_options.py +0 -51
  107. hindsight_client_api/test/test_reflect_request.py +0 -56
  108. hindsight_client_api/test/test_reflect_response.py +0 -55
  109. hindsight_client_api/test/test_retain_request.py +0 -57
  110. hindsight_client_api/test/test_retain_response.py +0 -58
  111. hindsight_client_api/test/test_update_disposition_request.py +0 -52
  112. hindsight_client_api/test/test_validation_error.py +0 -60
  113. hindsight_client_api/test/test_validation_error_loc_inner.py +0 -50
  114. {hindsight_client-0.1.14.dist-info → hindsight_client-0.1.16.dist-info}/WHEEL +0 -0
File without changes
@@ -1,53 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.add_background_request import AddBackgroundRequest
18
-
19
- class TestAddBackgroundRequest(unittest.TestCase):
20
- """AddBackgroundRequest unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> AddBackgroundRequest:
29
- """Test AddBackgroundRequest
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `AddBackgroundRequest`
34
- """
35
- model = AddBackgroundRequest()
36
- if include_optional:
37
- return AddBackgroundRequest(
38
- content = '',
39
- update_disposition = True
40
- )
41
- else:
42
- return AddBackgroundRequest(
43
- content = '',
44
- )
45
- """
46
-
47
- def testAddBackgroundRequest(self):
48
- """Test AddBackgroundRequest"""
49
- # inst_req_only = self.make_instance(include_optional=False)
50
- # inst_req_and_optional = self.make_instance(include_optional=True)
51
-
52
- if __name__ == '__main__':
53
- unittest.main()
@@ -1,53 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.background_response import BackgroundResponse
18
-
19
- class TestBackgroundResponse(unittest.TestCase):
20
- """BackgroundResponse unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> BackgroundResponse:
29
- """Test BackgroundResponse
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `BackgroundResponse`
34
- """
35
- model = BackgroundResponse()
36
- if include_optional:
37
- return BackgroundResponse(
38
- background = '',
39
- disposition = {empathy=3, literalism=3, skepticism=3}
40
- )
41
- else:
42
- return BackgroundResponse(
43
- background = '',
44
- )
45
- """
46
-
47
- def testBackgroundResponse(self):
48
- """Test BackgroundResponse"""
49
- # inst_req_only = self.make_instance(include_optional=False)
50
- # inst_req_and_optional = self.make_instance(include_optional=True)
51
-
52
- if __name__ == '__main__':
53
- unittest.main()
@@ -1,60 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.bank_list_item import BankListItem
18
-
19
- class TestBankListItem(unittest.TestCase):
20
- """BankListItem unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> BankListItem:
29
- """Test BankListItem
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `BankListItem`
34
- """
35
- model = BankListItem()
36
- if include_optional:
37
- return BankListItem(
38
- bank_id = '',
39
- name = '',
40
- disposition = {empathy=3, literalism=3, skepticism=3},
41
- background = '',
42
- created_at = '',
43
- updated_at = ''
44
- )
45
- else:
46
- return BankListItem(
47
- bank_id = '',
48
- name = '',
49
- disposition = {empathy=3, literalism=3, skepticism=3},
50
- background = '',
51
- )
52
- """
53
-
54
- def testBankListItem(self):
55
- """Test BankListItem"""
56
- # inst_req_only = self.make_instance(include_optional=False)
57
- # inst_req_and_optional = self.make_instance(include_optional=True)
58
-
59
- if __name__ == '__main__':
60
- unittest.main()
@@ -1,68 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.bank_list_response import BankListResponse
18
-
19
- class TestBankListResponse(unittest.TestCase):
20
- """BankListResponse unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> BankListResponse:
29
- """Test BankListResponse
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `BankListResponse`
34
- """
35
- model = BankListResponse()
36
- if include_optional:
37
- return BankListResponse(
38
- banks = [
39
- hindsight_client_api.models.bank_list_item.BankListItem(
40
- bank_id = '',
41
- name = '',
42
- disposition = {empathy=3, literalism=3, skepticism=3},
43
- background = '',
44
- created_at = '',
45
- updated_at = '', )
46
- ]
47
- )
48
- else:
49
- return BankListResponse(
50
- banks = [
51
- hindsight_client_api.models.bank_list_item.BankListItem(
52
- bank_id = '',
53
- name = '',
54
- disposition = {empathy=3, literalism=3, skepticism=3},
55
- background = '',
56
- created_at = '',
57
- updated_at = '', )
58
- ],
59
- )
60
- """
61
-
62
- def testBankListResponse(self):
63
- """Test BankListResponse"""
64
- # inst_req_only = self.make_instance(include_optional=False)
65
- # inst_req_and_optional = self.make_instance(include_optional=True)
66
-
67
- if __name__ == '__main__':
68
- unittest.main()
@@ -1,58 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.bank_profile_response import BankProfileResponse
18
-
19
- class TestBankProfileResponse(unittest.TestCase):
20
- """BankProfileResponse unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> BankProfileResponse:
29
- """Test BankProfileResponse
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `BankProfileResponse`
34
- """
35
- model = BankProfileResponse()
36
- if include_optional:
37
- return BankProfileResponse(
38
- bank_id = '',
39
- name = '',
40
- disposition = {empathy=3, literalism=3, skepticism=3},
41
- background = ''
42
- )
43
- else:
44
- return BankProfileResponse(
45
- bank_id = '',
46
- name = '',
47
- disposition = {empathy=3, literalism=3, skepticism=3},
48
- background = '',
49
- )
50
- """
51
-
52
- def testBankProfileResponse(self):
53
- """Test BankProfileResponse"""
54
- # inst_req_only = self.make_instance(include_optional=False)
55
- # inst_req_and_optional = self.make_instance(include_optional=True)
56
-
57
- if __name__ == '__main__':
58
- unittest.main()
@@ -1,33 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.budget import Budget
18
-
19
- class TestBudget(unittest.TestCase):
20
- """Budget unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def testBudget(self):
29
- """Test Budget"""
30
- # inst = Budget()
31
-
32
- if __name__ == '__main__':
33
- unittest.main()
@@ -1,57 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.chunk_data import ChunkData
18
-
19
- class TestChunkData(unittest.TestCase):
20
- """ChunkData unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> ChunkData:
29
- """Test ChunkData
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `ChunkData`
34
- """
35
- model = ChunkData()
36
- if include_optional:
37
- return ChunkData(
38
- id = '',
39
- text = '',
40
- chunk_index = 56,
41
- truncated = True
42
- )
43
- else:
44
- return ChunkData(
45
- id = '',
46
- text = '',
47
- chunk_index = 56,
48
- )
49
- """
50
-
51
- def testChunkData(self):
52
- """Test ChunkData"""
53
- # inst_req_only = self.make_instance(include_optional=False)
54
- # inst_req_and_optional = self.make_instance(include_optional=True)
55
-
56
- if __name__ == '__main__':
57
- unittest.main()
@@ -1,51 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.chunk_include_options import ChunkIncludeOptions
18
-
19
- class TestChunkIncludeOptions(unittest.TestCase):
20
- """ChunkIncludeOptions unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> ChunkIncludeOptions:
29
- """Test ChunkIncludeOptions
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `ChunkIncludeOptions`
34
- """
35
- model = ChunkIncludeOptions()
36
- if include_optional:
37
- return ChunkIncludeOptions(
38
- max_tokens = 56
39
- )
40
- else:
41
- return ChunkIncludeOptions(
42
- )
43
- """
44
-
45
- def testChunkIncludeOptions(self):
46
- """Test ChunkIncludeOptions"""
47
- # inst_req_only = self.make_instance(include_optional=False)
48
- # inst_req_and_optional = self.make_instance(include_optional=True)
49
-
50
- if __name__ == '__main__':
51
- unittest.main()
@@ -1,62 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.chunk_response import ChunkResponse
18
-
19
- class TestChunkResponse(unittest.TestCase):
20
- """ChunkResponse unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> ChunkResponse:
29
- """Test ChunkResponse
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `ChunkResponse`
34
- """
35
- model = ChunkResponse()
36
- if include_optional:
37
- return ChunkResponse(
38
- chunk_id = '',
39
- document_id = '',
40
- bank_id = '',
41
- chunk_index = 56,
42
- chunk_text = '',
43
- created_at = ''
44
- )
45
- else:
46
- return ChunkResponse(
47
- chunk_id = '',
48
- document_id = '',
49
- bank_id = '',
50
- chunk_index = 56,
51
- chunk_text = '',
52
- created_at = '',
53
- )
54
- """
55
-
56
- def testChunkResponse(self):
57
- """Test ChunkResponse"""
58
- # inst_req_only = self.make_instance(include_optional=False)
59
- # inst_req_and_optional = self.make_instance(include_optional=True)
60
-
61
- if __name__ == '__main__':
62
- unittest.main()
@@ -1,53 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.create_bank_request import CreateBankRequest
18
-
19
- class TestCreateBankRequest(unittest.TestCase):
20
- """CreateBankRequest unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> CreateBankRequest:
29
- """Test CreateBankRequest
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `CreateBankRequest`
34
- """
35
- model = CreateBankRequest()
36
- if include_optional:
37
- return CreateBankRequest(
38
- name = '',
39
- disposition = {empathy=3, literalism=3, skepticism=3},
40
- background = ''
41
- )
42
- else:
43
- return CreateBankRequest(
44
- )
45
- """
46
-
47
- def testCreateBankRequest(self):
48
- """Test CreateBankRequest"""
49
- # inst_req_only = self.make_instance(include_optional=False)
50
- # inst_req_and_optional = self.make_instance(include_optional=True)
51
-
52
- if __name__ == '__main__':
53
- unittest.main()