agenta 0.31.0__py3-none-any.whl → 0.32.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 agenta might be problematic. Click here for more details.

@@ -31,15 +31,15 @@ class TestsetsClient:
31
31
  request_options: typing.Optional[RequestOptions] = None,
32
32
  ) -> TestSetSimpleResponse:
33
33
  """
34
- Uploads a CSV or JSON file and saves its data to MongoDB.
34
+ Uploads a CSV or JSON file and saves its data to Postgres.
35
35
 
36
36
  Args:
37
37
  upload_type : Either a json or csv file.
38
- file (UploadFile): The CSV or JSON file to upload.
39
- testset_name (Optional): the name of the testset if provided.
38
+ file (UploadFile): The CSV or JSON file to upload.
39
+ testset_name (Optional): the name of the testset if provided.
40
40
 
41
41
  Returns:
42
- dict: The result of the upload process.
42
+ dict: The result of the upload process.
43
43
 
44
44
  Parameters
45
45
  ----------
@@ -113,14 +113,14 @@ class TestsetsClient:
113
113
  request_options: typing.Optional[RequestOptions] = None,
114
114
  ) -> TestSetSimpleResponse:
115
115
  """
116
- Import JSON testset data from an endpoint and save it to MongoDB.
116
+ Import JSON testset data from an endpoint and save it to Postgres.
117
117
 
118
118
  Args:
119
- endpoint (str): An endpoint URL to import data from.
120
- testset_name (str): the name of the testset if provided.
119
+ endpoint (str): An endpoint URL to import data from.
120
+ testset_name (str): the name of the testset if provided.
121
121
 
122
122
  Returns:
123
- dict: The result of the import process.
123
+ dict: The result of the import process.
124
124
 
125
125
  Parameters
126
126
  ----------
@@ -241,7 +241,7 @@ class TestsetsClient:
241
241
  request_options: typing.Optional[RequestOptions] = None,
242
242
  ) -> TestSetSimpleResponse:
243
243
  """
244
- Create a testset with given name, save the testset to MongoDB.
244
+ Create a testset with given name, save the testset to Postgres.
245
245
 
246
246
  Args:
247
247
  name (str): name of the test set.
@@ -395,7 +395,7 @@ class TestsetsClient:
395
395
  request_options: typing.Optional[RequestOptions] = None,
396
396
  ) -> TestSetSimpleResponse:
397
397
  """
398
- Create a testset with given name, save the testset to MongoDB.
398
+ Create a testset with given name, save the testset to Postgres.
399
399
 
400
400
  Args:
401
401
  name (str): name of the test set.
@@ -475,13 +475,13 @@ class TestsetsClient:
475
475
  request_options: typing.Optional[RequestOptions] = None,
476
476
  ) -> typing.Optional[typing.Any]:
477
477
  """
478
- Fetch a specific testset in a MongoDB collection using its \_id.
478
+ Fetch a specific testset in a MongoDB collection using its _id.
479
479
 
480
480
  Args:
481
- testset_id (str): The \_id of the testset to fetch.
481
+ testset_id (str): The _id of the testset to fetch.
482
482
 
483
483
  Returns:
484
- The requested testset if found, else an HTTPException.
484
+ The requested testset if found, else an HTTPException.
485
485
 
486
486
  Parameters
487
487
  ----------
@@ -545,7 +545,7 @@ class TestsetsClient:
545
545
  request_options: typing.Optional[RequestOptions] = None,
546
546
  ) -> typing.Optional[typing.Any]:
547
547
  """
548
- Update a testset with given id, update the testset in MongoDB.
548
+ Update a testset with given id, update the testset in Postgres.
549
549
 
550
550
  Args:
551
551
  testset_id (str): id of the test set to be updated.
@@ -632,15 +632,15 @@ class AsyncTestsetsClient:
632
632
  request_options: typing.Optional[RequestOptions] = None,
633
633
  ) -> TestSetSimpleResponse:
634
634
  """
635
- Uploads a CSV or JSON file and saves its data to MongoDB.
635
+ Uploads a CSV or JSON file and saves its data to Postgres.
636
636
 
637
637
  Args:
638
638
  upload_type : Either a json or csv file.
639
- file (UploadFile): The CSV or JSON file to upload.
640
- testset_name (Optional): the name of the testset if provided.
639
+ file (UploadFile): The CSV or JSON file to upload.
640
+ testset_name (Optional): the name of the testset if provided.
641
641
 
642
642
  Returns:
643
- dict: The result of the upload process.
643
+ dict: The result of the upload process.
644
644
 
645
645
  Parameters
646
646
  ----------
@@ -722,14 +722,14 @@ class AsyncTestsetsClient:
722
722
  request_options: typing.Optional[RequestOptions] = None,
723
723
  ) -> TestSetSimpleResponse:
724
724
  """
725
- Import JSON testset data from an endpoint and save it to MongoDB.
725
+ Import JSON testset data from an endpoint and save it to Postgres.
726
726
 
727
727
  Args:
728
- endpoint (str): An endpoint URL to import data from.
729
- testset_name (str): the name of the testset if provided.
728
+ endpoint (str): An endpoint URL to import data from.
729
+ testset_name (str): the name of the testset if provided.
730
730
 
731
731
  Returns:
732
- dict: The result of the import process.
732
+ dict: The result of the import process.
733
733
 
734
734
  Parameters
735
735
  ----------
@@ -866,7 +866,7 @@ class AsyncTestsetsClient:
866
866
  request_options: typing.Optional[RequestOptions] = None,
867
867
  ) -> TestSetSimpleResponse:
868
868
  """
869
- Create a testset with given name, save the testset to MongoDB.
869
+ Create a testset with given name, save the testset to Postgres.
870
870
 
871
871
  Args:
872
872
  name (str): name of the test set.
@@ -1036,7 +1036,7 @@ class AsyncTestsetsClient:
1036
1036
  request_options: typing.Optional[RequestOptions] = None,
1037
1037
  ) -> TestSetSimpleResponse:
1038
1038
  """
1039
- Create a testset with given name, save the testset to MongoDB.
1039
+ Create a testset with given name, save the testset to Postgres.
1040
1040
 
1041
1041
  Args:
1042
1042
  name (str): name of the test set.
@@ -1124,13 +1124,13 @@ class AsyncTestsetsClient:
1124
1124
  request_options: typing.Optional[RequestOptions] = None,
1125
1125
  ) -> typing.Optional[typing.Any]:
1126
1126
  """
1127
- Fetch a specific testset in a MongoDB collection using its \_id.
1127
+ Fetch a specific testset in a MongoDB collection using its _id.
1128
1128
 
1129
1129
  Args:
1130
- testset_id (str): The \_id of the testset to fetch.
1130
+ testset_id (str): The _id of the testset to fetch.
1131
1131
 
1132
1132
  Returns:
1133
- The requested testset if found, else an HTTPException.
1133
+ The requested testset if found, else an HTTPException.
1134
1134
 
1135
1135
  Parameters
1136
1136
  ----------
@@ -1202,7 +1202,7 @@ class AsyncTestsetsClient:
1202
1202
  request_options: typing.Optional[RequestOptions] = None,
1203
1203
  ) -> typing.Optional[typing.Any]:
1204
1204
  """
1205
- Update a testset with given id, update the testset in MongoDB.
1205
+ Update a testset with given id, update the testset in Postgres.
1206
1206
 
1207
1207
  Args:
1208
1208
  testset_id (str): id of the test set to be updated.
@@ -24,6 +24,7 @@ from .correct_answer import CorrectAnswer
24
24
  from .create_app_output import CreateAppOutput
25
25
  from .create_span import CreateSpan
26
26
  from .create_trace_response import CreateTraceResponse
27
+ from .delete_evaluation import DeleteEvaluation
27
28
  from .docker_env_vars import DockerEnvVars
28
29
  from .environment_output import EnvironmentOutput
29
30
  from .environment_output_extended import EnvironmentOutputExtended
@@ -34,7 +35,6 @@ from .evaluation_scenario import EvaluationScenario
34
35
  from .evaluation_scenario_input import EvaluationScenarioInput
35
36
  from .evaluation_scenario_output import EvaluationScenarioOutput
36
37
  from .evaluation_scenario_result import EvaluationScenarioResult
37
- from .evaluation_scenario_score_update import EvaluationScenarioScoreUpdate
38
38
  from .evaluation_status_enum import EvaluationStatusEnum
39
39
  from .evaluation_type import EvaluationType
40
40
  from .evaluator import Evaluator
@@ -49,8 +49,6 @@ from .human_evaluation import HumanEvaluation
49
49
  from .human_evaluation_scenario import HumanEvaluationScenario
50
50
  from .human_evaluation_scenario_input import HumanEvaluationScenarioInput
51
51
  from .human_evaluation_scenario_output import HumanEvaluationScenarioOutput
52
- from .human_evaluation_scenario_update import HumanEvaluationScenarioUpdate
53
- from .human_evaluation_update import HumanEvaluationUpdate
54
52
  from .image import Image
55
53
  from .invite_request import InviteRequest
56
54
  from .legacy_analytics_response import LegacyAnalyticsResponse
@@ -61,10 +59,10 @@ from .list_api_keys_response import ListApiKeysResponse
61
59
  from .llm_run_rate_limit import LlmRunRateLimit
62
60
  from .llm_tokens import LlmTokens
63
61
  from .metrics_dto import MetricsDto
64
- from .new_human_evaluation import NewHumanEvaluation
65
62
  from .new_testset import NewTestset
66
63
  from .node_dto import NodeDto
67
64
  from .node_type import NodeType
65
+
68
66
  from .o_tel_context_dto import OTelContextDto
69
67
  from .o_tel_event_dto import OTelEventDto
70
68
  from .o_tel_extra_dto import OTelExtraDto
@@ -144,6 +142,7 @@ __all__ = [
144
142
  "CreateAppOutput",
145
143
  "CreateSpan",
146
144
  "CreateTraceResponse",
145
+ "DeleteEvaluation",
147
146
  "DockerEnvVars",
148
147
  "EnvironmentOutput",
149
148
  "EnvironmentOutputExtended",
@@ -154,7 +153,6 @@ __all__ = [
154
153
  "EvaluationScenarioInput",
155
154
  "EvaluationScenarioOutput",
156
155
  "EvaluationScenarioResult",
157
- "EvaluationScenarioScoreUpdate",
158
156
  "EvaluationStatusEnum",
159
157
  "EvaluationType",
160
158
  "Evaluator",
@@ -169,8 +167,6 @@ __all__ = [
169
167
  "HumanEvaluationScenario",
170
168
  "HumanEvaluationScenarioInput",
171
169
  "HumanEvaluationScenarioOutput",
172
- "HumanEvaluationScenarioUpdate",
173
- "HumanEvaluationUpdate",
174
170
  "Image",
175
171
  "InviteRequest",
176
172
  "LegacyAnalyticsResponse",
@@ -1,13 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  from ..core.pydantic_utilities import UniversalBaseModel
4
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
5
4
  import typing
5
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
6
6
  import pydantic
7
7
 
8
8
 
9
- class EvaluationScenarioScoreUpdate(UniversalBaseModel):
10
- score: float
9
+ class DeleteEvaluation(UniversalBaseModel):
10
+ evaluations_ids: typing.List[str]
11
11
 
12
12
  if IS_PYDANTIC_V2:
13
13
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
@@ -46,14 +46,14 @@ class VariantsClient:
46
46
  Same as POST /config
47
47
 
48
48
  Args:
49
- payload (AddVariantFromBasePayload): Payload containing base variant ID, new variant name, and parameters.
50
- stoken_session (SessionContainer, optional): Session container. Defaults to result of verify_session().
49
+ payload (AddVariantFromBasePayload): Payload containing base variant ID, new variant name, and parameters.
50
+ stoken_session (SessionContainer, optional): Session container. Defaults to result of verify_session().
51
51
 
52
52
  Raises:
53
- HTTPException: Raised if the variant could not be added or accessed.
53
+ HTTPException: Raised if the variant could not be added or accessed.
54
54
 
55
55
  Returns:
56
- Union[AppVariantResponse, Any]: New variant details or exception.
56
+ Union[AppVariantResponse, Any]: New variant details or exception.
57
57
 
58
58
  Parameters
59
59
  ----------
@@ -199,16 +199,16 @@ class VariantsClient:
199
199
  Start a variant of an app.
200
200
 
201
201
  Args:
202
- variant_id (str): The ID of the variant to start.
203
- action (VariantAction): The action to perform on the variant (start).
204
- env_vars (Optional[DockerEnvVars], optional): The environment variables to inject to the Docker container. Defaults to None.
205
- stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
202
+ variant_id (str): The ID of the variant to start.
203
+ action (VariantAction): The action to perform on the variant (start).
204
+ env_vars (Optional[DockerEnvVars], optional): The environment variables to inject to the Docker container. Defaults to None.
205
+ stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
206
206
 
207
207
  Returns:
208
- URI: The URL of the started variant.
208
+ URI: The URL of the started variant.
209
209
 
210
210
  Raises:
211
- HTTPException: If the app container cannot be started.
211
+ HTTPException: If the app container cannot be started.
212
212
 
213
213
  Parameters
214
214
  ----------
@@ -293,10 +293,16 @@ class VariantsClient:
293
293
  In the case it's the last variant using the image, stop the container and remove the image.
294
294
 
295
295
  Arguments:
296
- app_variant -- AppVariant to remove
296
+
297
+
298
+
299
+ app_variant -- AppVariant to remove
297
300
 
298
301
  Raises:
299
- HTTPException: If there is a problem removing the app variant
302
+
303
+
304
+
305
+ HTTPException: If there is a problem removing the app variant
300
306
 
301
307
  Parameters
302
308
  ----------
@@ -362,15 +368,15 @@ class VariantsClient:
362
368
  Updates the parameters for an app variant.
363
369
 
364
370
  Args:
365
- variant_id (str): The ID of the app variant to update.
366
- payload (UpdateVariantParameterPayload): The payload containing the updated parameters.
367
- stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
371
+ variant_id (str): The ID of the app variant to update.
372
+ payload (UpdateVariantParameterPayload): The payload containing the updated parameters.
373
+ stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
368
374
 
369
375
  Raises:
370
- HTTPException: If there is an error while trying to update the app variant.
376
+ HTTPException: If there is an error while trying to update the app variant.
371
377
 
372
378
  Returns:
373
- JSONResponse: A JSON response containing the updated app variant parameters.
379
+ JSONResponse: A JSON response containing the updated app variant parameters.
374
380
 
375
381
  Parameters
376
382
  ----------
@@ -450,14 +456,14 @@ class VariantsClient:
450
456
  Updates the image used in an app variant.
451
457
 
452
458
  Args:
453
- variant_id (str): The ID of the app variant to update.
454
- image (Image): The image information to update.
459
+ variant_id (str): The ID of the app variant to update.
460
+ image (Image): The image information to update.
455
461
 
456
462
  Raises:
457
- HTTPException: If an error occurs while trying to update the app variant.
463
+ HTTPException: If an error occurs while trying to update the app variant.
458
464
 
459
465
  Returns:
460
- JSONResponse: A JSON response indicating whether the update was successful or not.
466
+ JSONResponse: A JSON response indicating whether the update was successful or not.
461
467
 
462
468
  Parameters
463
469
  ----------
@@ -1371,14 +1377,14 @@ class AsyncVariantsClient:
1371
1377
  Same as POST /config
1372
1378
 
1373
1379
  Args:
1374
- payload (AddVariantFromBasePayload): Payload containing base variant ID, new variant name, and parameters.
1375
- stoken_session (SessionContainer, optional): Session container. Defaults to result of verify_session().
1380
+ payload (AddVariantFromBasePayload): Payload containing base variant ID, new variant name, and parameters.
1381
+ stoken_session (SessionContainer, optional): Session container. Defaults to result of verify_session().
1376
1382
 
1377
1383
  Raises:
1378
- HTTPException: Raised if the variant could not be added or accessed.
1384
+ HTTPException: Raised if the variant could not be added or accessed.
1379
1385
 
1380
1386
  Returns:
1381
- Union[AppVariantResponse, Any]: New variant details or exception.
1387
+ Union[AppVariantResponse, Any]: New variant details or exception.
1382
1388
 
1383
1389
  Parameters
1384
1390
  ----------
@@ -1540,16 +1546,16 @@ class AsyncVariantsClient:
1540
1546
  Start a variant of an app.
1541
1547
 
1542
1548
  Args:
1543
- variant_id (str): The ID of the variant to start.
1544
- action (VariantAction): The action to perform on the variant (start).
1545
- env_vars (Optional[DockerEnvVars], optional): The environment variables to inject to the Docker container. Defaults to None.
1546
- stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
1549
+ variant_id (str): The ID of the variant to start.
1550
+ action (VariantAction): The action to perform on the variant (start).
1551
+ env_vars (Optional[DockerEnvVars], optional): The environment variables to inject to the Docker container. Defaults to None.
1552
+ stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
1547
1553
 
1548
1554
  Returns:
1549
- URI: The URL of the started variant.
1555
+ URI: The URL of the started variant.
1550
1556
 
1551
1557
  Raises:
1552
- HTTPException: If the app container cannot be started.
1558
+ HTTPException: If the app container cannot be started.
1553
1559
 
1554
1560
  Parameters
1555
1561
  ----------
@@ -1642,10 +1648,16 @@ class AsyncVariantsClient:
1642
1648
  In the case it's the last variant using the image, stop the container and remove the image.
1643
1649
 
1644
1650
  Arguments:
1645
- app_variant -- AppVariant to remove
1651
+
1652
+
1653
+
1654
+ app_variant -- AppVariant to remove
1646
1655
 
1647
1656
  Raises:
1648
- HTTPException: If there is a problem removing the app variant
1657
+
1658
+
1659
+
1660
+ HTTPException: If there is a problem removing the app variant
1649
1661
 
1650
1662
  Parameters
1651
1663
  ----------
@@ -1719,15 +1731,15 @@ class AsyncVariantsClient:
1719
1731
  Updates the parameters for an app variant.
1720
1732
 
1721
1733
  Args:
1722
- variant_id (str): The ID of the app variant to update.
1723
- payload (UpdateVariantParameterPayload): The payload containing the updated parameters.
1724
- stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
1734
+ variant_id (str): The ID of the app variant to update.
1735
+ payload (UpdateVariantParameterPayload): The payload containing the updated parameters.
1736
+ stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
1725
1737
 
1726
1738
  Raises:
1727
- HTTPException: If there is an error while trying to update the app variant.
1739
+ HTTPException: If there is an error while trying to update the app variant.
1728
1740
 
1729
1741
  Returns:
1730
- JSONResponse: A JSON response containing the updated app variant parameters.
1742
+ JSONResponse: A JSON response containing the updated app variant parameters.
1731
1743
 
1732
1744
  Parameters
1733
1745
  ----------
@@ -1815,14 +1827,14 @@ class AsyncVariantsClient:
1815
1827
  Updates the image used in an app variant.
1816
1828
 
1817
1829
  Args:
1818
- variant_id (str): The ID of the app variant to update.
1819
- image (Image): The image information to update.
1830
+ variant_id (str): The ID of the app variant to update.
1831
+ image (Image): The image information to update.
1820
1832
 
1821
1833
  Raises:
1822
- HTTPException: If an error occurs while trying to update the app variant.
1834
+ HTTPException: If an error occurs while trying to update the app variant.
1823
1835
 
1824
1836
  Returns:
1825
- JSONResponse: A JSON response indicating whether the update was successful or not.
1837
+ JSONResponse: A JSON response indicating whether the update was successful or not.
1826
1838
 
1827
1839
  Parameters
1828
1840
  ----------
@@ -1121,7 +1121,9 @@ def calculate_costs(span_idx: Dict[str, SpanDTO]):
1121
1121
  and span.meta
1122
1122
  and span.metrics
1123
1123
  ):
1124
- model = span.meta.get("response.model")
1124
+ model = span.meta.get("response.model") or span.meta.get(
1125
+ "configuration.model"
1126
+ )
1125
1127
  prompt_tokens = span.metrics.get("unit.tokens.prompt", 0.0)
1126
1128
  completion_tokens = span.metrics.get("unit.tokens.completion", 0.0)
1127
1129
 
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agenta
3
- Version: 0.31.0
3
+ Version: 0.32.0
4
4
  Summary: The SDK for agenta is an open-source LLMOps platform.
5
- Home-page: https://agenta.ai
6
5
  Keywords: LLMOps,LLM,evaluation,prompt engineering
7
6
  Author: Mahmoud Mabrouk
8
7
  Author-email: mahmoud@agenta.ai
@@ -33,6 +32,7 @@ Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
33
32
  Requires-Dist: questionary (>=1.10,<3.0)
34
33
  Requires-Dist: toml (>=0.10.2,<0.11.0)
35
34
  Project-URL: Documentation, https://docs.agenta.ai
35
+ Project-URL: Homepage, https://agenta.ai
36
36
  Project-URL: Repository, https://github.com/agenta-ai/agenta
37
37
  Description-Content-Type: text/markdown
38
38
 
@@ -48,7 +48,7 @@ Description-Content-Type: text/markdown
48
48
  <p align="center">
49
49
  <a href="https://docs.agenta.ai?utm_source=github&utm_medium=referral&utm_campaign=readme">Documentation</a> |
50
50
  <a href="https://agenta.ai?utm_source=github&utm_medium=referral&utm_campaign=readme">Website</a> |
51
- <a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-1zsafop5i-Y7~ZySbhRZvKVPV5DO_7IA">Slack</a>
51
+ <a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-2yewk6o2b-DmhyA4h_lkKwecDtIsj1AQ">Slack</a>
52
52
  </p>
53
53
  <div align="center">
54
54
  <strong> <h2> The Open source LLMOps Platform </h2></strong>
@@ -75,7 +75,7 @@ Description-Content-Type: text/markdown
75
75
  </p>
76
76
 
77
77
  <p align="center">
78
- <a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-1zsafop5i-Y7~ZySbhRZvKVPV5DO_7IA">
78
+ <a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-2yewk6o2b-DmhyA4h_lkKwecDtIsj1AQ">
79
79
  <img src="https://img.shields.io/badge/JOIN US ON SLACK-4A154B?style=for-the-badge&logo=slack&logoColor=white" />
80
80
  </a>
81
81
  <a href="https://www.linkedin.com/company/agenta-ai/">
@@ -157,7 +157,9 @@ mkdir agenta && cd agenta
157
157
  curl -L https://raw.githubusercontent.com/agenta-ai/agenta/main/docker-compose.gh.yml -o docker-compose.gh.yml
158
158
  docker compose -f docker-compose.gh.yml up -d
159
159
  ```
160
-
160
+ - Agenta uses port 80, to use a different port set the env var AGENTA_PORT. For instance `export AGENTA_PORT=90`
161
+ - Add `--pull always` to the last command to upgrade your version of Agenta.
162
+
161
163
  # Disabling Anonymized Tracking
162
164
 
163
165
  By default, Agenta automatically reports anonymized basic usage statistics. This helps us understand how Agenta is used and track its overall usage and growth. This data does not include any sensitive information. To disable anonymized telemetry, follow these steps:
@@ -170,16 +172,14 @@ By default, Agenta automatically reports anonymized basic usage statistics. This
170
172
 
171
173
  We warmly welcome contributions to Agenta. Feel free to submit issues, fork the repository, and send pull requests.
172
174
 
173
- We are usually hanging in our Slack. Feel free to [join our Slack and ask us anything](https://join.slack.com/t/agenta-hq/shared_invite/zt-1zsafop5i-Y7~ZySbhRZvKVPV5DO_7IA)
175
+ We are usually hanging in our Slack. Feel free to [join our Slack and ask us anything](https://join.slack.com/t/agenta-hq/shared_invite/zt-2yewk6o2b-DmhyA4h_lkKwecDtIsj1AQ)
174
176
 
175
177
  Check out our [Contributing Guide](https://docs.agenta.ai/misc/contributing/getting-started?utm_source=github&utm_medium=referral&utm_campaign=readme) for more information.
176
178
 
177
179
  ## Contributors ✨
178
180
 
179
181
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
180
-
181
- [![All Contributors](https://img.shields.io/badge/all_contributors-48-orange.svg?style=flat-square)](#contributors-)
182
-
182
+ [![All Contributors](https://img.shields.io/badge/all_contributors-49-orange.svg?style=flat-square)](#contributors-)
183
183
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
184
184
 
185
185
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -250,6 +250,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
250
250
  <td align="center" valign="top" width="14.28%"><a href="https://ashrafchowdury.me"><img src="https://avatars.githubusercontent.com/u/87828904?v=4?s=100" width="100px;" alt="Ashraf Chowdury"/><br /><sub><b>Ashraf Chowdury</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/issues?q=author%3Aashrafchowdury" title="Bug reports">🐛</a> <a href="https://github.com/Agenta-AI/agenta/commits?author=ashrafchowdury" title="Code">💻</a></td>
251
251
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/jp-agenta"><img src="https://avatars.githubusercontent.com/u/174311389?v=4?s=100" width="100px;" alt="jp-agenta"/><br /><sub><b>jp-agenta</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=jp-agenta" title="Code">💻</a> <a href="https://github.com/Agenta-AI/agenta/issues?q=author%3Ajp-agenta" title="Bug reports">🐛</a></td>
252
252
  <td align="center" valign="top" width="14.28%"><a href="https://mrunhap.github.io"><img src="https://avatars.githubusercontent.com/u/24653356?v=4?s=100" width="100px;" alt="Mr Unhappy"/><br /><sub><b>Mr Unhappy</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/issues?q=author%3Amrunhap" title="Bug reports">🐛</a> <a href="#infra-mrunhap" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
253
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/morenobonaventura"><img src="https://avatars.githubusercontent.com/u/2118854?v=4?s=100" width="100px;" alt="Moreno Bonaventura"/><br /><sub><b>Moreno Bonaventura</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/issues?q=author%3Amorenobonaventura" title="Bug reports">🐛</a></td>
253
254
  </tr>
254
255
  </tbody>
255
256
  </table>
@@ -9,18 +9,18 @@ agenta/client/Readme.md,sha256=K-By3bNRzUIN5VgQ98pKjw4DgCM-JlcxbW0Fsj02P6M,2903
9
9
  agenta/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  agenta/client/api.py,sha256=r5pwYD8DWppDrV4xaNYwUmwMLjWVNfVzxK_clIboEWg,2434
11
11
  agenta/client/api_models.py,sha256=zebfE2-0-SW1SvzyarzmSJMXqyiCLKrX2sHpzoX-RnU,623
12
- agenta/client/backend/__init__.py,sha256=5QDiyaf-uSCgTUUhGQHfPPPIkaRLImGO1nFQbrplASg,6229
12
+ agenta/client/backend/__init__.py,sha256=M6yuPBFMJbbVnqyJ-AlU-hNy9nu7KRax3DArWtll_fM,6073
13
13
  agenta/client/backend/access_control/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
14
14
  agenta/client/backend/access_control/client.py,sha256=yu5RrcXizig6zVVNPghrd4K6MHFj26-2hRIPCjS3QnY,5467
15
15
  agenta/client/backend/apps/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
16
- agenta/client/backend/apps/client.py,sha256=_Jf5yctdCpX4QCArwai70L8cz7VMJQRpTmZGngj3MUg,54674
16
+ agenta/client/backend/apps/client.py,sha256=6ZGBcR37ILwS2VNp8BZR4Tz09W2MlaSChPQ7it0tWoE,54946
17
17
  agenta/client/backend/bases/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
18
- agenta/client/backend/bases/client.py,sha256=BZsz5eXaa2voZdJXqgd5J5hPUuYvWwIcPCWyl49w-oY,6028
19
- agenta/client/backend/client.py,sha256=9EjYc1Xe4MOEn2jDjvgR6EMF7aec4C9RXqSine6Kio0,104353
18
+ agenta/client/backend/bases/client.py,sha256=s8EAwrdxNkOjhDSP2-HIbqp51vNlvhXxS4nGb8YoWPk,6068
19
+ agenta/client/backend/client.py,sha256=jWUJXLKjpi-0J6MPwrLjiXx2gdnRps2JnZ7-m23i3uo,105043
20
20
  agenta/client/backend/configs/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
21
21
  agenta/client/backend/configs/client.py,sha256=_nuh5K5D5SuCOeckXcGv6P4ZtVdTGWQ7JhcoIclmWfY,19267
22
22
  agenta/client/backend/containers/__init__.py,sha256=Haw2PwiPhNvM26PLQN57jY0bN-QqPoDG4VA-P_uGL3A,153
23
- agenta/client/backend/containers/client.py,sha256=10N3reiZmBB8539fnu58zPtaasyMfQcc48UixxWqI34,20457
23
+ agenta/client/backend/containers/client.py,sha256=8yqtMI3Pkt25iSRCr6E70WsvUVLhxHKxdEGWq4UJnkY,21445
24
24
  agenta/client/backend/containers/types/__init__.py,sha256=b6yQ-p_vsI5cpKh-Qa8xNE-M5nLHjfBvfgD4JIhqEkY,176
25
25
  agenta/client/backend/containers/types/container_templates_response.py,sha256=IFmEkCII_FebAt3ENZByzAYXMB1vgQEeIaSPTLSzG5M,189
26
26
  agenta/client/backend/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
@@ -36,13 +36,15 @@ agenta/client/backend/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4
36
36
  agenta/client/backend/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
37
37
  agenta/client/backend/core/serialization.py,sha256=1VIoFHrJZZgjx5kxsUnUDbgr2v66GFgMJ_J1mqexBXA,9643
38
38
  agenta/client/backend/environments/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
39
- agenta/client/backend/environments/client.py,sha256=AFgo2TwCq1ABPagto5c_3GuCT7YDEr86D82WqgJfC28,6216
39
+ agenta/client/backend/environments/client.py,sha256=Mq5EtUxUiKbMm33IF9OXt-eDAS9G_qOnvYmTLrTSemc,6248
40
40
  agenta/client/backend/errors/__init__.py,sha256=pbbVUFtB9LCocA1RMWMMF_RKjsy5YkOKX5BAuE49w6g,170
41
41
  agenta/client/backend/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
42
42
  agenta/client/backend/evaluations/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
43
- agenta/client/backend/evaluations/client.py,sha256=51MkQv8b1GXrJaoDvf0cJbfAt7v_jbARcCIAY2ax5Ko,46838
43
+ agenta/client/backend/evaluations/client.py,sha256=pBK75233P6pil8DJRdArW_nHFpj78wa_GYhkOSdNO_M,47022
44
44
  agenta/client/backend/evaluators/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
45
- agenta/client/backend/evaluators/client.py,sha256=ZYj-WMIG7ax3qoDlmVv5Pg1mOzGVuonJkOVqmJ_bUFA,41117
45
+ agenta/client/backend/evaluators/client.py,sha256=Opm0eMoQoQw2OUWivOY2b4jJSe7UAgoAV2A1Lo3IQws,41245
46
+ agenta/client/backend/human_evaluations/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
47
+ agenta/client/backend/human_evaluations/client.py,sha256=tneQDoSxk1ISA4ZoMbnXw6iJTfHEc1k7KZ78YvkDwhU,55166
46
48
  agenta/client/backend/observability/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
47
49
  agenta/client/backend/observability/client.py,sha256=mVGRIde53T_9j7kH0fwp2Xk8zzStv6HnVK5Op3HaTXw,39877
48
50
  agenta/client/backend/observability_v_1/__init__.py,sha256=wAH4GHiT4W6l9j0IsC6w7wJ2GbRPcj4KsefGxvsGSrI,207
@@ -54,8 +56,8 @@ agenta/client/backend/observability_v_1/types/query_traces_response.py,sha256=0-
54
56
  agenta/client/backend/scopes/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
55
57
  agenta/client/backend/scopes/client.py,sha256=ZMHXj0GRS-xNOLAbnjo4SNpHjOvHa-xZn8-caC508Qk,3617
56
58
  agenta/client/backend/testsets/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
57
- agenta/client/backend/testsets/client.py,sha256=sBRmbWNk9aBM87X0ZYI_JWVy-RzQyRhIXL8AWbnw-a0,39665
58
- agenta/client/backend/types/__init__.py,sha256=Ea5Pxoyp4EcNmiRQ5jxrDHmkS-lyuzHBqyeaftDqhc0,8226
59
+ agenta/client/backend/testsets/client.py,sha256=YgoT5raIqOPA28msrbOsnkjLKwKRiYlA-crJsAxJZvI,39735
60
+ agenta/client/backend/types/__init__.py,sha256=cibRwwo8JrwSpedebFbPCoG3eme2A2NjIgQxqyoPtlU,7932
59
61
  agenta/client/backend/types/agenta_node_dto.py,sha256=DLZltD_ueVOfdiSZ1u2i3mu1C3kshxhcggQFFfybBdY,1747
60
62
  agenta/client/backend/types/agenta_node_dto_nodes_value.py,sha256=ifG7dBYLphFoCgQ70ivvDXkTSlxX8w5x_9S-Glh8FlI,180
61
63
  agenta/client/backend/types/agenta_nodes_response.py,sha256=1EoxaqN3ioELS_9rg5Bo6Y0PqqNdX2YNRCIsdO4Q-aQ,902
@@ -80,6 +82,7 @@ agenta/client/backend/types/correct_answer.py,sha256=khEHspf9nszpzhswc7rSruCrcmv
80
82
  agenta/client/backend/types/create_app_output.py,sha256=0_avs1u3pIU14P5ut1WOUrravDwpg2GkSj8kYsAMK9Y,600
81
83
  agenta/client/backend/types/create_span.py,sha256=ZMWlTli2MNowD66D1O2e5ZKOE0BGD_-J36_A_a3rsxE,1609
82
84
  agenta/client/backend/types/create_trace_response.py,sha256=Pr1NM9nLHiPVzCP8m7VQ1NIb92fOhJTmMlEUK6FrykI,643
85
+ agenta/client/backend/types/delete_evaluation.py,sha256=XL7GGP1_84_hOXwBiKxSrb7wJBOSvjZPXF8gos6tR-k,605
83
86
  agenta/client/backend/types/docker_env_vars.py,sha256=td2vhkHyYCwIC_TjlUu7hDuIXsfSJH2L7J_wGaNvw_c,600
84
87
  agenta/client/backend/types/environment_output.py,sha256=L0KSiTXy4tFrrplV-YnyrsBzRB25E8QSEPTQC9BWBd0,933
85
88
  agenta/client/backend/types/environment_output_extended.py,sha256=Sr5cVBZAKekddwQPOIsMmt9diaPTsOWpyzZzOFOFxLs,1043
@@ -90,7 +93,6 @@ agenta/client/backend/types/evaluation_scenario.py,sha256=AAEZS19leBYMF5ZTlXFCD5
90
93
  agenta/client/backend/types/evaluation_scenario_input.py,sha256=KQYQIL6RXa2C2K6JNwZXXlW9nFYw-xqCJqY5qlp8mco,648
91
94
  agenta/client/backend/types/evaluation_scenario_output.py,sha256=-XoVgjhJryWb3XrFuEQ0s0O3TV3BsHQltehYUnxThzA,704
92
95
  agenta/client/backend/types/evaluation_scenario_result.py,sha256=wOs3-2ucAL6rizTzhHfzIPiXIWhFX9hQn44sMgqWUv8,647
93
- agenta/client/backend/types/evaluation_scenario_score_update.py,sha256=xkyk7DKj99WkuWcOTOmTZ67G_GIaBVTrGUuy7Erfjec,597
94
96
  agenta/client/backend/types/evaluation_status_enum.py,sha256=U0yabhF9EZqb0MU13MhLsuOa2wQmUQHGWDS0qawwvfE,370
95
97
  agenta/client/backend/types/evaluation_type.py,sha256=FaI9rLp1QBUl5EE9xKtlxFhCDdcKGOx8NPcAWn3ct5o,186
96
98
  agenta/client/backend/types/evaluator.py,sha256=Ye9m3jEg65hKsJlqWVDxNnlSNXCJAzxFX-KG7qGCPTM,843
@@ -105,8 +107,6 @@ agenta/client/backend/types/human_evaluation.py,sha256=jUNYGW6zp4UWB-SOY1oOB6FX_
105
107
  agenta/client/backend/types/human_evaluation_scenario.py,sha256=GZFGdki4Rlfly7RUhNrWpS2x8N0fHelHdk55YtxY3l0,1127
106
108
  agenta/client/backend/types/human_evaluation_scenario_input.py,sha256=4iT1sH_hM6gOFmVicewPONFOvz_cW-Dh6HoNU-tCC0E,620
107
109
  agenta/client/backend/types/human_evaluation_scenario_output.py,sha256=yVEFImNXK3qSy83AL3X5qypUOgJ__fumLj1bNgXgPXk,624
108
- agenta/client/backend/types/human_evaluation_scenario_update.py,sha256=eh33QTkJNZ5tdA-zPT5jeP_RAzhhtweNiduIscdB8bo,1122
109
- agenta/client/backend/types/human_evaluation_update.py,sha256=PDtYJDYLEfYRaJuG6eqavgXpNhE-LDK81i9qNo7QD7s,686
110
110
  agenta/client/backend/types/image.py,sha256=Q8mnZynlIHHwlu3XRarjJAzgfadl87qPJ-fqH2WqQBw,722
111
111
  agenta/client/backend/types/invite_request.py,sha256=ZYcO4_O5Jjnz6uDwcFUoQ1Bn-A0F9t2S3rQTx9arwJc,607
112
112
  agenta/client/backend/types/legacy_analytics_response.py,sha256=-dyG9jk3OwdsGiNere46p9n7BWst1orhBR_BWVxaY6g,814
@@ -117,7 +117,6 @@ agenta/client/backend/types/list_api_keys_response.py,sha256=av8nz-yhcOYiLZEfnJD
117
117
  agenta/client/backend/types/llm_run_rate_limit.py,sha256=XiPGznCpdS-lPDiswj6pX5aIxhMuOfGCOda7IPcB0q8,659
118
118
  agenta/client/backend/types/llm_tokens.py,sha256=-DLWHVU6spcBAkMjRQaI7QH3D3h6w3iOeHK8RXZcuqI,704
119
119
  agenta/client/backend/types/metrics_dto.py,sha256=2J58QUiXllp6rkgHMYfk_jXg9gddqgzg7F0OKByj4FI,724
120
- agenta/client/backend/types/new_human_evaluation.py,sha256=Rp_cu_ApObG7QBT-Hkvwer604gO6P3QnVwpIfLv0Q38,764
121
120
  agenta/client/backend/types/new_testset.py,sha256=S8ENb_fu5CeyxTvjN5ojXuVoaauNKgfwE738svFhWNY,647
122
121
  agenta/client/backend/types/node_dto.py,sha256=-4oC4IPdsndGEaRK2woQpcuZ33GdqsM-i4MGzh90I7w,659
123
122
  agenta/client/backend/types/node_type.py,sha256=ofQdliqdM9dBYu8_A8Uc3ALco6UkJYvnD69bePqCA2o,330
@@ -175,7 +174,7 @@ agenta/client/backend/types/workspace_response.py,sha256=n1884dwY4C9Gm-JCyprnLfO
175
174
  agenta/client/backend/types/workspace_role.py,sha256=k-ltfq7aAWGg85tTPIf8HpFMMf4gu02_X8R2fFPmB7U,286
176
175
  agenta/client/backend/types/workspace_role_response.py,sha256=6hlRcsMmpf6Q0ejLzRKJiZo_9rygazcbJfpPq2jQZVw,693
177
176
  agenta/client/backend/variants/__init__.py,sha256=BMR4SvsrqXC9FU8nPVzY8M9xGrBEhEGrmbgvy3iM1aE,171
178
- agenta/client/backend/variants/client.py,sha256=qSPvtGxaYD69DAwQxgMc_fHhLjlMnx2kYNvaWFPUe50,92699
177
+ agenta/client/backend/variants/client.py,sha256=RNIWcNdUrfjKx14RSXzD4NP5eVx-lFwAI0MidHz9slY,92879
179
178
  agenta/client/backend/variants/types/__init__.py,sha256=TrRUAyPsJ1bKg2gfW0d_S1rEu6eaYnHmr2g_URTuwPU,216
180
179
  agenta/client/backend/variants/types/add_variant_from_base_and_config_response.py,sha256=nbcakmo3eZpWmyX_DhS6F4jyhfV2t5zN-zOgDtM2rKQ,247
181
180
  agenta/client/backend/vault/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
@@ -222,7 +221,7 @@ agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD9
222
221
  agenta/sdk/tracing/attributes.py,sha256=zh8JQZSeYCLBeIRSopKJx6QQ-WEgw08Cr64DS_WOcT8,3833
223
222
  agenta/sdk/tracing/conventions.py,sha256=JBtznBXZ3aRkGKkLl7cPwdMNh3w1G-H2Ta2YrAxbr38,950
224
223
  agenta/sdk/tracing/exporters.py,sha256=5njI08ezWp2mUXL5mPZFU8qwM9E3RYyQlGvY5iHvEKo,2688
225
- agenta/sdk/tracing/inline.py,sha256=x9volUnQItmbc19aA0_cmFy4VCbdgvXviVhQ_nhEv4o,31284
224
+ agenta/sdk/tracing/inline.py,sha256=GI2jo4R9hrKGpiUnQ6nfWNR5DR_kxl2PdEnW23Jc7UU,31354
226
225
  agenta/sdk/tracing/processors.py,sha256=d7MvJ_DRAP0RAlp8V8XrrY-m8pJ03nLxKoq15RnjedA,3334
227
226
  agenta/sdk/tracing/spans.py,sha256=nqUOjjirBxB8Eacv8Qj4Ra_6rknGi3lbJdNyKmk5ODQ,3707
228
227
  agenta/sdk/tracing/tracing.py,sha256=iZCIggUkR5f2zVcq0o7T8-to7pcFO349gUEBYXnBMzg,6888
@@ -252,7 +251,7 @@ agenta/templates/simple_prompt/app.py,sha256=kODgF6lhzsaJPdgL5b21bUki6jkvqjWZzWR
252
251
  agenta/templates/simple_prompt/env.example,sha256=g9AE5bYcGPpxawXMJ96gh8oenEPCHTabsiOnfQo3c5k,70
253
252
  agenta/templates/simple_prompt/requirements.txt,sha256=ywRglRy7pPkw8bljmMEJJ4aOOQKrt9FGKULZ-DGkoBU,23
254
253
  agenta/templates/simple_prompt/template.toml,sha256=DQBtRrF4GU8LBEXOZ-GGuINXMQDKGTEG5y37tnvIUIE,60
255
- agenta-0.31.0.dist-info/METADATA,sha256=lvYUnoA3d5ikERNnm1RqP9r4EVCNTvLgBNdMHRLP74s,29042
256
- agenta-0.31.0.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
257
- agenta-0.31.0.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
258
- agenta-0.31.0.dist-info/RECORD,,
254
+ agenta-0.32.0.dist-info/METADATA,sha256=4iT189ml4TdEIGZIDJQlVhxZluAI2GZDSjAX8HYvGaQ,29623
255
+ agenta-0.32.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
256
+ agenta-0.32.0.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
257
+ agenta-0.32.0.dist-info/RECORD,,