hindsight-client 0.0.18__py3-none-any.whl → 0.0.20__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 (36) hide show
  1. hindsight_client/hindsight_client.py +3 -3
  2. hindsight_client-0.0.20.dist-info/METADATA +18 -0
  3. {hindsight_client-0.0.18.dist-info → hindsight_client-0.0.20.dist-info}/RECORD +34 -34
  4. hindsight_client_api/__init__.py +4 -4
  5. hindsight_client_api/api/default_api.py +56 -56
  6. hindsight_client_api/api/monitoring_api.py +245 -0
  7. hindsight_client_api/docs/AddBackgroundRequest.md +1 -1
  8. hindsight_client_api/docs/BackgroundResponse.md +1 -1
  9. hindsight_client_api/docs/BankListItem.md +1 -1
  10. hindsight_client_api/docs/BankProfileResponse.md +1 -1
  11. hindsight_client_api/docs/CreateBankRequest.md +1 -1
  12. hindsight_client_api/docs/DefaultApi.md +21 -22
  13. hindsight_client_api/docs/{PersonalityTraits.md → DispositionTraits.md} +10 -10
  14. hindsight_client_api/docs/MonitoringApi.md +64 -0
  15. hindsight_client_api/docs/UpdateDispositionRequest.md +30 -0
  16. hindsight_client_api/models/__init__.py +2 -2
  17. hindsight_client_api/models/add_background_request.py +3 -3
  18. hindsight_client_api/models/background_response.py +10 -10
  19. hindsight_client_api/models/bank_list_item.py +7 -7
  20. hindsight_client_api/models/bank_profile_response.py +7 -7
  21. hindsight_client_api/models/create_bank_request.py +10 -10
  22. hindsight_client_api/models/{personality_traits.py → disposition_traits.py} +5 -5
  23. hindsight_client_api/models/{update_personality_request.py → update_disposition_request.py} +11 -11
  24. hindsight_client_api/test/test_add_background_request.py +1 -1
  25. hindsight_client_api/test/test_background_response.py +1 -1
  26. hindsight_client_api/test/test_bank_list_item.py +2 -2
  27. hindsight_client_api/test/test_bank_list_response.py +2 -2
  28. hindsight_client_api/test/test_bank_profile_response.py +2 -2
  29. hindsight_client_api/test/test_create_bank_request.py +1 -1
  30. hindsight_client_api/test/test_default_api.py +3 -3
  31. hindsight_client_api/test/{test_personality_traits.py → test_disposition_traits.py} +11 -11
  32. hindsight_client_api/test/test_monitoring_api.py +7 -0
  33. hindsight_client_api/test/{test_update_personality_request.py → test_update_disposition_request.py} +13 -13
  34. hindsight_client-0.0.18.dist-info/METADATA +0 -56
  35. hindsight_client_api/docs/UpdatePersonalityRequest.md +0 -30
  36. {hindsight_client-0.0.18.dist-info → hindsight_client-0.0.20.dist-info}/WHEEL +0 -0
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from hindsight_client_api.models.personality_traits import PersonalityTraits
22
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -28,8 +28,8 @@ class BackgroundResponse(BaseModel):
28
28
  Response model for background update.
29
29
  """ # noqa: E501
30
30
  background: StrictStr
31
- personality: Optional[PersonalityTraits] = None
32
- __properties: ClassVar[List[str]] = ["background", "personality"]
31
+ disposition: Optional[DispositionTraits] = None
32
+ __properties: ClassVar[List[str]] = ["background", "disposition"]
33
33
 
34
34
  model_config = ConfigDict(
35
35
  populate_by_name=True,
@@ -70,13 +70,13 @@ class BackgroundResponse(BaseModel):
70
70
  exclude=excluded_fields,
71
71
  exclude_none=True,
72
72
  )
73
- # override the default output from pydantic by calling `to_dict()` of personality
74
- if self.personality:
75
- _dict['personality'] = self.personality.to_dict()
76
- # set to None if personality (nullable) is None
73
+ # override the default output from pydantic by calling `to_dict()` of disposition
74
+ if self.disposition:
75
+ _dict['disposition'] = self.disposition.to_dict()
76
+ # set to None if disposition (nullable) is None
77
77
  # and model_fields_set contains the field
78
- if self.personality is None and "personality" in self.model_fields_set:
79
- _dict['personality'] = None
78
+ if self.disposition is None and "disposition" in self.model_fields_set:
79
+ _dict['disposition'] = None
80
80
 
81
81
  return _dict
82
82
 
@@ -91,7 +91,7 @@ class BackgroundResponse(BaseModel):
91
91
 
92
92
  _obj = cls.model_validate({
93
93
  "background": obj.get("background"),
94
- "personality": PersonalityTraits.from_dict(obj["personality"]) if obj.get("personality") is not None else None
94
+ "disposition": DispositionTraits.from_dict(obj["disposition"]) if obj.get("disposition") is not None else None
95
95
  })
96
96
  return _obj
97
97
 
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from hindsight_client_api.models.personality_traits import PersonalityTraits
22
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -29,11 +29,11 @@ class BankListItem(BaseModel):
29
29
  """ # noqa: E501
30
30
  bank_id: StrictStr
31
31
  name: StrictStr
32
- personality: PersonalityTraits
32
+ disposition: DispositionTraits
33
33
  background: StrictStr
34
34
  created_at: Optional[StrictStr] = None
35
35
  updated_at: Optional[StrictStr] = None
36
- __properties: ClassVar[List[str]] = ["bank_id", "name", "personality", "background", "created_at", "updated_at"]
36
+ __properties: ClassVar[List[str]] = ["bank_id", "name", "disposition", "background", "created_at", "updated_at"]
37
37
 
38
38
  model_config = ConfigDict(
39
39
  populate_by_name=True,
@@ -74,9 +74,9 @@ class BankListItem(BaseModel):
74
74
  exclude=excluded_fields,
75
75
  exclude_none=True,
76
76
  )
77
- # override the default output from pydantic by calling `to_dict()` of personality
78
- if self.personality:
79
- _dict['personality'] = self.personality.to_dict()
77
+ # override the default output from pydantic by calling `to_dict()` of disposition
78
+ if self.disposition:
79
+ _dict['disposition'] = self.disposition.to_dict()
80
80
  # set to None if created_at (nullable) is None
81
81
  # and model_fields_set contains the field
82
82
  if self.created_at is None and "created_at" in self.model_fields_set:
@@ -101,7 +101,7 @@ class BankListItem(BaseModel):
101
101
  _obj = cls.model_validate({
102
102
  "bank_id": obj.get("bank_id"),
103
103
  "name": obj.get("name"),
104
- "personality": PersonalityTraits.from_dict(obj["personality"]) if obj.get("personality") is not None else None,
104
+ "disposition": DispositionTraits.from_dict(obj["disposition"]) if obj.get("disposition") is not None else None,
105
105
  "background": obj.get("background"),
106
106
  "created_at": obj.get("created_at"),
107
107
  "updated_at": obj.get("updated_at")
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
- from hindsight_client_api.models.personality_traits import PersonalityTraits
22
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -29,9 +29,9 @@ class BankProfileResponse(BaseModel):
29
29
  """ # noqa: E501
30
30
  bank_id: StrictStr
31
31
  name: StrictStr
32
- personality: PersonalityTraits
32
+ disposition: DispositionTraits
33
33
  background: StrictStr
34
- __properties: ClassVar[List[str]] = ["bank_id", "name", "personality", "background"]
34
+ __properties: ClassVar[List[str]] = ["bank_id", "name", "disposition", "background"]
35
35
 
36
36
  model_config = ConfigDict(
37
37
  populate_by_name=True,
@@ -72,9 +72,9 @@ class BankProfileResponse(BaseModel):
72
72
  exclude=excluded_fields,
73
73
  exclude_none=True,
74
74
  )
75
- # override the default output from pydantic by calling `to_dict()` of personality
76
- if self.personality:
77
- _dict['personality'] = self.personality.to_dict()
75
+ # override the default output from pydantic by calling `to_dict()` of disposition
76
+ if self.disposition:
77
+ _dict['disposition'] = self.disposition.to_dict()
78
78
  return _dict
79
79
 
80
80
  @classmethod
@@ -89,7 +89,7 @@ class BankProfileResponse(BaseModel):
89
89
  _obj = cls.model_validate({
90
90
  "bank_id": obj.get("bank_id"),
91
91
  "name": obj.get("name"),
92
- "personality": PersonalityTraits.from_dict(obj["personality"]) if obj.get("personality") is not None else None,
92
+ "disposition": DispositionTraits.from_dict(obj["disposition"]) if obj.get("disposition") is not None else None,
93
93
  "background": obj.get("background")
94
94
  })
95
95
  return _obj
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from hindsight_client_api.models.personality_traits import PersonalityTraits
22
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -28,9 +28,9 @@ class CreateBankRequest(BaseModel):
28
28
  Request model for creating/updating a bank.
29
29
  """ # noqa: E501
30
30
  name: Optional[StrictStr] = None
31
- personality: Optional[PersonalityTraits] = None
31
+ disposition: Optional[DispositionTraits] = None
32
32
  background: Optional[StrictStr] = None
33
- __properties: ClassVar[List[str]] = ["name", "personality", "background"]
33
+ __properties: ClassVar[List[str]] = ["name", "disposition", "background"]
34
34
 
35
35
  model_config = ConfigDict(
36
36
  populate_by_name=True,
@@ -71,18 +71,18 @@ class CreateBankRequest(BaseModel):
71
71
  exclude=excluded_fields,
72
72
  exclude_none=True,
73
73
  )
74
- # override the default output from pydantic by calling `to_dict()` of personality
75
- if self.personality:
76
- _dict['personality'] = self.personality.to_dict()
74
+ # override the default output from pydantic by calling `to_dict()` of disposition
75
+ if self.disposition:
76
+ _dict['disposition'] = self.disposition.to_dict()
77
77
  # set to None if name (nullable) is None
78
78
  # and model_fields_set contains the field
79
79
  if self.name is None and "name" in self.model_fields_set:
80
80
  _dict['name'] = None
81
81
 
82
- # set to None if personality (nullable) is None
82
+ # set to None if disposition (nullable) is None
83
83
  # and model_fields_set contains the field
84
- if self.personality is None and "personality" in self.model_fields_set:
85
- _dict['personality'] = None
84
+ if self.disposition is None and "disposition" in self.model_fields_set:
85
+ _dict['disposition'] = None
86
86
 
87
87
  # set to None if background (nullable) is None
88
88
  # and model_fields_set contains the field
@@ -102,7 +102,7 @@ class CreateBankRequest(BaseModel):
102
102
 
103
103
  _obj = cls.model_validate({
104
104
  "name": obj.get("name"),
105
- "personality": PersonalityTraits.from_dict(obj["personality"]) if obj.get("personality") is not None else None,
105
+ "disposition": DispositionTraits.from_dict(obj["disposition"]) if obj.get("disposition") is not None else None,
106
106
  "background": obj.get("background")
107
107
  })
108
108
  return _obj
@@ -23,16 +23,16 @@ from typing_extensions import Annotated
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
26
- class PersonalityTraits(BaseModel):
26
+ class DispositionTraits(BaseModel):
27
27
  """
28
- Personality traits based on Big Five model.
28
+ Disposition traits based on Big Five model.
29
29
  """ # noqa: E501
30
30
  openness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Openness to experience (0-1)")
31
31
  conscientiousness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Conscientiousness (0-1)")
32
32
  extraversion: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Extraversion (0-1)")
33
33
  agreeableness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Agreeableness (0-1)")
34
34
  neuroticism: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Neuroticism (0-1)")
35
- bias_strength: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="How strongly personality influences opinions (0-1)")
35
+ bias_strength: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="How strongly disposition influences opinions (0-1)")
36
36
  __properties: ClassVar[List[str]] = ["openness", "conscientiousness", "extraversion", "agreeableness", "neuroticism", "bias_strength"]
37
37
 
38
38
  model_config = ConfigDict(
@@ -53,7 +53,7 @@ class PersonalityTraits(BaseModel):
53
53
 
54
54
  @classmethod
55
55
  def from_json(cls, json_str: str) -> Optional[Self]:
56
- """Create an instance of PersonalityTraits from a JSON string"""
56
+ """Create an instance of DispositionTraits from a JSON string"""
57
57
  return cls.from_dict(json.loads(json_str))
58
58
 
59
59
  def to_dict(self) -> Dict[str, Any]:
@@ -78,7 +78,7 @@ class PersonalityTraits(BaseModel):
78
78
 
79
79
  @classmethod
80
80
  def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
81
- """Create an instance of PersonalityTraits from a dict"""
81
+ """Create an instance of DispositionTraits from a dict"""
82
82
  if obj is None:
83
83
  return None
84
84
 
@@ -19,16 +19,16 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict
21
21
  from typing import Any, ClassVar, Dict, List
22
- from hindsight_client_api.models.personality_traits import PersonalityTraits
22
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
26
- class UpdatePersonalityRequest(BaseModel):
26
+ class UpdateDispositionRequest(BaseModel):
27
27
  """
28
- Request model for updating personality traits.
28
+ Request model for updating disposition traits.
29
29
  """ # noqa: E501
30
- personality: PersonalityTraits
31
- __properties: ClassVar[List[str]] = ["personality"]
30
+ disposition: DispositionTraits
31
+ __properties: ClassVar[List[str]] = ["disposition"]
32
32
 
33
33
  model_config = ConfigDict(
34
34
  populate_by_name=True,
@@ -48,7 +48,7 @@ class UpdatePersonalityRequest(BaseModel):
48
48
 
49
49
  @classmethod
50
50
  def from_json(cls, json_str: str) -> Optional[Self]:
51
- """Create an instance of UpdatePersonalityRequest from a JSON string"""
51
+ """Create an instance of UpdateDispositionRequest from a JSON string"""
52
52
  return cls.from_dict(json.loads(json_str))
53
53
 
54
54
  def to_dict(self) -> Dict[str, Any]:
@@ -69,14 +69,14 @@ class UpdatePersonalityRequest(BaseModel):
69
69
  exclude=excluded_fields,
70
70
  exclude_none=True,
71
71
  )
72
- # override the default output from pydantic by calling `to_dict()` of personality
73
- if self.personality:
74
- _dict['personality'] = self.personality.to_dict()
72
+ # override the default output from pydantic by calling `to_dict()` of disposition
73
+ if self.disposition:
74
+ _dict['disposition'] = self.disposition.to_dict()
75
75
  return _dict
76
76
 
77
77
  @classmethod
78
78
  def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
79
- """Create an instance of UpdatePersonalityRequest from a dict"""
79
+ """Create an instance of UpdateDispositionRequest from a dict"""
80
80
  if obj is None:
81
81
  return None
82
82
 
@@ -84,7 +84,7 @@ class UpdatePersonalityRequest(BaseModel):
84
84
  return cls.model_validate(obj)
85
85
 
86
86
  _obj = cls.model_validate({
87
- "personality": PersonalityTraits.from_dict(obj["personality"]) if obj.get("personality") is not None else None
87
+ "disposition": DispositionTraits.from_dict(obj["disposition"]) if obj.get("disposition") is not None else None
88
88
  })
89
89
  return _obj
90
90
 
@@ -36,7 +36,7 @@ class TestAddBackgroundRequest(unittest.TestCase):
36
36
  if include_optional:
37
37
  return AddBackgroundRequest(
38
38
  content = '',
39
- update_personality = True
39
+ update_disposition = True
40
40
  )
41
41
  else:
42
42
  return AddBackgroundRequest(
@@ -36,7 +36,7 @@ class TestBackgroundResponse(unittest.TestCase):
36
36
  if include_optional:
37
37
  return BackgroundResponse(
38
38
  background = '',
39
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
39
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
40
40
  )
41
41
  else:
42
42
  return BackgroundResponse(
@@ -37,7 +37,7 @@ class TestBankListItem(unittest.TestCase):
37
37
  return BankListItem(
38
38
  bank_id = '',
39
39
  name = '',
40
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
41
41
  background = '',
42
42
  created_at = '',
43
43
  updated_at = ''
@@ -46,7 +46,7 @@ class TestBankListItem(unittest.TestCase):
46
46
  return BankListItem(
47
47
  bank_id = '',
48
48
  name = '',
49
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
49
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
50
50
  background = '',
51
51
  )
52
52
  """
@@ -39,7 +39,7 @@ class TestBankListResponse(unittest.TestCase):
39
39
  hindsight_client_api.models.bank_list_item.BankListItem(
40
40
  bank_id = '',
41
41
  name = '',
42
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
42
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
43
43
  background = '',
44
44
  created_at = '',
45
45
  updated_at = '', )
@@ -51,7 +51,7 @@ class TestBankListResponse(unittest.TestCase):
51
51
  hindsight_client_api.models.bank_list_item.BankListItem(
52
52
  bank_id = '',
53
53
  name = '',
54
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
54
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
55
55
  background = '',
56
56
  created_at = '',
57
57
  updated_at = '', )
@@ -37,14 +37,14 @@ class TestBankProfileResponse(unittest.TestCase):
37
37
  return BankProfileResponse(
38
38
  bank_id = '',
39
39
  name = '',
40
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
41
41
  background = ''
42
42
  )
43
43
  else:
44
44
  return BankProfileResponse(
45
45
  bank_id = '',
46
46
  name = '',
47
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
47
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
48
48
  background = '',
49
49
  )
50
50
  """
@@ -36,7 +36,7 @@ class TestCreateBankRequest(unittest.TestCase):
36
36
  if include_optional:
37
37
  return CreateBankRequest(
38
38
  name = '',
39
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
39
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
40
  background = ''
41
41
  )
42
42
  else:
@@ -166,10 +166,10 @@ class TestDefaultApi(unittest.IsolatedAsyncioTestCase):
166
166
  """
167
167
  pass
168
168
 
169
- async def test_update_bank_personality(self) -> None:
170
- """Test case for update_bank_personality
169
+ async def test_update_bank_disposition(self) -> None:
170
+ """Test case for update_bank_disposition
171
171
 
172
- Update memory bank personality
172
+ Update memory bank disposition
173
173
  """
174
174
  pass
175
175
 
@@ -14,10 +14,10 @@
14
14
 
15
15
  import unittest
16
16
 
17
- from hindsight_client_api.models.personality_traits import PersonalityTraits
17
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
18
18
 
19
- class TestPersonalityTraits(unittest.TestCase):
20
- """PersonalityTraits unit test stubs"""
19
+ class TestDispositionTraits(unittest.TestCase):
20
+ """DispositionTraits unit test stubs"""
21
21
 
22
22
  def setUp(self):
23
23
  pass
@@ -25,16 +25,16 @@ class TestPersonalityTraits(unittest.TestCase):
25
25
  def tearDown(self):
26
26
  pass
27
27
 
28
- def make_instance(self, include_optional) -> PersonalityTraits:
29
- """Test PersonalityTraits
28
+ def make_instance(self, include_optional) -> DispositionTraits:
29
+ """Test DispositionTraits
30
30
  include_optional is a boolean, when False only required
31
31
  params are included, when True both required and
32
32
  optional params are included """
33
- # uncomment below to create an instance of `PersonalityTraits`
33
+ # uncomment below to create an instance of `DispositionTraits`
34
34
  """
35
- model = PersonalityTraits()
35
+ model = DispositionTraits()
36
36
  if include_optional:
37
- return PersonalityTraits(
37
+ return DispositionTraits(
38
38
  openness = 0.0,
39
39
  conscientiousness = 0.0,
40
40
  extraversion = 0.0,
@@ -43,7 +43,7 @@ class TestPersonalityTraits(unittest.TestCase):
43
43
  bias_strength = 0.0
44
44
  )
45
45
  else:
46
- return PersonalityTraits(
46
+ return DispositionTraits(
47
47
  openness = 0.0,
48
48
  conscientiousness = 0.0,
49
49
  extraversion = 0.0,
@@ -53,8 +53,8 @@ class TestPersonalityTraits(unittest.TestCase):
53
53
  )
54
54
  """
55
55
 
56
- def testPersonalityTraits(self):
57
- """Test PersonalityTraits"""
56
+ def testDispositionTraits(self):
57
+ """Test DispositionTraits"""
58
58
  # inst_req_only = self.make_instance(include_optional=False)
59
59
  # inst_req_and_optional = self.make_instance(include_optional=True)
60
60
 
@@ -26,6 +26,13 @@ class TestMonitoringApi(unittest.IsolatedAsyncioTestCase):
26
26
  async def asyncTearDown(self) -> None:
27
27
  await self.api.api_client.close()
28
28
 
29
+ async def test_health_endpoint_health_get(self) -> None:
30
+ """Test case for health_endpoint_health_get
31
+
32
+ Health check endpoint
33
+ """
34
+ pass
35
+
29
36
  async def test_metrics_endpoint_metrics_get(self) -> None:
30
37
  """Test case for metrics_endpoint_metrics_get
31
38
 
@@ -14,10 +14,10 @@
14
14
 
15
15
  import unittest
16
16
 
17
- from hindsight_client_api.models.update_personality_request import UpdatePersonalityRequest
17
+ from hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
18
18
 
19
- class TestUpdatePersonalityRequest(unittest.TestCase):
20
- """UpdatePersonalityRequest unit test stubs"""
19
+ class TestUpdateDispositionRequest(unittest.TestCase):
20
+ """UpdateDispositionRequest unit test stubs"""
21
21
 
22
22
  def setUp(self):
23
23
  pass
@@ -25,26 +25,26 @@ class TestUpdatePersonalityRequest(unittest.TestCase):
25
25
  def tearDown(self):
26
26
  pass
27
27
 
28
- def make_instance(self, include_optional) -> UpdatePersonalityRequest:
29
- """Test UpdatePersonalityRequest
28
+ def make_instance(self, include_optional) -> UpdateDispositionRequest:
29
+ """Test UpdateDispositionRequest
30
30
  include_optional is a boolean, when False only required
31
31
  params are included, when True both required and
32
32
  optional params are included """
33
- # uncomment below to create an instance of `UpdatePersonalityRequest`
33
+ # uncomment below to create an instance of `UpdateDispositionRequest`
34
34
  """
35
- model = UpdatePersonalityRequest()
35
+ model = UpdateDispositionRequest()
36
36
  if include_optional:
37
- return UpdatePersonalityRequest(
38
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
37
+ return UpdateDispositionRequest(
38
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
39
39
  )
40
40
  else:
41
- return UpdatePersonalityRequest(
42
- personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
41
+ return UpdateDispositionRequest(
42
+ disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
43
43
  )
44
44
  """
45
45
 
46
- def testUpdatePersonalityRequest(self):
47
- """Test UpdatePersonalityRequest"""
46
+ def testUpdateDispositionRequest(self):
47
+ """Test UpdateDispositionRequest"""
48
48
  # inst_req_only = self.make_instance(include_optional=False)
49
49
  # inst_req_and_optional = self.make_instance(include_optional=True)
50
50
 
@@ -1,56 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: hindsight-client
3
- Version: 0.0.18
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](https://github.com/vectorize-io/hindsight).
@@ -1,30 +0,0 @@
1
- # UpdatePersonalityRequest
2
-
3
- Request model for updating personality traits.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **personality** | [**PersonalityTraits**](PersonalityTraits.md) | |
10
-
11
- ## Example
12
-
13
- ```python
14
- from hindsight_client_api.models.update_personality_request import UpdatePersonalityRequest
15
-
16
- # TODO update the JSON string below
17
- json = "{}"
18
- # create an instance of UpdatePersonalityRequest from a JSON string
19
- update_personality_request_instance = UpdatePersonalityRequest.from_json(json)
20
- # print the JSON string representation of the object
21
- print(UpdatePersonalityRequest.to_json())
22
-
23
- # convert the object into a dict
24
- update_personality_request_dict = update_personality_request_instance.to_dict()
25
- # create an instance of UpdatePersonalityRequest from a dict
26
- update_personality_request_from_dict = UpdatePersonalityRequest.from_dict(update_personality_request_dict)
27
- ```
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29
-
30
-