hindsight-client 0.3.0__py3-none-any.whl → 0.4.0__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 (47) hide show
  1. hindsight_client/__init__.py +9 -8
  2. hindsight_client/hindsight_client.py +394 -59
  3. {hindsight_client-0.3.0.dist-info → hindsight_client-0.4.0.dist-info}/METADATA +1 -1
  4. hindsight_client-0.4.0.dist-info/RECORD +89 -0
  5. hindsight_client_api/__init__.py +24 -0
  6. hindsight_client_api/api/__init__.py +2 -0
  7. hindsight_client_api/api/banks_api.py +997 -131
  8. hindsight_client_api/api/directives_api.py +1619 -0
  9. hindsight_client_api/api/entities_api.py +9 -6
  10. hindsight_client_api/api/mental_models_api.py +1897 -0
  11. hindsight_client_api/api/monitoring_api.py +246 -0
  12. hindsight_client_api/api/operations_api.py +350 -4
  13. hindsight_client_api/models/__init__.py +22 -0
  14. hindsight_client_api/models/add_background_request.py +2 -2
  15. hindsight_client_api/models/async_operation_submit_response.py +89 -0
  16. hindsight_client_api/models/background_response.py +10 -3
  17. hindsight_client_api/models/bank_list_item.py +6 -6
  18. hindsight_client_api/models/bank_profile_response.py +11 -4
  19. hindsight_client_api/models/bank_stats_response.py +15 -4
  20. hindsight_client_api/models/consolidation_response.py +89 -0
  21. hindsight_client_api/models/create_bank_request.py +8 -1
  22. hindsight_client_api/models/create_directive_request.py +95 -0
  23. hindsight_client_api/models/create_mental_model_request.py +100 -0
  24. hindsight_client_api/models/create_mental_model_response.py +87 -0
  25. hindsight_client_api/models/directive_list_response.py +95 -0
  26. hindsight_client_api/models/directive_response.py +113 -0
  27. hindsight_client_api/models/features_info.py +91 -0
  28. hindsight_client_api/models/mental_model_list_response.py +95 -0
  29. hindsight_client_api/models/mental_model_response.py +126 -0
  30. hindsight_client_api/models/mental_model_trigger.py +87 -0
  31. hindsight_client_api/models/operation_response.py +1 -1
  32. hindsight_client_api/models/operation_status_response.py +131 -0
  33. hindsight_client_api/models/operations_list_response.py +8 -2
  34. hindsight_client_api/models/reflect_based_on.py +115 -0
  35. hindsight_client_api/models/reflect_directive.py +91 -0
  36. hindsight_client_api/models/reflect_include_options.py +13 -2
  37. hindsight_client_api/models/reflect_llm_call.py +89 -0
  38. hindsight_client_api/models/reflect_mental_model.py +96 -0
  39. hindsight_client_api/models/reflect_response.py +23 -11
  40. hindsight_client_api/models/reflect_tool_call.py +100 -0
  41. hindsight_client_api/models/reflect_trace.py +105 -0
  42. hindsight_client_api/models/tool_calls_include_options.py +87 -0
  43. hindsight_client_api/models/update_directive_request.py +120 -0
  44. hindsight_client_api/models/update_mental_model_request.py +125 -0
  45. hindsight_client_api/models/version_response.py +93 -0
  46. hindsight_client-0.3.0.dist-info/RECORD +0 -65
  47. {hindsight_client-0.3.0.dist-info → hindsight_client-0.4.0.dist-info}/WHEEL +0 -0
@@ -664,9 +664,9 @@ class EntitiesApi:
664
664
  _headers: Optional[Dict[StrictStr, Any]] = None,
665
665
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
666
666
  ) -> EntityDetailResponse:
667
- """Regenerate entity observations
667
+ """(Deprecated) Regenerate entity observations (deprecated)
668
668
 
669
- Regenerate observations for an entity based on all facts mentioning it.
669
+ This endpoint is deprecated. Entity observations have been replaced by mental models.
670
670
 
671
671
  :param bank_id: (required)
672
672
  :type bank_id: str
@@ -695,6 +695,7 @@ class EntitiesApi:
695
695
  :type _host_index: int, optional
696
696
  :return: Returns the result object.
697
697
  """ # noqa: E501
698
+ warnings.warn("POST /v1/default/banks/{bank_id}/entities/{entity_id}/regenerate is deprecated.", DeprecationWarning)
698
699
 
699
700
  _param = self._regenerate_entity_observations_serialize(
700
701
  bank_id=bank_id,
@@ -740,9 +741,9 @@ class EntitiesApi:
740
741
  _headers: Optional[Dict[StrictStr, Any]] = None,
741
742
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
742
743
  ) -> ApiResponse[EntityDetailResponse]:
743
- """Regenerate entity observations
744
+ """(Deprecated) Regenerate entity observations (deprecated)
744
745
 
745
- Regenerate observations for an entity based on all facts mentioning it.
746
+ This endpoint is deprecated. Entity observations have been replaced by mental models.
746
747
 
747
748
  :param bank_id: (required)
748
749
  :type bank_id: str
@@ -771,6 +772,7 @@ class EntitiesApi:
771
772
  :type _host_index: int, optional
772
773
  :return: Returns the result object.
773
774
  """ # noqa: E501
775
+ warnings.warn("POST /v1/default/banks/{bank_id}/entities/{entity_id}/regenerate is deprecated.", DeprecationWarning)
774
776
 
775
777
  _param = self._regenerate_entity_observations_serialize(
776
778
  bank_id=bank_id,
@@ -816,9 +818,9 @@ class EntitiesApi:
816
818
  _headers: Optional[Dict[StrictStr, Any]] = None,
817
819
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
818
820
  ) -> RESTResponseType:
819
- """Regenerate entity observations
821
+ """(Deprecated) Regenerate entity observations (deprecated)
820
822
 
821
- Regenerate observations for an entity based on all facts mentioning it.
823
+ This endpoint is deprecated. Entity observations have been replaced by mental models.
822
824
 
823
825
  :param bank_id: (required)
824
826
  :type bank_id: str
@@ -847,6 +849,7 @@ class EntitiesApi:
847
849
  :type _host_index: int, optional
848
850
  :return: Returns the result object.
849
851
  """ # noqa: E501
852
+ warnings.warn("POST /v1/default/banks/{bank_id}/entities/{entity_id}/regenerate is deprecated.", DeprecationWarning)
850
853
 
851
854
  _param = self._regenerate_entity_observations_serialize(
852
855
  bank_id=bank_id,