amigo_sdk 0.63.0__py3-none-any.whl → 0.65.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.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +351 -255
- amigo_sdk/resources/user.py +2 -2
- {amigo_sdk-0.63.0.dist-info → amigo_sdk-0.65.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.63.0.dist-info → amigo_sdk-0.65.0.dist-info}/RECORD +8 -8
- {amigo_sdk-0.63.0.dist-info → amigo_sdk-0.65.0.dist-info}/WHEEL +1 -1
- {amigo_sdk-0.63.0.dist-info → amigo_sdk-0.65.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.63.0.dist-info → amigo_sdk-0.65.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-
|
|
3
|
+
# timestamp: 2025-12-01T18:23:21+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
7
7
|
from datetime import timedelta
|
|
8
|
-
from enum import Enum
|
|
8
|
+
from enum import Enum, IntEnum
|
|
9
9
|
from typing import Any, Dict, List, Literal, Optional, Union
|
|
10
10
|
|
|
11
|
-
from pydantic import
|
|
11
|
+
from pydantic import (
|
|
12
|
+
AnyUrl,
|
|
13
|
+
AwareDatetime,
|
|
14
|
+
BaseModel,
|
|
15
|
+
ConfigDict,
|
|
16
|
+
EmailStr,
|
|
17
|
+
Field,
|
|
18
|
+
RootModel,
|
|
19
|
+
)
|
|
12
20
|
|
|
13
21
|
|
|
14
22
|
class ActionTooLongEvent(BaseModel):
|
|
@@ -499,20 +507,7 @@ class JumpbackStateTransitionLog(BaseModel):
|
|
|
499
507
|
)
|
|
500
508
|
|
|
501
509
|
|
|
502
|
-
class LLMLoadBalancingSetType(Enum):
|
|
503
|
-
o4_mini_2025_04_16 = 'o4-mini-2025-04-16'
|
|
504
|
-
gpt_5_2025_08_07 = 'gpt-5-2025-08-07'
|
|
505
|
-
gpt_5_mini_2025_08_07 = 'gpt-5-mini-2025-08-07'
|
|
506
|
-
gpt_5_nano_2025_08_07 = 'gpt-5-nano-2025-08-07'
|
|
507
|
-
claude_sonnet_4_5_20250929 = 'claude-sonnet-4-5-20250929'
|
|
508
|
-
|
|
509
|
-
|
|
510
510
|
class LLMType(Enum):
|
|
511
|
-
openai_o4_mini_2025_04_16 = 'openai_o4-mini-2025-04-16'
|
|
512
|
-
openai_gpt_5_2025_08_07 = 'openai_gpt-5-2025-08-07'
|
|
513
|
-
openai_gpt_5_mini_2025_08_07 = 'openai_gpt-5-mini-2025-08-07'
|
|
514
|
-
openai_gpt_5_nano_2025_08_07 = 'openai_gpt-5-nano-2025-08-07'
|
|
515
|
-
azure_o4_mini_2025_04_16 = 'azure_o4-mini-2025-04-16'
|
|
516
511
|
azure_gpt_4_1_2025_04_14 = 'azure_gpt-4.1-2025-04-14'
|
|
517
512
|
azure_gpt_4_1_mini_2025_04_14 = 'azure_gpt-4.1-mini-2025-04-14'
|
|
518
513
|
azure_gpt_5_2025_08_07 = 'azure_gpt-5-2025-08-07'
|
|
@@ -520,7 +515,6 @@ class LLMType(Enum):
|
|
|
520
515
|
azure_gpt_5_nano_2025_08_07 = 'azure_gpt-5-nano-2025-08-07'
|
|
521
516
|
google_claude_sonnet_4_5_20250929 = 'google_claude-sonnet-4-5@20250929'
|
|
522
517
|
aws_claude_sonnet_4_5_20250929 = 'aws_claude-sonnet-4-5-20250929'
|
|
523
|
-
anthropic_claude_sonnet_4_5_20250929 = 'anthropic_claude-sonnet-4-5-20250929'
|
|
524
518
|
google_gemini_2_5_pro = 'google_gemini-2.5-pro'
|
|
525
519
|
google_gemini_2_5_flash = 'google_gemini-2.5-flash'
|
|
526
520
|
|
|
@@ -566,6 +560,14 @@ class MetricValueType(Enum):
|
|
|
566
560
|
categorical = 'categorical'
|
|
567
561
|
|
|
568
562
|
|
|
563
|
+
class Model(BaseModel):
|
|
564
|
+
model_config = ConfigDict(
|
|
565
|
+
extra='allow',
|
|
566
|
+
)
|
|
567
|
+
name: str = Field(..., title='Name')
|
|
568
|
+
params_model_schema: Dict[str, Any] = Field(..., title='Params Model Schema')
|
|
569
|
+
|
|
570
|
+
|
|
569
571
|
class NavigateStateMachineActionStateActionSelectedEvent(BaseModel):
|
|
570
572
|
type: Literal['navigate-state-machine-action-state-action-selected'] = Field(
|
|
571
573
|
'navigate-state-machine-action-state-action-selected', title='Type'
|
|
@@ -785,32 +787,20 @@ class NumericalMetricValue(BaseModel):
|
|
|
785
787
|
upper_bound: float = Field(..., title='Upper Bound')
|
|
786
788
|
|
|
787
789
|
|
|
788
|
-
class PCMUserMessageAudioConfigSampleWidth(
|
|
790
|
+
class PCMUserMessageAudioConfigSampleWidth(IntEnum):
|
|
789
791
|
integer_2 = 2
|
|
790
792
|
integer_4 = 4
|
|
791
793
|
|
|
792
794
|
|
|
793
795
|
class PCMUserMessageAudioConfig(BaseModel):
|
|
794
796
|
type: Literal['pcm'] = Field('pcm', title='Type')
|
|
795
|
-
frame_rate: int = Field(..., title='Frame Rate')
|
|
797
|
+
frame_rate: int = Field(..., ge=4000, le=44100, title='Frame Rate')
|
|
796
798
|
n_channels: Literal[1] = Field(..., title='N Channels')
|
|
797
799
|
sample_width: PCMUserMessageAudioConfigSampleWidth = Field(
|
|
798
800
|
..., title='Sample Width'
|
|
799
801
|
)
|
|
800
802
|
|
|
801
803
|
|
|
802
|
-
class PerLLMConfig(BaseModel):
|
|
803
|
-
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
804
|
-
temperature: float = Field(
|
|
805
|
-
..., description='The preferred temperature value.', title='Temperature'
|
|
806
|
-
)
|
|
807
|
-
top_k: int = Field(
|
|
808
|
-
...,
|
|
809
|
-
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
810
|
-
title='Top K',
|
|
811
|
-
)
|
|
812
|
-
|
|
813
|
-
|
|
814
804
|
class PostAnalysisType(Enum):
|
|
815
805
|
generate_user_models = 'generate-user-models'
|
|
816
806
|
extract_memories = 'extract-memories'
|
|
@@ -1465,6 +1455,35 @@ class VersionComponent(RootModel[Union[int, str]]):
|
|
|
1465
1455
|
root: Union[int, str]
|
|
1466
1456
|
|
|
1467
1457
|
|
|
1458
|
+
class VoiceResponseMP3AudioFormatSampleRate(IntEnum):
|
|
1459
|
+
integer_22050 = 22050
|
|
1460
|
+
integer_44100 = 44100
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
class VoiceResponseMP3AudioFormatSampleWidth(IntEnum):
|
|
1464
|
+
integer_4 = 4
|
|
1465
|
+
integer_8 = 8
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
class VoiceResponseMP3AudioFormat(BaseModel):
|
|
1469
|
+
type: Literal['mp3'] = Field('mp3', title='Type')
|
|
1470
|
+
sample_rate: VoiceResponseMP3AudioFormatSampleRate = Field(..., title='Sample Rate')
|
|
1471
|
+
sample_width: VoiceResponseMP3AudioFormatSampleWidth = Field(
|
|
1472
|
+
..., title='Sample Width'
|
|
1473
|
+
)
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
class VoiceResponsePCMAudioFormatSampleRate(IntEnum):
|
|
1477
|
+
integer_8000 = 8000
|
|
1478
|
+
integer_16000 = 16000
|
|
1479
|
+
integer_44100 = 44100
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
class VoiceResponsePCMAudioFormat(BaseModel):
|
|
1483
|
+
type: Literal['pcm'] = Field('pcm', title='Type')
|
|
1484
|
+
sample_rate: VoiceResponsePCMAudioFormatSampleRate = Field(..., title='Sample Rate')
|
|
1485
|
+
|
|
1486
|
+
|
|
1468
1487
|
class WebhookDeliveryStatus(Enum):
|
|
1469
1488
|
success = 'success'
|
|
1470
1489
|
failed = 'failed'
|
|
@@ -1523,27 +1542,8 @@ class AmigoLibLlmLlmBaseLLMConfig(BaseModel):
|
|
|
1523
1542
|
llm_name: str = Field(
|
|
1524
1543
|
..., description='The name of the LLM to use.', title='Llm Name'
|
|
1525
1544
|
)
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
..., description='The preferred temperature value.', title='Temperature'
|
|
1529
|
-
)
|
|
1530
|
-
top_k: int = Field(
|
|
1531
|
-
...,
|
|
1532
|
-
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
1533
|
-
title='Top K',
|
|
1534
|
-
)
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
class AmigoLibLlmLlmBaseLLMLoadBalancingSetConfig(BaseModel):
|
|
1538
|
-
llm_load_balancing_set_name: str = Field(
|
|
1539
|
-
...,
|
|
1540
|
-
description='The name of the LLM load balancing set.',
|
|
1541
|
-
title='Llm Load Balancing Set Name',
|
|
1542
|
-
)
|
|
1543
|
-
configs: Dict[str, PerLLMConfig] = Field(
|
|
1544
|
-
...,
|
|
1545
|
-
description='A map of canonical names of LLMs in this load balancing set to the LLM config to use. If an LLM in the load balancing set\ndoes not have a config, its default config would be used.',
|
|
1546
|
-
title='Configs',
|
|
1545
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
1546
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
1547
1547
|
)
|
|
1548
1548
|
|
|
1549
1549
|
|
|
@@ -1630,11 +1630,6 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
|
|
|
1630
1630
|
deny = 'Deny'
|
|
1631
1631
|
|
|
1632
1632
|
|
|
1633
|
-
class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
|
|
1634
|
-
key: str = Field(..., title='Key')
|
|
1635
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
1633
|
class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1639
1634
|
agent_version_number: Optional[int] = Field(
|
|
1640
1635
|
...,
|
|
@@ -1646,10 +1641,7 @@ class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
|
1646
1641
|
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
1647
1642
|
title='Service Hierarchical State Machine Version Number',
|
|
1648
1643
|
)
|
|
1649
|
-
llm_model_preferences: Dict[
|
|
1650
|
-
str,
|
|
1651
|
-
Union[AmigoLibLlmLlmBaseLLMConfig, AmigoLibLlmLlmBaseLLMLoadBalancingSetConfig],
|
|
1652
|
-
] = Field(
|
|
1644
|
+
llm_model_preferences: Dict[str, AmigoLibLlmLlmBaseLLMConfig] = Field(
|
|
1653
1645
|
...,
|
|
1654
1646
|
description='A map of `LLMInteraction` name to the preferred LLM config that can be used for that interaction.\nIf an `LLMInteraction` is not in this map, the default model config will be used (defined in each `LLMInteraction` instance).',
|
|
1655
1647
|
title='Llm Model Preferences',
|
|
@@ -1671,6 +1663,11 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
|
1671
1663
|
)
|
|
1672
1664
|
|
|
1673
1665
|
|
|
1666
|
+
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1667
|
+
key: str = Field(..., title='Key')
|
|
1668
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1669
|
+
|
|
1670
|
+
|
|
1674
1671
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1675
1672
|
BaseModel
|
|
1676
1673
|
):
|
|
@@ -1761,6 +1758,13 @@ class AmigoLibPydanticBaseModelStrippedNonemptyString3(RootModel[str]):
|
|
|
1761
1758
|
root: str = Field(..., max_length=3, min_length=1)
|
|
1762
1759
|
|
|
1763
1760
|
|
|
1761
|
+
class AdminGetModelsResponse(BaseModel):
|
|
1762
|
+
model_config = ConfigDict(
|
|
1763
|
+
extra='allow',
|
|
1764
|
+
)
|
|
1765
|
+
models: List[Model] = Field(..., title='Models')
|
|
1766
|
+
|
|
1767
|
+
|
|
1764
1768
|
class AdminSubmitSqlQueryRequest(BaseModel):
|
|
1765
1769
|
sql_query: str = Field(..., description='The SQL query to execute.', min_length=1)
|
|
1766
1770
|
async_query: Literal[False] = Field(
|
|
@@ -1951,6 +1955,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1951
1955
|
)
|
|
1952
1956
|
|
|
1953
1957
|
|
|
1958
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1959
|
+
BaseModel
|
|
1960
|
+
):
|
|
1961
|
+
id: str = Field(..., title='Id')
|
|
1962
|
+
name: str = Field(..., title='Name')
|
|
1963
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1964
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1965
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1966
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1967
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1968
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1969
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1970
|
+
|
|
1971
|
+
|
|
1954
1972
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1955
1973
|
applied_to_services_ids: List[str] = Field(
|
|
1956
1974
|
...,
|
|
@@ -1971,18 +1989,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1971
1989
|
)
|
|
1972
1990
|
|
|
1973
1991
|
|
|
1974
|
-
class
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1983
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1984
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1985
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1992
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1993
|
+
dynamic_behavior_sets: List[
|
|
1994
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1995
|
+
] = Field(
|
|
1996
|
+
...,
|
|
1997
|
+
description='The retrieved dynamic behavior sets.',
|
|
1998
|
+
title='Dynamic Behavior Sets',
|
|
1999
|
+
)
|
|
1986
2000
|
|
|
1987
2001
|
|
|
1988
2002
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10948,19 +10962,6 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10948
10962
|
)
|
|
10949
10963
|
|
|
10950
10964
|
|
|
10951
|
-
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10952
|
-
llm_name: LLMType
|
|
10953
|
-
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
10954
|
-
temperature: float = Field(
|
|
10955
|
-
..., description='The preferred temperature value.', title='Temperature'
|
|
10956
|
-
)
|
|
10957
|
-
top_k: int = Field(
|
|
10958
|
-
...,
|
|
10959
|
-
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
10960
|
-
title='Top K',
|
|
10961
|
-
)
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
10965
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10965
10966
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10966
10967
|
|
|
@@ -11020,11 +11021,11 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11020
11021
|
)
|
|
11021
11022
|
|
|
11022
11023
|
|
|
11023
|
-
class
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
11024
|
+
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11025
|
+
llm_name: LLMType
|
|
11026
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
11027
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
11028
|
+
)
|
|
11028
11029
|
|
|
11029
11030
|
|
|
11030
11031
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
@@ -11235,37 +11236,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11235
11236
|
)
|
|
11236
11237
|
|
|
11237
11238
|
|
|
11238
|
-
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11239
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11240
|
-
name: str = Field(
|
|
11241
|
-
..., description='The name of the simulation scenario.', title='Name'
|
|
11242
|
-
)
|
|
11243
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11244
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11245
|
-
)
|
|
11246
|
-
is_deleted: bool = Field(
|
|
11247
|
-
...,
|
|
11248
|
-
description='Whether the simulation scenario is deleted.',
|
|
11249
|
-
title='Is Deleted',
|
|
11250
|
-
)
|
|
11251
|
-
created_at: AwareDatetime = Field(
|
|
11252
|
-
...,
|
|
11253
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11254
|
-
title='Created At',
|
|
11255
|
-
)
|
|
11256
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11257
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11258
|
-
)
|
|
11259
|
-
updated_at: AwareDatetime = Field(
|
|
11260
|
-
...,
|
|
11261
|
-
description='The timestamp when the simulation scenario was last updated.',
|
|
11262
|
-
title='Updated At',
|
|
11263
|
-
)
|
|
11264
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11265
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11266
|
-
)
|
|
11267
|
-
|
|
11268
|
-
|
|
11269
11239
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11270
11240
|
presigned_url: str = Field(
|
|
11271
11241
|
...,
|
|
@@ -11388,13 +11358,34 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11388
11358
|
)
|
|
11389
11359
|
|
|
11390
11360
|
|
|
11391
|
-
class
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11361
|
+
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11362
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11363
|
+
name: str = Field(
|
|
11364
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11365
|
+
)
|
|
11366
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11367
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11368
|
+
)
|
|
11369
|
+
is_deleted: bool = Field(
|
|
11395
11370
|
...,
|
|
11396
|
-
description='
|
|
11397
|
-
title='
|
|
11371
|
+
description='Whether the simulation scenario is deleted.',
|
|
11372
|
+
title='Is Deleted',
|
|
11373
|
+
)
|
|
11374
|
+
created_at: AwareDatetime = Field(
|
|
11375
|
+
...,
|
|
11376
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11377
|
+
title='Created At',
|
|
11378
|
+
)
|
|
11379
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11380
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11381
|
+
)
|
|
11382
|
+
updated_at: AwareDatetime = Field(
|
|
11383
|
+
...,
|
|
11384
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11385
|
+
title='Updated At',
|
|
11386
|
+
)
|
|
11387
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11388
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11398
11389
|
)
|
|
11399
11390
|
|
|
11400
11391
|
|
|
@@ -11697,14 +11688,6 @@ class UserSignInWithEmailRequest(BaseModel):
|
|
|
11697
11688
|
)
|
|
11698
11689
|
|
|
11699
11690
|
|
|
11700
|
-
class UserSignInWithEmailResponse(BaseModel):
|
|
11701
|
-
user_id: str = Field(
|
|
11702
|
-
...,
|
|
11703
|
-
description='The identifier of the user corresponding to the email.',
|
|
11704
|
-
title='User Id',
|
|
11705
|
-
)
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
11691
|
class UserUpdateUserInfoRequest(BaseModel):
|
|
11709
11692
|
first_name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11710
11693
|
None,
|
|
@@ -12037,24 +12020,6 @@ class CreateConversationParametersQueryAudioFormat(Enum):
|
|
|
12037
12020
|
pcm = 'pcm'
|
|
12038
12021
|
|
|
12039
12022
|
|
|
12040
|
-
class CreateConversationParametersQuery(BaseModel):
|
|
12041
|
-
response_format: Format = Field(
|
|
12042
|
-
...,
|
|
12043
|
-
description='The format of the response that will be sent to the user.',
|
|
12044
|
-
title='Response Format',
|
|
12045
|
-
)
|
|
12046
|
-
current_agent_action_type: Optional[str] = Field(
|
|
12047
|
-
'^.*$',
|
|
12048
|
-
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
12049
|
-
title='Current Agent Action Type',
|
|
12050
|
-
)
|
|
12051
|
-
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
12052
|
-
None,
|
|
12053
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
12054
|
-
title='Audio Format',
|
|
12055
|
-
)
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
12023
|
class GetConversationsParametersQueryServiceIdItem(
|
|
12059
12024
|
DynamicBehaviorSetCreateDynamicBehaviorSetRequestAppliedToService
|
|
12060
12025
|
):
|
|
@@ -12120,7 +12085,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12120
12085
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12121
12086
|
)
|
|
12122
12087
|
message_type: Optional[List[MessageType]] = Field(
|
|
12123
|
-
['agent-message', '
|
|
12088
|
+
['agent-message', 'user-message', 'external-event'],
|
|
12124
12089
|
description='The type of messages to retrieve.',
|
|
12125
12090
|
title='Message Type',
|
|
12126
12091
|
)
|
|
@@ -12150,36 +12115,108 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12150
12115
|
)
|
|
12151
12116
|
|
|
12152
12117
|
|
|
12153
|
-
class
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12118
|
+
class InteractWithConversationRequestInteractWithConversationRequestExternalEventMessageContent(
|
|
12119
|
+
AmigoLibPydanticBaseModelStrippedNonemptyString1
|
|
12120
|
+
):
|
|
12121
|
+
pass
|
|
12122
|
+
|
|
12123
|
+
|
|
12124
|
+
class InteractWithConversationRequestInteractWithConversationRequest(BaseModel):
|
|
12125
|
+
initial_message_type: Literal['external-event'] = Field(
|
|
12126
|
+
..., title='Initial Message Type'
|
|
12158
12127
|
)
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12128
|
+
recorded_message: str = Field(..., min_length=1)
|
|
12129
|
+
external_event_message_contents: Optional[
|
|
12130
|
+
List[
|
|
12131
|
+
InteractWithConversationRequestInteractWithConversationRequestExternalEventMessageContent
|
|
12132
|
+
]
|
|
12133
|
+
] = Field(
|
|
12134
|
+
[],
|
|
12135
|
+
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12136
|
+
title='External Event Message Contents',
|
|
12163
12137
|
)
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
description=
|
|
12167
|
-
title='
|
|
12138
|
+
external_event_message_timestamps: Optional[List[AwareDatetime]] = Field(
|
|
12139
|
+
[],
|
|
12140
|
+
description='The timestamps of external event messages to be inserted before the initial message, in chronological order.',
|
|
12141
|
+
title='External Event Message Timestamps',
|
|
12168
12142
|
)
|
|
12169
|
-
|
|
12170
|
-
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
class InteractWithConversationRequestInteractWithConversationRequest1ExternalEventMessageContent(
|
|
12146
|
+
AmigoLibPydanticBaseModelStrippedNonemptyString1
|
|
12147
|
+
):
|
|
12148
|
+
pass
|
|
12149
|
+
|
|
12150
|
+
|
|
12151
|
+
class InteractWithConversationRequest_InteractWithConversationRequest(BaseModel):
|
|
12152
|
+
initial_message_type: Literal['user-message'] = Field(
|
|
12153
|
+
..., title='Initial Message Type'
|
|
12154
|
+
)
|
|
12155
|
+
recorded_message: str = Field(..., min_length=1)
|
|
12156
|
+
external_event_message_contents: Optional[
|
|
12157
|
+
List[
|
|
12158
|
+
InteractWithConversationRequestInteractWithConversationRequest1ExternalEventMessageContent
|
|
12159
|
+
]
|
|
12171
12160
|
] = Field(
|
|
12172
|
-
|
|
12173
|
-
description='
|
|
12174
|
-
title='
|
|
12161
|
+
[],
|
|
12162
|
+
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12163
|
+
title='External Event Message Contents',
|
|
12175
12164
|
)
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
description='The
|
|
12179
|
-
title='
|
|
12165
|
+
external_event_message_timestamps: Optional[List[AwareDatetime]] = Field(
|
|
12166
|
+
[],
|
|
12167
|
+
description='The timestamps of external event messages to be inserted before the initial message, in chronological order.',
|
|
12168
|
+
title='External Event Message Timestamps',
|
|
12180
12169
|
)
|
|
12181
12170
|
|
|
12182
12171
|
|
|
12172
|
+
class InteractWithConversationRequestInteractWithConversationRequest2ExternalEventMessageContent(
|
|
12173
|
+
AmigoLibPydanticBaseModelStrippedNonemptyString1
|
|
12174
|
+
):
|
|
12175
|
+
pass
|
|
12176
|
+
|
|
12177
|
+
|
|
12178
|
+
class InteractWithConversationRequestInteractWithConversationRequest2(BaseModel):
|
|
12179
|
+
initial_message_type: Literal['skip'] = Field(..., title='Initial Message Type')
|
|
12180
|
+
recorded_message: str = Field(
|
|
12181
|
+
...,
|
|
12182
|
+
description='The body of the initial message, which must be empty.',
|
|
12183
|
+
max_length=0,
|
|
12184
|
+
title='Recorded Message',
|
|
12185
|
+
)
|
|
12186
|
+
external_event_message_contents: Optional[
|
|
12187
|
+
List[
|
|
12188
|
+
InteractWithConversationRequestInteractWithConversationRequest2ExternalEventMessageContent
|
|
12189
|
+
]
|
|
12190
|
+
] = Field(
|
|
12191
|
+
[],
|
|
12192
|
+
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12193
|
+
max_length=0,
|
|
12194
|
+
title='External Event Message Contents',
|
|
12195
|
+
)
|
|
12196
|
+
external_event_message_timestamps: Optional[List[AwareDatetime]] = Field(
|
|
12197
|
+
[],
|
|
12198
|
+
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12199
|
+
max_length=0,
|
|
12200
|
+
title='External Event Message Timestamps',
|
|
12201
|
+
)
|
|
12202
|
+
|
|
12203
|
+
|
|
12204
|
+
class InteractWithConversationRequest(
|
|
12205
|
+
RootModel[
|
|
12206
|
+
Union[
|
|
12207
|
+
InteractWithConversationRequestInteractWithConversationRequest,
|
|
12208
|
+
InteractWithConversationRequest_InteractWithConversationRequest,
|
|
12209
|
+
InteractWithConversationRequestInteractWithConversationRequest2,
|
|
12210
|
+
]
|
|
12211
|
+
]
|
|
12212
|
+
):
|
|
12213
|
+
root: Union[
|
|
12214
|
+
InteractWithConversationRequestInteractWithConversationRequest,
|
|
12215
|
+
InteractWithConversationRequest_InteractWithConversationRequest,
|
|
12216
|
+
InteractWithConversationRequestInteractWithConversationRequest2,
|
|
12217
|
+
]
|
|
12218
|
+
|
|
12219
|
+
|
|
12183
12220
|
class RetrieveMessageSourceParametersQuery(BaseModel):
|
|
12184
12221
|
long_lived: Optional[bool] = Field(
|
|
12185
12222
|
False,
|
|
@@ -12262,6 +12299,9 @@ class SearchUsersParametersQuery(BaseModel):
|
|
|
12262
12299
|
description='The search query. Any users whose name or email contains the query are returned.',
|
|
12263
12300
|
title='Query',
|
|
12264
12301
|
)
|
|
12302
|
+
user_id: Optional[List[str]] = Field(
|
|
12303
|
+
[], description='The IDs of the users.', title='User Id'
|
|
12304
|
+
)
|
|
12265
12305
|
|
|
12266
12306
|
|
|
12267
12307
|
class GetRolesV1OrganizationRoleGetParametersQueryIdItem(
|
|
@@ -13851,9 +13891,9 @@ class ServiceInstance(BaseModel):
|
|
|
13851
13891
|
agent_id: str = Field(
|
|
13852
13892
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13853
13893
|
)
|
|
13854
|
-
tags: List[
|
|
13855
|
-
|
|
13856
|
-
)
|
|
13894
|
+
tags: List[
|
|
13895
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13896
|
+
] = Field(..., description='The tags of the service.', title='Tags')
|
|
13857
13897
|
|
|
13858
13898
|
|
|
13859
13899
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -13904,7 +13944,9 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13904
13944
|
description='Whether the unit test set has been deleted.',
|
|
13905
13945
|
title='Is Deleted',
|
|
13906
13946
|
)
|
|
13907
|
-
tags: List[
|
|
13947
|
+
tags: List[
|
|
13948
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13949
|
+
] = Field(
|
|
13908
13950
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13909
13951
|
)
|
|
13910
13952
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13943,7 +13985,9 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13943
13985
|
description='Whether the unit test set has been deleted.',
|
|
13944
13986
|
title='Is Deleted',
|
|
13945
13987
|
)
|
|
13946
|
-
tags: List[
|
|
13988
|
+
tags: List[
|
|
13989
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13990
|
+
] = Field(
|
|
13947
13991
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13948
13992
|
)
|
|
13949
13993
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14059,9 +14103,9 @@ class ToolInstance(BaseModel):
|
|
|
14059
14103
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14060
14104
|
title='Secret Envvars',
|
|
14061
14105
|
)
|
|
14062
|
-
tags: List[
|
|
14063
|
-
|
|
14064
|
-
)
|
|
14106
|
+
tags: List[
|
|
14107
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14108
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
14065
14109
|
|
|
14066
14110
|
|
|
14067
14111
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14169,10 +14213,7 @@ class VersionSetInfo(BaseModel):
|
|
|
14169
14213
|
min_length=2,
|
|
14170
14214
|
title='Service Hierarchical State Machine Version Info',
|
|
14171
14215
|
)
|
|
14172
|
-
llm_model_preferences: Dict[
|
|
14173
|
-
str,
|
|
14174
|
-
Union[AmigoLibLlmLlmBaseLLMConfig, AmigoLibLlmLlmBaseLLMLoadBalancingSetConfig],
|
|
14175
|
-
] = Field(
|
|
14216
|
+
llm_model_preferences: Dict[str, AmigoLibLlmLlmBaseLLMConfig] = Field(
|
|
14176
14217
|
...,
|
|
14177
14218
|
description='The LLM model preferences for this version set.',
|
|
14178
14219
|
title='Llm Model Preferences',
|
|
@@ -14393,7 +14434,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14393
14434
|
|
|
14394
14435
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14395
14436
|
dynamic_behavior_sets: List[
|
|
14396
|
-
|
|
14437
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14397
14438
|
] = Field(
|
|
14398
14439
|
...,
|
|
14399
14440
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14417,16 +14458,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14417
14458
|
)
|
|
14418
14459
|
|
|
14419
14460
|
|
|
14420
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14421
|
-
dynamic_behavior_sets: List[
|
|
14422
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14423
|
-
] = Field(
|
|
14424
|
-
...,
|
|
14425
|
-
description='The retrieved dynamic behavior sets.',
|
|
14426
|
-
title='Dynamic Behavior Sets',
|
|
14427
|
-
)
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
14461
|
class MetricCreateMetricRequest(BaseModel):
|
|
14431
14462
|
name: str = Field(
|
|
14432
14463
|
...,
|
|
@@ -14684,7 +14715,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14684
14715
|
)
|
|
14685
14716
|
|
|
14686
14717
|
|
|
14687
|
-
class
|
|
14718
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14688
14719
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14689
14720
|
...,
|
|
14690
14721
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14701,6 +14732,29 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14701
14732
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14702
14733
|
|
|
14703
14734
|
|
|
14735
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14736
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14737
|
+
None,
|
|
14738
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14739
|
+
)
|
|
14740
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14741
|
+
None,
|
|
14742
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14743
|
+
title='Permission Grants',
|
|
14744
|
+
)
|
|
14745
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14746
|
+
None,
|
|
14747
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14748
|
+
)
|
|
14749
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14750
|
+
Field(
|
|
14751
|
+
{},
|
|
14752
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14753
|
+
title='Inherited From',
|
|
14754
|
+
)
|
|
14755
|
+
)
|
|
14756
|
+
|
|
14757
|
+
|
|
14704
14758
|
class ServiceGetServicesResponse(BaseModel):
|
|
14705
14759
|
services: List[ServiceInstance] = Field(
|
|
14706
14760
|
..., description='The services that are found.', title='Services'
|
|
@@ -14733,11 +14787,7 @@ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
|
14733
14787
|
title='Service Hierarchical State Machine Version Number',
|
|
14734
14788
|
)
|
|
14735
14789
|
llm_model_preferences: Dict[
|
|
14736
|
-
str,
|
|
14737
|
-
Union[
|
|
14738
|
-
ServiceCreateServiceRequestVersionSetLLMConfig,
|
|
14739
|
-
ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig,
|
|
14740
|
-
],
|
|
14790
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14741
14791
|
] = Field(..., title='Llm Model Preferences')
|
|
14742
14792
|
|
|
14743
14793
|
|
|
@@ -14828,7 +14878,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14828
14878
|
|
|
14829
14879
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14830
14880
|
simulation_scenarios: List[
|
|
14831
|
-
|
|
14881
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14832
14882
|
] = Field(
|
|
14833
14883
|
...,
|
|
14834
14884
|
description='The list of simulation scenarios.',
|
|
@@ -14884,6 +14934,16 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14884
14934
|
)
|
|
14885
14935
|
|
|
14886
14936
|
|
|
14937
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14938
|
+
simulation_scenarios: List[
|
|
14939
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14940
|
+
] = Field(
|
|
14941
|
+
...,
|
|
14942
|
+
description='The list of simulation scenarios.',
|
|
14943
|
+
title='Simulation Scenarios',
|
|
14944
|
+
)
|
|
14945
|
+
|
|
14946
|
+
|
|
14887
14947
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14888
14948
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14889
14949
|
...,
|
|
@@ -15035,7 +15095,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15035
15095
|
)
|
|
15036
15096
|
|
|
15037
15097
|
|
|
15038
|
-
class
|
|
15098
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15039
15099
|
org_id: str = Field(
|
|
15040
15100
|
...,
|
|
15041
15101
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15060,6 +15120,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15060
15120
|
)
|
|
15061
15121
|
|
|
15062
15122
|
|
|
15123
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15124
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15125
|
+
..., description='Users in this organization.', title='Users'
|
|
15126
|
+
)
|
|
15127
|
+
|
|
15128
|
+
|
|
15063
15129
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15064
15130
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15065
15131
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15076,6 +15142,68 @@ class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
|
15076
15142
|
)
|
|
15077
15143
|
|
|
15078
15144
|
|
|
15145
|
+
class CreateConversationParametersQuery(BaseModel):
|
|
15146
|
+
response_format: Format = Field(
|
|
15147
|
+
...,
|
|
15148
|
+
description='The format of the response that will be sent to the user.',
|
|
15149
|
+
title='Response Format',
|
|
15150
|
+
)
|
|
15151
|
+
current_agent_action_type: Optional[str] = Field(
|
|
15152
|
+
'^.*$',
|
|
15153
|
+
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
15154
|
+
title='Current Agent Action Type',
|
|
15155
|
+
)
|
|
15156
|
+
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15157
|
+
None,
|
|
15158
|
+
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15159
|
+
title='Audio Format',
|
|
15160
|
+
)
|
|
15161
|
+
response_audio_format: Optional[
|
|
15162
|
+
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
15163
|
+
] = Field(
|
|
15164
|
+
None,
|
|
15165
|
+
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15166
|
+
title='Response Audio Format',
|
|
15167
|
+
)
|
|
15168
|
+
|
|
15169
|
+
|
|
15170
|
+
class InteractWithConversationParametersQuery(BaseModel):
|
|
15171
|
+
request_format: Format = Field(
|
|
15172
|
+
...,
|
|
15173
|
+
description='The format in which the user message is delivered to the server.',
|
|
15174
|
+
title='Request Format',
|
|
15175
|
+
)
|
|
15176
|
+
response_format: Format = Field(
|
|
15177
|
+
...,
|
|
15178
|
+
description='The format of the response that will be sent to the user.',
|
|
15179
|
+
title='Response Format',
|
|
15180
|
+
)
|
|
15181
|
+
current_agent_action_type: Optional[str] = Field(
|
|
15182
|
+
'^.*$',
|
|
15183
|
+
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
15184
|
+
title='Current Agent Action Type',
|
|
15185
|
+
)
|
|
15186
|
+
request_audio_config: Optional[
|
|
15187
|
+
Union[MP3UserMessageAudioConfig, PCMUserMessageAudioConfig]
|
|
15188
|
+
] = Field(
|
|
15189
|
+
None,
|
|
15190
|
+
description='Configuration for the user message audio. This is only required if `request_format` is set to `voice`.',
|
|
15191
|
+
title='Request Audio Config',
|
|
15192
|
+
)
|
|
15193
|
+
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15194
|
+
None,
|
|
15195
|
+
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15196
|
+
title='Audio Format',
|
|
15197
|
+
)
|
|
15198
|
+
response_audio_format: Optional[
|
|
15199
|
+
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
15200
|
+
] = Field(
|
|
15201
|
+
None,
|
|
15202
|
+
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15203
|
+
title='Response Audio Format',
|
|
15204
|
+
)
|
|
15205
|
+
|
|
15206
|
+
|
|
15079
15207
|
class ActionStateInput(BaseModel):
|
|
15080
15208
|
type: Literal['action'] = Field(..., title='Type')
|
|
15081
15209
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
@@ -15243,9 +15371,9 @@ class Metric(BaseModel):
|
|
|
15243
15371
|
additional_notes: Optional[str] = Field(
|
|
15244
15372
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15245
15373
|
)
|
|
15246
|
-
tags: List[
|
|
15247
|
-
|
|
15248
|
-
)
|
|
15374
|
+
tags: List[
|
|
15375
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15376
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15249
15377
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15250
15378
|
..., description='The user who created the metric.'
|
|
15251
15379
|
)
|
|
@@ -15313,9 +15441,9 @@ class MetricInstance(BaseModel):
|
|
|
15313
15441
|
additional_notes: Optional[str] = Field(
|
|
15314
15442
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15315
15443
|
)
|
|
15316
|
-
tags: List[
|
|
15317
|
-
|
|
15318
|
-
)
|
|
15444
|
+
tags: List[
|
|
15445
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15446
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15319
15447
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15320
15448
|
..., description='The user who created the metric.'
|
|
15321
15449
|
)
|
|
@@ -15515,9 +15643,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15515
15643
|
is_deleted: bool = Field(
|
|
15516
15644
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15517
15645
|
)
|
|
15518
|
-
tags: List[
|
|
15519
|
-
|
|
15520
|
-
)
|
|
15646
|
+
tags: List[
|
|
15647
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15648
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15521
15649
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15522
15650
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15523
15651
|
|
|
@@ -15560,9 +15688,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15560
15688
|
is_deleted: bool = Field(
|
|
15561
15689
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15562
15690
|
)
|
|
15563
|
-
tags: List[
|
|
15564
|
-
|
|
15565
|
-
)
|
|
15691
|
+
tags: List[
|
|
15692
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15693
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15566
15694
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15567
15695
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15568
15696
|
|
|
@@ -15598,10 +15726,7 @@ class UnitTestRunSpec(BaseModel):
|
|
|
15598
15726
|
description='The version of the persona that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
|
|
15599
15727
|
title='Persona Version Info',
|
|
15600
15728
|
)
|
|
15601
|
-
llm_model_preferences: Dict[
|
|
15602
|
-
str,
|
|
15603
|
-
Union[AmigoLibLlmLlmBaseLLMConfig, AmigoLibLlmLlmBaseLLMLoadBalancingSetConfig],
|
|
15604
|
-
] = Field(
|
|
15729
|
+
llm_model_preferences: Dict[str, AmigoLibLlmLlmBaseLLMConfig] = Field(
|
|
15605
15730
|
...,
|
|
15606
15731
|
description='The LLM model preferences for the unit test run.',
|
|
15607
15732
|
title='Llm Model Preferences',
|
|
@@ -15863,7 +15988,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15863
15988
|
description: str = Field(
|
|
15864
15989
|
..., description='A description about the role.', min_length=1
|
|
15865
15990
|
)
|
|
15866
|
-
permission_grants: List[
|
|
15991
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
15867
15992
|
...,
|
|
15868
15993
|
description='A list of permission grants associated with this role.',
|
|
15869
15994
|
title='Permission Grants',
|
|
@@ -15889,29 +16014,6 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15889
16014
|
)
|
|
15890
16015
|
|
|
15891
16016
|
|
|
15892
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
15893
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15894
|
-
None,
|
|
15895
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15896
|
-
)
|
|
15897
|
-
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15898
|
-
None,
|
|
15899
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15900
|
-
title='Permission Grants',
|
|
15901
|
-
)
|
|
15902
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
15903
|
-
None,
|
|
15904
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
15905
|
-
)
|
|
15906
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
15907
|
-
Field(
|
|
15908
|
-
{},
|
|
15909
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15910
|
-
title='Inherited From',
|
|
15911
|
-
)
|
|
15912
|
-
)
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
16017
|
class ServiceCreateServiceRequest(BaseModel):
|
|
15916
16018
|
service_hierarchical_state_machine_id: str = Field(
|
|
15917
16019
|
...,
|
|
@@ -16120,7 +16222,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16120
16222
|
|
|
16121
16223
|
|
|
16122
16224
|
class UserGetUsersResponse(BaseModel):
|
|
16123
|
-
users: List[
|
|
16225
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16124
16226
|
..., description='Users in this organization.', title='Users'
|
|
16125
16227
|
)
|
|
16126
16228
|
has_more: bool = Field(
|
|
@@ -16133,12 +16235,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16133
16235
|
)
|
|
16134
16236
|
|
|
16135
16237
|
|
|
16136
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16137
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16138
|
-
..., description='Users in this organization.', title='Users'
|
|
16139
|
-
)
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
16238
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16143
16239
|
org_id: str = Field(..., title='Org Id')
|
|
16144
16240
|
id: str = Field(..., title='Id')
|
amigo_sdk/resources/user.py
CHANGED
|
@@ -52,7 +52,7 @@ class AsyncUserResource:
|
|
|
52
52
|
"""Update user information. Returns None on success (e.g., 204)."""
|
|
53
53
|
await self._http.request(
|
|
54
54
|
"POST",
|
|
55
|
-
f"/v1/{self._organization_id}/user/{user_id}
|
|
55
|
+
f"/v1/{self._organization_id}/user/{user_id}",
|
|
56
56
|
json=body.model_dump(mode="json", exclude_none=True),
|
|
57
57
|
)
|
|
58
58
|
|
|
@@ -92,6 +92,6 @@ class UserResource:
|
|
|
92
92
|
def update_user(self, user_id: str, body: UserUpdateUserInfoRequest) -> None:
|
|
93
93
|
self._http.request(
|
|
94
94
|
"POST",
|
|
95
|
-
f"/v1/{self._organization_id}/user/{user_id}
|
|
95
|
+
f"/v1/{self._organization_id}/user/{user_id}",
|
|
96
96
|
json=body.model_dump(mode="json", exclude_none=True),
|
|
97
97
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=cU_jYv6_M8ijgFXtWjY6m8y8kX7D64BsrI0v2CJrGwY,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=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=ssfgNjP6tvJA3DfrD3XeG0coYXnsa1U81PD5nTnbvYk,456995
|
|
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
|
-
amigo_sdk/resources/user.py,sha256=
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
13
|
+
amigo_sdk/resources/user.py,sha256=Ejkh3bL4n_rS_PSPlRxCH3_EBNFhbP_JgmogDfrLQpc,3507
|
|
14
|
+
amigo_sdk-0.65.0.dist-info/METADATA,sha256=1jsPhGO3BpT4T22hg1a70Ijcw0R_5s7BXhog9Ho4cnQ,8350
|
|
15
|
+
amigo_sdk-0.65.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.65.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.65.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.65.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|