Commit 9227c17 1 parent ea91ca9 commit 9227c17 Copy full SHA for 9227c17
File tree 3 files changed +52
-2
lines changed
3 files changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,56 @@ def name(self) -> str:
184
184
"""
185
185
return self .agent_informations ["name" ]
186
186
187
+ @property
188
+ def gender (self ) -> str :
189
+ """
190
+ Get the agent's gender.
191
+
192
+ Returns:
193
+ str: The gender of the agent.
194
+ """
195
+ return self .agent_informations ["gender" ]
196
+
197
+ @property
198
+ def age (self ) -> int :
199
+ """
200
+ Get the agent's age.
201
+
202
+ Returns:
203
+ int: The age of the agent.
204
+ """
205
+ return self .agent_informations ["age" ]
206
+
207
+ @property
208
+ def occupation (self ) -> str :
209
+ """
210
+ Get the agent's occupation.
211
+
212
+ Returns:
213
+ str: The occupation of the agent.
214
+ """
215
+ return self .agent_informations ["occupation" ]
216
+
217
+ @property
218
+ def location (self ) -> str :
219
+ """
220
+ Get the agent's location.
221
+
222
+ Returns:
223
+ str: The location of the agent.
224
+ """
225
+ return self .agent_informations ["location" ]
226
+
227
+ @property
228
+ def bio (self ) -> str :
229
+ """
230
+ Get the agent's biography.
231
+
232
+ Returns:
233
+ str: The biography of the agent.
234
+ """
235
+ return self .agent_informations ["bio" ]
236
+
187
237
@staticmethod
188
238
def _generate_prompt_to_generate_bio (** kwargs ) -> str :
189
239
"""
Original file line number Diff line number Diff line change 3
3
from .AgentInteractionManager import AgentInteractionManager
4
4
from .Interaction import Interaction
5
5
6
- __version__ = "0.2.5 "
6
+ __version__ = "0.2.7 "
7
7
8
8
__all__ = [
9
9
"Agent" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project ]
6
6
name = " agentarium"
7
- version = " 0.2.6 "
7
+ version = " 0.2.7 "
8
8
authors = [
9
9
{ name = " thytu" },
10
10
]
You can’t perform that action at this time.
0 commit comments