amigo_sdk 0.44.0__py3-none-any.whl → 0.46.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.

Potentially problematic release.


This version of amigo_sdk might be problematic. Click here for more details.

amigo_sdk/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.44.0"
1
+ __version__ = "0.46.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2025-10-07T17:34:47+00:00
3
+ # timestamp: 2025-10-10T20:53:11+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -220,11 +220,6 @@ class DynamicBehaviorInvocation(BaseModel):
220
220
  )
221
221
 
222
222
 
223
- class EmitEventSideEffect(BaseModel):
224
- type: Literal['emit-event'] = Field(..., title='Type')
225
- event_name: str = Field(..., title='Event Name')
226
-
227
-
228
223
  class EndSessionEvent(BaseModel):
229
224
  type: Literal['end-session'] = Field('end-session', title='Type')
230
225
 
@@ -8906,68 +8901,6 @@ class SelectDynamicBehaviorVectorGeneratedEvent(BaseModel):
8906
8901
  )
8907
8902
 
8908
8903
 
8909
- class SendEmailSideEffect(BaseModel):
8910
- type: Literal['send-email'] = Field(..., title='Type')
8911
- subject: str = Field(..., description='The subject of the email.', title='Subject')
8912
- body_template_text: str = Field(
8913
- ...,
8914
- description='The text of the Jinja2 template of the email body.',
8915
- title='Body Template Text',
8916
- )
8917
- recipients: List[str] = Field(
8918
- ...,
8919
- description='A list of email addresses to send the email to.',
8920
- title='Recipients',
8921
- )
8922
- sender: str = Field(
8923
- ...,
8924
- description='The email address of the sender. Must be an email address that ends with `@amigo.ai`',
8925
- title='Sender',
8926
- )
8927
-
8928
-
8929
- class SideEffectStateNextState(AnnotationStateInputNextState):
8930
- pass
8931
-
8932
-
8933
- class SideEffectState(BaseModel):
8934
- type: Literal['side-effect'] = Field(..., title='Type')
8935
- next_state: Union[str, SideEffectStateNextState] = Field(..., title='Next State')
8936
- side_effect: Union[SendEmailSideEffect, EmitEventSideEffect] = Field(
8937
- ..., discriminator='type'
8938
- )
8939
-
8940
-
8941
- class SideEffectStateTransitionLog(BaseModel):
8942
- previous_state: str = Field(
8943
- ...,
8944
- description='Name of the previous state to transition from.',
8945
- title='Previous State',
8946
- )
8947
- previous_service_hierarchical_state_machine_version_info: List = Field(
8948
- ...,
8949
- description='The identifier of the service hierarchical state machine that the previous state is in.',
8950
- max_length=2,
8951
- min_length=2,
8952
- title='Previous Service Hierarchical State Machine Version Info',
8953
- )
8954
- next_state: str = Field(
8955
- ..., description='Name of the next state to transition to.', title='Next State'
8956
- )
8957
- next_service_hierarchical_state_machine_version_info: List = Field(
8958
- ...,
8959
- description='The identifier of the service hierarchical state machine that the next state is in.',
8960
- max_length=2,
8961
- min_length=2,
8962
- title='Next Service Hierarchical State Machine Version Info',
8963
- )
8964
- type: Literal['side-effect'] = Field(
8965
- 'side-effect',
8966
- description="The type of the state transition log, which is the type of the state we're transitioning from.",
8967
- title='Type',
8968
- )
8969
-
8970
-
8971
8904
  class SimulationEvaluationSource(BaseModel):
8972
8905
  type: Literal['simulation'] = Field('simulation', title='Type')
8973
8906
  simulation_unit_test_set_run_id: str = Field(
@@ -9419,10 +9352,8 @@ class VersionComponent(RootModel[Union[int, str]]):
9419
9352
 
9420
9353
 
9421
9354
  class VoiceConfigInput(BaseModel):
9422
- voice_id: Optional[str] = Field(
9423
- '4rgS68aOYqDjxDQQVXXK',
9424
- description='The Elevenlabs voice ID for this agent.',
9425
- title='Voice Id',
9355
+ voice_id: str = Field(
9356
+ ..., description='The Elevenlabs voice ID for this agent.', title='Voice Id'
9426
9357
  )
9427
9358
  stability: Optional[float] = Field(0.35, ge=0.0, le=1.0, title='Stability')
9428
9359
  similarity_boost: Optional[float] = Field(
@@ -9432,10 +9363,8 @@ class VoiceConfigInput(BaseModel):
9432
9363
 
9433
9364
 
9434
9365
  class VoiceConfigOutput(BaseModel):
9435
- voice_id: Optional[str] = Field(
9436
- '4rgS68aOYqDjxDQQVXXK',
9437
- description='The Elevenlabs voice ID for this agent.',
9438
- title='Voice Id',
9366
+ voice_id: str = Field(
9367
+ ..., description='The Elevenlabs voice ID for this agent.', title='Voice Id'
9439
9368
  )
9440
9369
  stability: Optional[float] = Field(
9441
9370
  0.35,
@@ -11906,7 +11835,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11906
11835
  [], description='The IDs of the messages to retrieve.', title='Id'
11907
11836
  )
11908
11837
  message_type: Optional[List[MessageType]] = Field(
11909
- ['user-message', 'external-event', 'agent-message'],
11838
+ ['agent-message', 'external-event', 'user-message'],
11910
11839
  description='The type of messages to retrieve.',
11911
11840
  title='Message Type',
11912
11841
  )
@@ -13373,7 +13302,7 @@ class AnnotationStateInput(BaseModel):
13373
13302
  class CategoricalMetricSuccessCriterionInput(BaseModel):
13374
13303
  type: Literal['categorical'] = Field(..., title='Type')
13375
13304
  expected_values: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
13376
- ..., min_length=2, title='Expected Values'
13305
+ ..., min_length=1, title='Expected Values'
13377
13306
  )
13378
13307
 
13379
13308
 
@@ -14216,7 +14145,6 @@ class ConversationGetInteractionInsightsResponse(BaseModel):
14216
14145
  JumpbackStateTransitionLog,
14217
14146
  AnnotationStateTransitionLog,
14218
14147
  ReflectionStateTransitionLog,
14219
- SideEffectStateTransitionLog,
14220
14148
  ]
14221
14149
  ] = Field(
14222
14150
  ...,
@@ -15232,7 +15160,6 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
15232
15160
  RecallStateOutput,
15233
15161
  AnnotationStateOutput,
15234
15162
  ReflectionStateOutput,
15235
- SideEffectState,
15236
15163
  ],
15237
15164
  ] = Field(..., description='The states in this state machine.', title='States')
15238
15165
  new_user_initial_state: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.44.0
3
+ Version: 0.46.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- amigo_sdk/__init__.py,sha256=guIPTwP2Do04VjB_2kSPX2DMDCMVIdMzuI-3lVBZ7WE,139
1
+ amigo_sdk/__init__.py,sha256=kgT1kmciXgiuXuUciu754wavhqIkDnsqCD-cdmFTqrc,139
2
2
  amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
3
3
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
4
4
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
6
6
  amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
9
- amigo_sdk/generated/model.py,sha256=NV6Ot6F3MtRrIHSvEgc_UBKDittIROsMp4WCyKpSjXY,438404
9
+ amigo_sdk/generated/model.py,sha256=VXOWG7AVKqHEvROp18PlBMGcCVrrmp0sA3k5wSZ5E3M,435864
10
10
  amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
13
13
  amigo_sdk/resources/user.py,sha256=i4t5aVzBI37KwAtLKSDWTMwf4D4KQdSDoUiblFe1u7o,3529
14
- amigo_sdk-0.44.0.dist-info/METADATA,sha256=CpAuLZjUkNGXpEHqT2DQ0kb7JkUFoRdiw0o_76Zub4E,8350
15
- amigo_sdk-0.44.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.44.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.44.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.44.0.dist-info/RECORD,,
14
+ amigo_sdk-0.46.0.dist-info/METADATA,sha256=13LdruS-6llXIEeHtppWc5pGCQb1JTKHZwufwDzggYg,8350
15
+ amigo_sdk-0.46.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.46.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.46.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.46.0.dist-info/RECORD,,