hindsight-client 0.0.13__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.
Files changed (141) hide show
  1. hindsight_client-0.0.13/.gitignore +15 -0
  2. hindsight_client-0.0.13/.openapi-generator/FILES +130 -0
  3. hindsight_client-0.0.13/.openapi-generator/VERSION +1 -0
  4. hindsight_client-0.0.13/.openapi-generator-ignore +23 -0
  5. hindsight_client-0.0.13/PKG-INFO +56 -0
  6. hindsight_client-0.0.13/README.md +39 -0
  7. hindsight_client-0.0.13/hindsight_client/__init__.py +26 -0
  8. hindsight_client-0.0.13/hindsight_client/hindsight_client.py +432 -0
  9. hindsight_client-0.0.13/hindsight_client_api/__init__.py +126 -0
  10. hindsight_client-0.0.13/hindsight_client_api/api/__init__.py +6 -0
  11. hindsight_client-0.0.13/hindsight_client_api/api/default_api.py +5976 -0
  12. hindsight_client-0.0.13/hindsight_client_api/api/monitoring_api.py +281 -0
  13. hindsight_client-0.0.13/hindsight_client_api/api_client.py +807 -0
  14. hindsight_client-0.0.13/hindsight_client_api/api_response.py +21 -0
  15. hindsight_client-0.0.13/hindsight_client_api/configuration.py +572 -0
  16. hindsight_client-0.0.13/hindsight_client_api/docs/AddBackgroundRequest.md +31 -0
  17. hindsight_client-0.0.13/hindsight_client_api/docs/BackgroundResponse.md +31 -0
  18. hindsight_client-0.0.13/hindsight_client_api/docs/BankListItem.md +35 -0
  19. hindsight_client-0.0.13/hindsight_client_api/docs/BankListResponse.md +30 -0
  20. hindsight_client-0.0.13/hindsight_client_api/docs/BankProfileResponse.md +33 -0
  21. hindsight_client-0.0.13/hindsight_client_api/docs/Budget.md +15 -0
  22. hindsight_client-0.0.13/hindsight_client_api/docs/ChunkData.md +33 -0
  23. hindsight_client-0.0.13/hindsight_client_api/docs/ChunkIncludeOptions.md +30 -0
  24. hindsight_client-0.0.13/hindsight_client_api/docs/ChunkResponse.md +35 -0
  25. hindsight_client-0.0.13/hindsight_client_api/docs/CreateBankRequest.md +32 -0
  26. hindsight_client-0.0.13/hindsight_client_api/docs/DefaultApi.md +1569 -0
  27. hindsight_client-0.0.13/hindsight_client_api/docs/DeleteResponse.md +30 -0
  28. hindsight_client-0.0.13/hindsight_client_api/docs/DocumentResponse.md +36 -0
  29. hindsight_client-0.0.13/hindsight_client_api/docs/EntityDetailResponse.md +36 -0
  30. hindsight_client-0.0.13/hindsight_client_api/docs/EntityIncludeOptions.md +30 -0
  31. hindsight_client-0.0.13/hindsight_client_api/docs/EntityListItem.md +35 -0
  32. hindsight_client-0.0.13/hindsight_client_api/docs/EntityListResponse.md +30 -0
  33. hindsight_client-0.0.13/hindsight_client_api/docs/EntityObservationResponse.md +31 -0
  34. hindsight_client-0.0.13/hindsight_client_api/docs/EntityStateResponse.md +32 -0
  35. hindsight_client-0.0.13/hindsight_client_api/docs/GraphDataResponse.md +33 -0
  36. hindsight_client-0.0.13/hindsight_client_api/docs/HTTPValidationError.md +29 -0
  37. hindsight_client-0.0.13/hindsight_client_api/docs/IncludeOptions.md +31 -0
  38. hindsight_client-0.0.13/hindsight_client_api/docs/ListDocumentsResponse.md +33 -0
  39. hindsight_client-0.0.13/hindsight_client_api/docs/ListMemoryUnitsResponse.md +33 -0
  40. hindsight_client-0.0.13/hindsight_client_api/docs/MemoryItem.md +34 -0
  41. hindsight_client-0.0.13/hindsight_client_api/docs/MetadataFilter.md +32 -0
  42. hindsight_client-0.0.13/hindsight_client_api/docs/MonitoringApi.md +72 -0
  43. hindsight_client-0.0.13/hindsight_client_api/docs/PersonalityTraits.md +35 -0
  44. hindsight_client-0.0.13/hindsight_client_api/docs/RecallRequest.md +37 -0
  45. hindsight_client-0.0.13/hindsight_client_api/docs/RecallResponse.md +33 -0
  46. hindsight_client-0.0.13/hindsight_client_api/docs/RecallResult.md +40 -0
  47. hindsight_client-0.0.13/hindsight_client_api/docs/ReflectFact.md +35 -0
  48. hindsight_client-0.0.13/hindsight_client_api/docs/ReflectIncludeOptions.md +30 -0
  49. hindsight_client-0.0.13/hindsight_client_api/docs/ReflectRequest.md +34 -0
  50. hindsight_client-0.0.13/hindsight_client_api/docs/ReflectResponse.md +31 -0
  51. hindsight_client-0.0.13/hindsight_client_api/docs/RetainRequest.md +31 -0
  52. hindsight_client-0.0.13/hindsight_client_api/docs/RetainResponse.md +33 -0
  53. hindsight_client-0.0.13/hindsight_client_api/docs/UpdatePersonalityRequest.md +30 -0
  54. hindsight_client-0.0.13/hindsight_client_api/docs/ValidationError.md +31 -0
  55. hindsight_client-0.0.13/hindsight_client_api/docs/ValidationErrorLocInner.md +28 -0
  56. hindsight_client-0.0.13/hindsight_client_api/exceptions.py +219 -0
  57. hindsight_client-0.0.13/hindsight_client_api/models/__init__.py +54 -0
  58. hindsight_client-0.0.13/hindsight_client_api/models/add_background_request.py +89 -0
  59. hindsight_client-0.0.13/hindsight_client_api/models/background_response.py +98 -0
  60. hindsight_client-0.0.13/hindsight_client_api/models/bank_list_item.py +111 -0
  61. hindsight_client-0.0.13/hindsight_client_api/models/bank_list_response.py +95 -0
  62. hindsight_client-0.0.13/hindsight_client_api/models/bank_profile_response.py +97 -0
  63. hindsight_client-0.0.13/hindsight_client_api/models/budget.py +38 -0
  64. hindsight_client-0.0.13/hindsight_client_api/models/chunk_data.py +93 -0
  65. hindsight_client-0.0.13/hindsight_client_api/models/chunk_include_options.py +87 -0
  66. hindsight_client-0.0.13/hindsight_client_api/models/chunk_response.py +97 -0
  67. hindsight_client-0.0.13/hindsight_client_api/models/create_bank_request.py +110 -0
  68. hindsight_client-0.0.13/hindsight_client_api/models/delete_response.py +87 -0
  69. hindsight_client-0.0.13/hindsight_client_api/models/document_response.py +104 -0
  70. hindsight_client-0.0.13/hindsight_client_api/models/entity_detail_response.py +122 -0
  71. hindsight_client-0.0.13/hindsight_client_api/models/entity_include_options.py +87 -0
  72. hindsight_client-0.0.13/hindsight_client_api/models/entity_list_item.py +112 -0
  73. hindsight_client-0.0.13/hindsight_client_api/models/entity_list_response.py +95 -0
  74. hindsight_client-0.0.13/hindsight_client_api/models/entity_observation_response.py +94 -0
  75. hindsight_client-0.0.13/hindsight_client_api/models/entity_state_response.py +99 -0
  76. hindsight_client-0.0.13/hindsight_client_api/models/graph_data_response.py +93 -0
  77. hindsight_client-0.0.13/hindsight_client_api/models/http_validation_error.py +95 -0
  78. hindsight_client-0.0.13/hindsight_client_api/models/include_options.py +107 -0
  79. hindsight_client-0.0.13/hindsight_client_api/models/list_documents_response.py +93 -0
  80. hindsight_client-0.0.13/hindsight_client_api/models/list_memory_units_response.py +93 -0
  81. hindsight_client-0.0.13/hindsight_client_api/models/memory_item.py +116 -0
  82. hindsight_client-0.0.13/hindsight_client_api/models/metadata_filter.py +96 -0
  83. hindsight_client-0.0.13/hindsight_client_api/models/personality_traits.py +98 -0
  84. hindsight_client-0.0.13/hindsight_client_api/models/recall_request.py +129 -0
  85. hindsight_client-0.0.13/hindsight_client_api/models/recall_response.py +142 -0
  86. hindsight_client-0.0.13/hindsight_client_api/models/recall_result.py +152 -0
  87. hindsight_client-0.0.13/hindsight_client_api/models/reflect_fact.py +122 -0
  88. hindsight_client-0.0.13/hindsight_client_api/models/reflect_include_options.py +87 -0
  89. hindsight_client-0.0.13/hindsight_client_api/models/reflect_request.py +118 -0
  90. hindsight_client-0.0.13/hindsight_client_api/models/reflect_response.py +97 -0
  91. hindsight_client-0.0.13/hindsight_client_api/models/retain_request.py +97 -0
  92. hindsight_client-0.0.13/hindsight_client_api/models/retain_response.py +93 -0
  93. hindsight_client-0.0.13/hindsight_client_api/models/update_personality_request.py +91 -0
  94. hindsight_client-0.0.13/hindsight_client_api/models/validation_error.py +99 -0
  95. hindsight_client-0.0.13/hindsight_client_api/models/validation_error_loc_inner.py +138 -0
  96. hindsight_client-0.0.13/hindsight_client_api/rest.py +213 -0
  97. hindsight_client-0.0.13/hindsight_client_api/test/__init__.py +0 -0
  98. hindsight_client-0.0.13/hindsight_client_api/test/test_add_background_request.py +53 -0
  99. hindsight_client-0.0.13/hindsight_client_api/test/test_background_response.py +53 -0
  100. hindsight_client-0.0.13/hindsight_client_api/test/test_bank_list_item.py +60 -0
  101. hindsight_client-0.0.13/hindsight_client_api/test/test_bank_list_response.py +68 -0
  102. hindsight_client-0.0.13/hindsight_client_api/test/test_bank_profile_response.py +58 -0
  103. hindsight_client-0.0.13/hindsight_client_api/test/test_budget.py +33 -0
  104. hindsight_client-0.0.13/hindsight_client_api/test/test_chunk_data.py +57 -0
  105. hindsight_client-0.0.13/hindsight_client_api/test/test_chunk_include_options.py +51 -0
  106. hindsight_client-0.0.13/hindsight_client_api/test/test_chunk_response.py +62 -0
  107. hindsight_client-0.0.13/hindsight_client_api/test/test_create_bank_request.py +53 -0
  108. hindsight_client-0.0.13/hindsight_client_api/test/test_default_api.py +178 -0
  109. hindsight_client-0.0.13/hindsight_client_api/test/test_delete_response.py +52 -0
  110. hindsight_client-0.0.13/hindsight_client_api/test/test_document_response.py +64 -0
  111. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_detail_response.py +71 -0
  112. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_include_options.py +51 -0
  113. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_list_item.py +61 -0
  114. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_list_response.py +56 -0
  115. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_observation_response.py +53 -0
  116. hindsight_client-0.0.13/hindsight_client_api/test/test_entity_state_response.py +64 -0
  117. hindsight_client-0.0.13/hindsight_client_api/test/test_graph_data_response.py +82 -0
  118. hindsight_client-0.0.13/hindsight_client_api/test/test_http_validation_error.py +58 -0
  119. hindsight_client-0.0.13/hindsight_client_api/test/test_include_options.py +54 -0
  120. hindsight_client-0.0.13/hindsight_client_api/test/test_list_documents_response.py +66 -0
  121. hindsight_client-0.0.13/hindsight_client_api/test/test_list_memory_units_response.py +66 -0
  122. hindsight_client-0.0.13/hindsight_client_api/test/test_memory_item.py +58 -0
  123. hindsight_client-0.0.13/hindsight_client_api/test/test_metadata_filter.py +54 -0
  124. hindsight_client-0.0.13/hindsight_client_api/test/test_monitoring_api.py +38 -0
  125. hindsight_client-0.0.13/hindsight_client_api/test/test_personality_traits.py +62 -0
  126. hindsight_client-0.0.13/hindsight_client_api/test/test_recall_request.py +67 -0
  127. hindsight_client-0.0.13/hindsight_client_api/test/test_recall_response.py +76 -0
  128. hindsight_client-0.0.13/hindsight_client_api/test/test_recall_result.py +67 -0
  129. hindsight_client-0.0.13/hindsight_client_api/test/test_reflect_fact.py +57 -0
  130. hindsight_client-0.0.13/hindsight_client_api/test/test_reflect_include_options.py +51 -0
  131. hindsight_client-0.0.13/hindsight_client_api/test/test_reflect_request.py +59 -0
  132. hindsight_client-0.0.13/hindsight_client_api/test/test_reflect_response.py +55 -0
  133. hindsight_client-0.0.13/hindsight_client_api/test/test_retain_request.py +57 -0
  134. hindsight_client-0.0.13/hindsight_client_api/test/test_retain_response.py +58 -0
  135. hindsight_client-0.0.13/hindsight_client_api/test/test_update_personality_request.py +52 -0
  136. hindsight_client-0.0.13/hindsight_client_api/test/test_validation_error.py +60 -0
  137. hindsight_client-0.0.13/hindsight_client_api/test/test_validation_error_loc_inner.py +50 -0
  138. hindsight_client-0.0.13/openapi-generator-config.yaml +5 -0
  139. hindsight_client-0.0.13/pyproject.toml +47 -0
  140. hindsight_client-0.0.13/tests/__init__.py +1 -0
  141. hindsight_client-0.0.13/tests/test_main_operations.py +258 -0
@@ -0,0 +1,15 @@
1
+ # Build artifacts
2
+ python/dist/
3
+ python/build/
4
+ python/*.egg-info/
5
+ python/.ruff_cache/
6
+ typescript/dist/
7
+ typescript/node_modules/
8
+
9
+ # IDE
10
+ .vscode/
11
+ .idea/
12
+ *.swp
13
+ *.swo
14
+
15
+ # Generated code is tracked in git to see API changes
@@ -0,0 +1,130 @@
1
+ hindsight_client_api/__init__.py
2
+ hindsight_client_api/api/__init__.py
3
+ hindsight_client_api/api/default_api.py
4
+ hindsight_client_api/api/monitoring_api.py
5
+ hindsight_client_api/api_client.py
6
+ hindsight_client_api/api_response.py
7
+ hindsight_client_api/configuration.py
8
+ hindsight_client_api/docs/AddBackgroundRequest.md
9
+ hindsight_client_api/docs/BackgroundResponse.md
10
+ hindsight_client_api/docs/BankListItem.md
11
+ hindsight_client_api/docs/BankListResponse.md
12
+ hindsight_client_api/docs/BankProfileResponse.md
13
+ hindsight_client_api/docs/Budget.md
14
+ hindsight_client_api/docs/ChunkData.md
15
+ hindsight_client_api/docs/ChunkIncludeOptions.md
16
+ hindsight_client_api/docs/ChunkResponse.md
17
+ hindsight_client_api/docs/CreateBankRequest.md
18
+ hindsight_client_api/docs/DefaultApi.md
19
+ hindsight_client_api/docs/DeleteResponse.md
20
+ hindsight_client_api/docs/DocumentResponse.md
21
+ hindsight_client_api/docs/EntityDetailResponse.md
22
+ hindsight_client_api/docs/EntityIncludeOptions.md
23
+ hindsight_client_api/docs/EntityListItem.md
24
+ hindsight_client_api/docs/EntityListResponse.md
25
+ hindsight_client_api/docs/EntityObservationResponse.md
26
+ hindsight_client_api/docs/EntityStateResponse.md
27
+ hindsight_client_api/docs/GraphDataResponse.md
28
+ hindsight_client_api/docs/HTTPValidationError.md
29
+ hindsight_client_api/docs/IncludeOptions.md
30
+ hindsight_client_api/docs/ListDocumentsResponse.md
31
+ hindsight_client_api/docs/ListMemoryUnitsResponse.md
32
+ hindsight_client_api/docs/MemoryItem.md
33
+ hindsight_client_api/docs/MetadataFilter.md
34
+ hindsight_client_api/docs/MonitoringApi.md
35
+ hindsight_client_api/docs/PersonalityTraits.md
36
+ hindsight_client_api/docs/RecallRequest.md
37
+ hindsight_client_api/docs/RecallResponse.md
38
+ hindsight_client_api/docs/RecallResult.md
39
+ hindsight_client_api/docs/ReflectFact.md
40
+ hindsight_client_api/docs/ReflectIncludeOptions.md
41
+ hindsight_client_api/docs/ReflectRequest.md
42
+ hindsight_client_api/docs/ReflectResponse.md
43
+ hindsight_client_api/docs/RetainRequest.md
44
+ hindsight_client_api/docs/RetainResponse.md
45
+ hindsight_client_api/docs/UpdatePersonalityRequest.md
46
+ hindsight_client_api/docs/ValidationError.md
47
+ hindsight_client_api/docs/ValidationErrorLocInner.md
48
+ hindsight_client_api/exceptions.py
49
+ hindsight_client_api/models/__init__.py
50
+ hindsight_client_api/models/add_background_request.py
51
+ hindsight_client_api/models/background_response.py
52
+ hindsight_client_api/models/bank_list_item.py
53
+ hindsight_client_api/models/bank_list_response.py
54
+ hindsight_client_api/models/bank_profile_response.py
55
+ hindsight_client_api/models/budget.py
56
+ hindsight_client_api/models/chunk_data.py
57
+ hindsight_client_api/models/chunk_include_options.py
58
+ hindsight_client_api/models/chunk_response.py
59
+ hindsight_client_api/models/create_bank_request.py
60
+ hindsight_client_api/models/delete_response.py
61
+ hindsight_client_api/models/document_response.py
62
+ hindsight_client_api/models/entity_detail_response.py
63
+ hindsight_client_api/models/entity_include_options.py
64
+ hindsight_client_api/models/entity_list_item.py
65
+ hindsight_client_api/models/entity_list_response.py
66
+ hindsight_client_api/models/entity_observation_response.py
67
+ hindsight_client_api/models/entity_state_response.py
68
+ hindsight_client_api/models/graph_data_response.py
69
+ hindsight_client_api/models/http_validation_error.py
70
+ hindsight_client_api/models/include_options.py
71
+ hindsight_client_api/models/list_documents_response.py
72
+ hindsight_client_api/models/list_memory_units_response.py
73
+ hindsight_client_api/models/memory_item.py
74
+ hindsight_client_api/models/metadata_filter.py
75
+ hindsight_client_api/models/personality_traits.py
76
+ hindsight_client_api/models/recall_request.py
77
+ hindsight_client_api/models/recall_response.py
78
+ hindsight_client_api/models/recall_result.py
79
+ hindsight_client_api/models/reflect_fact.py
80
+ hindsight_client_api/models/reflect_include_options.py
81
+ hindsight_client_api/models/reflect_request.py
82
+ hindsight_client_api/models/reflect_response.py
83
+ hindsight_client_api/models/retain_request.py
84
+ hindsight_client_api/models/retain_response.py
85
+ hindsight_client_api/models/update_personality_request.py
86
+ hindsight_client_api/models/validation_error.py
87
+ hindsight_client_api/models/validation_error_loc_inner.py
88
+ hindsight_client_api/rest.py
89
+ hindsight_client_api/test/__init__.py
90
+ hindsight_client_api/test/test_add_background_request.py
91
+ hindsight_client_api/test/test_background_response.py
92
+ hindsight_client_api/test/test_bank_list_item.py
93
+ hindsight_client_api/test/test_bank_list_response.py
94
+ hindsight_client_api/test/test_bank_profile_response.py
95
+ hindsight_client_api/test/test_budget.py
96
+ hindsight_client_api/test/test_chunk_data.py
97
+ hindsight_client_api/test/test_chunk_include_options.py
98
+ hindsight_client_api/test/test_chunk_response.py
99
+ hindsight_client_api/test/test_create_bank_request.py
100
+ hindsight_client_api/test/test_default_api.py
101
+ hindsight_client_api/test/test_delete_response.py
102
+ hindsight_client_api/test/test_document_response.py
103
+ hindsight_client_api/test/test_entity_detail_response.py
104
+ hindsight_client_api/test/test_entity_include_options.py
105
+ hindsight_client_api/test/test_entity_list_item.py
106
+ hindsight_client_api/test/test_entity_list_response.py
107
+ hindsight_client_api/test/test_entity_observation_response.py
108
+ hindsight_client_api/test/test_entity_state_response.py
109
+ hindsight_client_api/test/test_graph_data_response.py
110
+ hindsight_client_api/test/test_http_validation_error.py
111
+ hindsight_client_api/test/test_include_options.py
112
+ hindsight_client_api/test/test_list_documents_response.py
113
+ hindsight_client_api/test/test_list_memory_units_response.py
114
+ hindsight_client_api/test/test_memory_item.py
115
+ hindsight_client_api/test/test_metadata_filter.py
116
+ hindsight_client_api/test/test_monitoring_api.py
117
+ hindsight_client_api/test/test_personality_traits.py
118
+ hindsight_client_api/test/test_recall_request.py
119
+ hindsight_client_api/test/test_recall_response.py
120
+ hindsight_client_api/test/test_recall_result.py
121
+ hindsight_client_api/test/test_reflect_fact.py
122
+ hindsight_client_api/test/test_reflect_include_options.py
123
+ hindsight_client_api/test/test_reflect_request.py
124
+ hindsight_client_api/test/test_reflect_response.py
125
+ hindsight_client_api/test/test_retain_request.py
126
+ hindsight_client_api/test/test_retain_response.py
127
+ hindsight_client_api/test/test_update_personality_request.py
128
+ hindsight_client_api/test/test_validation_error.py
129
+ hindsight_client_api/test/test_validation_error_loc_inner.py
130
+ hindsight_client_api_README.md
@@ -0,0 +1 @@
1
+ 7.18.0-SNAPSHOT
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: hindsight-client
3
+ Version: 0.0.13
4
+ Summary: Python client for Hindsight - Semantic memory system with personality-driven thinking
5
+ Author: Hindsight Team
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: aiohttp-retry>=2.8.3
8
+ Requires-Dist: aiohttp>=3.8.4
9
+ Requires-Dist: pydantic>=2
10
+ Requires-Dist: python-dateutil>=2.8.2
11
+ Requires-Dist: typing-extensions>=4.7.1
12
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
13
+ Provides-Extra: test
14
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'test'
15
+ Requires-Dist: pytest>=7.0.0; extra == 'test'
16
+ Description-Content-Type: text/markdown
17
+
18
+ # Hindsight Python Client
19
+
20
+ Python client library for the Hindsight API.
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ pip install hindsight-client
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```python
31
+ from hindsight_client import Hindsight
32
+
33
+ client = Hindsight(base_url="http://localhost:8888")
34
+
35
+ # Retain information
36
+ client.retain(
37
+ bank_id="my-bank",
38
+ content="Alice works at Google in Mountain View."
39
+ )
40
+
41
+ # Recall memories
42
+ results = client.recall(
43
+ bank_id="my-bank",
44
+ query="Where does Alice work?"
45
+ )
46
+
47
+ # Reflect and get an opinion
48
+ response = client.reflect(
49
+ bank_id="my-bank",
50
+ query="What do you think about Alice's career?"
51
+ )
52
+ ```
53
+
54
+ ## Documentation
55
+
56
+ For full documentation, visit [hindsight.dev](https://hindsight.dev).
@@ -0,0 +1,39 @@
1
+ # Hindsight Python Client
2
+
3
+ Python client library for the Hindsight API.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install hindsight-client
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from hindsight_client import Hindsight
15
+
16
+ client = Hindsight(base_url="http://localhost:8888")
17
+
18
+ # Retain information
19
+ client.retain(
20
+ bank_id="my-bank",
21
+ content="Alice works at Google in Mountain View."
22
+ )
23
+
24
+ # Recall memories
25
+ results = client.recall(
26
+ bank_id="my-bank",
27
+ query="Where does Alice work?"
28
+ )
29
+
30
+ # Reflect and get an opinion
31
+ response = client.reflect(
32
+ bank_id="my-bank",
33
+ query="What do you think about Alice's career?"
34
+ )
35
+ ```
36
+
37
+ ## Documentation
38
+
39
+ For full documentation, visit [hindsight.dev](https://hindsight.dev).
@@ -0,0 +1,26 @@
1
+ """
2
+ Hindsight Client - Clean, pythonic wrapper for the Hindsight API.
3
+
4
+ This package provides a high-level interface for common Hindsight operations.
5
+ For advanced use cases, use the auto-generated API client directly.
6
+
7
+ Example:
8
+ ```python
9
+ from hindsight_client import Hindsight
10
+
11
+ client = Hindsight(base_url="http://localhost:8888")
12
+
13
+ # Store a memory
14
+ client.put(agent_id="alice", content="Alice loves AI")
15
+
16
+ # Search memories
17
+ results = client.search(agent_id="alice", query="What does Alice like?")
18
+
19
+ # Generate contextual answer
20
+ answer = client.think(agent_id="alice", query="What are my interests?")
21
+ ```
22
+ """
23
+
24
+ from .hindsight_client import Hindsight
25
+
26
+ __all__ = ["Hindsight"]