Skip to content

Commit 23d51c0

Browse files
committed
Release 0.8.39
1 parent a71c816 commit 23d51c0

35 files changed

+258
-715
lines changed

poetry.lock

Lines changed: 201 additions & 284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "humanloop"
33

44
[tool.poetry]
55
name = "humanloop"
6-
version = "0.8.40b3"
6+
version = "0.8.39"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 9 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ Controls how the model uses tools. The following options are supported:
178178
The Prompt configuration to use. Two formats are supported:
179179
- An object representing the details of the Prompt configuration
180180
- A string representing the raw contents of a .prompt file
181+
181182
A new Prompt version will be created if the provided details do not match any existing version.
182183

183184
</dd>
@@ -282,14 +283,6 @@ A new Prompt version will be created if the provided details do not match any ex
282283
<dl>
283284
<dd>
284285

285-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
286-
287-
</dd>
288-
</dl>
289-
290-
<dl>
291-
<dd>
292-
293286
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
294287

295288
</dd>
@@ -587,14 +580,6 @@ Controls how the model uses tools. The following options are supported:
587580
<dl>
588581
<dd>
589582

590-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
591-
592-
</dd>
593-
</dl>
594-
595-
<dl>
596-
<dd>
597-
598583
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
599584

600585
</dd>
@@ -724,6 +709,7 @@ Controls how the model uses tools. The following options are supported:
724709
The Prompt configuration to use. Two formats are supported:
725710
- An object representing the details of the Prompt configuration
726711
- A string representing the raw contents of a .prompt file
712+
727713
A new Prompt version will be created if the provided details do not match any existing version.
728714

729715
</dd>
@@ -772,14 +758,6 @@ A new Prompt version will be created if the provided details do not match any ex
772758
<dl>
773759
<dd>
774760

775-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
776-
777-
</dd>
778-
</dl>
779-
780-
<dl>
781-
<dd>
782-
783761
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
784762

785763
</dd>
@@ -996,6 +974,7 @@ Controls how the model uses tools. The following options are supported:
996974
The Prompt configuration to use. Two formats are supported:
997975
- An object representing the details of the Prompt configuration
998976
- A string representing the raw contents of a .prompt file
977+
999978
A new Prompt version will be created if the provided details do not match any existing version.
1000979

1001980
</dd>
@@ -1044,14 +1023,6 @@ A new Prompt version will be created if the provided details do not match any ex
10441023
<dl>
10451024
<dd>
10461025

1047-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
1048-
1049-
</dd>
1050-
</dl>
1051-
1052-
<dl>
1053-
<dd>
1054-
10551026
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
10561027

10571028
</dd>
@@ -2690,14 +2661,6 @@ client.tools.call()
26902661
<dl>
26912662
<dd>
26922663

2693-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
2694-
2695-
</dd>
2696-
</dl>
2697-
2698-
<dl>
2699-
<dd>
2700-
27012664
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
27022665

27032666
</dd>
@@ -2952,14 +2915,6 @@ client.tools.log(path='math-tool', tool={'function': {'name': 'multiply', 'descr
29522915
<dl>
29532916
<dd>
29542917

2955-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
2956-
2957-
</dd>
2958-
</dl>
2959-
2960-
<dl>
2961-
<dd>
2962-
29632918
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
29642919

29652920
</dd>
@@ -3179,14 +3134,6 @@ client.tools.update(id='id', log_id='log_id', )
31793134
<dl>
31803135
<dd>
31813136

3182-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
3183-
3184-
</dd>
3185-
</dl>
3186-
3187-
<dl>
3188-
<dd>
3189-
31903137
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31913138

31923139
</dd>
@@ -5779,14 +5726,6 @@ client.evaluators.log(parent_id='parent_id', )
57795726
<dl>
57805727
<dd>
57815728

5782-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
5783-
5784-
</dd>
5785-
</dl>
5786-
5787-
<dl>
5788-
<dd>
5789-
57905729
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
57915730

57925731
</dd>
@@ -6883,9 +6822,6 @@ Log to a Flow.
68836822

68846823
You can use query parameters `version_id`, or `environment`, to target
68856824
an existing version of the Flow. Otherwise, the default deployed version will be chosen.
6886-
6887-
If you create the Flow Log with a `log_status` of `incomplete`, you should later update it to `complete`
6888-
in order to trigger Evaluators.
68896825
</dd>
68906826
</dl>
68916827
</dd>
@@ -7074,7 +7010,7 @@ client.flows.log(id='fl_6o701g4jmcanPVHxdqD0O', flow={'attributes': {'prompt': {
70747010
<dl>
70757011
<dd>
70767012

7077-
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Log is updated from `incomplete` to `complete`, it becomes available to Monitoring Evaluators. Flow Logs cannot have an unspecified status: they must start as `incomplete` to allow children to be added. Provide `complete` if you don't intend to add children to the trace.
7013+
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Log is updated from `incomplete` to `complete`, no more Logs can be added to it.
70787014

70797015
</dd>
70807016
</dl>
@@ -7249,7 +7185,7 @@ client.flows.update_log(log_id='medqa_experiment_0001', inputs={'question': 'Pat
72497185
<dl>
72507186
<dd>
72517187

7252-
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Flow Log is updated to `complete`, no more Logs can be added to it. Monitoring Evaluators will only run on `complete` Flow Logs.
7188+
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Flow Log is updated to `complete`, no more Logs can be added to it. You cannot update a Flow Log's status from `complete` to `incomplete`.
72537189

72547190
</dd>
72557191
</dl>
@@ -8447,6 +8383,7 @@ Controls how the model uses tools. The following options are supported:
84478383
The Agent configuration to use. Two formats are supported:
84488384
- An object representing the details of the Agent configuration
84498385
- A string representing the raw contents of a .agent file
8386+
84508387
A new Agent version will be created if the provided details do not match any existing version.
84518388

84528389
</dd>
@@ -8551,14 +8488,6 @@ A new Agent version will be created if the provided details do not match any exi
85518488
<dl>
85528489
<dd>
85538490

8554-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
8555-
8556-
</dd>
8557-
</dl>
8558-
8559-
<dl>
8560-
<dd>
8561-
85628491
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
85638492

85648493
</dd>
@@ -8722,7 +8651,7 @@ client.agents.update_log(id='ag_1234567890', log_id='log_1234567890', messages=[
87228651
<dl>
87238652
<dd>
87248653

8725-
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Flow Log is updated to `complete`, no more Logs can be added to it. Monitoring Evaluators will only run on `complete` Flow Logs.
8654+
**log_status:** `typing.Optional[LogStatus]` — Status of the Flow Log. When a Flow Log is updated to `complete`, no more Logs can be added to it. You cannot update a Flow Log's status from `complete` to `incomplete`.
87268655

87278656
</dd>
87288657
</dl>
@@ -8862,6 +8791,7 @@ Controls how the model uses tools. The following options are supported:
88628791
The Agent configuration to use. Two formats are supported:
88638792
- An object representing the details of the Agent configuration
88648793
- A string representing the raw contents of a .agent file
8794+
88658795
A new Agent version will be created if the provided details do not match any existing version.
88668796

88678797
</dd>
@@ -8910,14 +8840,6 @@ A new Agent version will be created if the provided details do not match any exi
89108840
<dl>
89118841
<dd>
89128842

8913-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
8914-
8915-
</dd>
8916-
</dl>
8917-
8918-
<dl>
8919-
<dd>
8920-
89218843
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
89228844

89238845
</dd>
@@ -9120,6 +9042,7 @@ Controls how the model uses tools. The following options are supported:
91209042
The Agent configuration to use. Two formats are supported:
91219043
- An object representing the details of the Agent configuration
91229044
- A string representing the raw contents of a .agent file
9045+
91239046
A new Agent version will be created if the provided details do not match any existing version.
91249047

91259048
</dd>
@@ -9168,14 +9091,6 @@ A new Agent version will be created if the provided details do not match any exi
91689091
<dl>
91699092
<dd>
91709093

9171-
**log_status:** `typing.Optional[LogStatus]` — Status of a Log. Set to `incomplete` if you intend to update and eventually complete the Log and want the File's monitoring Evaluators to wait until you mark it as `complete`. If log_status is not provided, observability will pick up the Log as soon as possible. Updating this from specified to unspecified is undefined behavior.
9172-
9173-
</dd>
9174-
</dl>
9175-
9176-
<dl>
9177-
<dd>
9178-
91799094
**source_datapoint_id:** `typing.Optional[str]` — Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
91809095

91819096
</dd>

0 commit comments

Comments
 (0)