Skip to content

Commit 7fc9900

Browse files
committed
Release 0.8.30
1 parent f4b5a13 commit 7fc9900

File tree

10 files changed

+172
-172
lines changed

10 files changed

+172
-172
lines changed

poetry.lock

Lines changed: 145 additions & 145 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.29b1"
6+
version = "0.8.30"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ client.prompts.log(
5656
messages=[{"role": "user", "content": "What really happened at Roswell?"}],
5757
inputs={"person": "Trump"},
5858
created_at=datetime.datetime.fromisoformat(
59-
"2024-07-19 00:29:35.178000+00:00",
59+
"2024-07-18 23:29:35.178000+00:00",
6060
),
6161
provider_latency=6.5931549072265625,
6262
output_message={
@@ -193,7 +193,7 @@ client.prompts.log(
193193
Controls how the model uses tools. The following options are supported:
194194
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
195195
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
196-
- `'required'` means the model can decide to call one or more of the provided tools.
196+
- `'required'` means the model must call one or more of the provided tools.
197197
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
198198

199199
</dd>
@@ -512,7 +512,7 @@ client.prompts.update_log(
512512
Controls how the model uses tools. The following options are supported:
513513
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
514514
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
515-
- `'required'` means the model can decide to call one or more of the provided tools.
515+
- `'required'` means the model must call one or more of the provided tools.
516516
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
517517

518518
</dd>
@@ -743,7 +743,7 @@ for chunk in response:
743743
Controls how the model uses tools. The following options are supported:
744744
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
745745
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
746-
- `'required'` means the model can decide to call one or more of the provided tools.
746+
- `'required'` means the model must call one or more of the provided tools.
747747
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
748748

749749
</dd>
@@ -1017,7 +1017,7 @@ client.prompts.call(
10171017
Controls how the model uses tools. The following options are supported:
10181018
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
10191019
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
1020-
- `'required'` means the model can decide to call one or more of the provided tools.
1020+
- `'required'` means the model must call one or more of the provided tools.
10211021
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
10221022

10231023
</dd>
@@ -6760,10 +6760,10 @@ client.flows.log(
67606760
output="The patient is likely experiencing a myocardial infarction. Immediate medical attention is required.",
67616761
log_status="incomplete",
67626762
start_time=datetime.datetime.fromisoformat(
6763-
"2024-07-08 22:40:35+00:00",
6763+
"2024-07-08 21:40:35+00:00",
67646764
),
67656765
end_time=datetime.datetime.fromisoformat(
6766-
"2024-07-08 22:40:39+00:00",
6766+
"2024-07-08 21:40:39+00:00",
67676767
),
67686768
)
67696769

src/humanloop/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "humanloop",
19-
"X-Fern-SDK-Version": "0.8.29b1",
19+
"X-Fern-SDK-Version": "0.8.30",
2020
}
2121
headers["X-API-KEY"] = self.api_key
2222
return headers

src/humanloop/flows/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ def log(
204204
output="The patient is likely experiencing a myocardial infarction. Immediate medical attention is required.",
205205
log_status="incomplete",
206206
start_time=datetime.datetime.fromisoformat(
207-
"2024-07-08 22:40:35+00:00",
207+
"2024-07-08 21:40:35+00:00",
208208
),
209209
end_time=datetime.datetime.fromisoformat(
210-
"2024-07-08 22:40:39+00:00",
210+
"2024-07-08 21:40:39+00:00",
211211
),
212212
)
213213
"""
@@ -1468,10 +1468,10 @@ async def main() -> None:
14681468
output="The patient is likely experiencing a myocardial infarction. Immediate medical attention is required.",
14691469
log_status="incomplete",
14701470
start_time=datetime.datetime.fromisoformat(
1471-
"2024-07-08 22:40:35+00:00",
1471+
"2024-07-08 21:40:35+00:00",
14721472
),
14731473
end_time=datetime.datetime.fromisoformat(
1474-
"2024-07-08 22:40:39+00:00",
1474+
"2024-07-08 21:40:39+00:00",
14751475
),
14761476
)
14771477

src/humanloop/prompts/client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def log(
154154
Controls how the model uses tools. The following options are supported:
155155
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
156156
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
157-
- `'required'` means the model can decide to call one or more of the provided tools.
157+
- `'required'` means the model must call one or more of the provided tools.
158158
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
159159
160160
prompt : typing.Optional[PromptKernelRequestParams]
@@ -248,7 +248,7 @@ def log(
248248
messages=[{"role": "user", "content": "What really happened at Roswell?"}],
249249
inputs={"person": "Trump"},
250250
created_at=datetime.datetime.fromisoformat(
251-
"2024-07-19 00:29:35.178000+00:00",
251+
"2024-07-18 23:29:35.178000+00:00",
252252
),
253253
provider_latency=6.5931549072265625,
254254
output_message={
@@ -411,7 +411,7 @@ def update_log(
411411
Controls how the model uses tools. The following options are supported:
412412
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
413413
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
414-
- `'required'` means the model can decide to call one or more of the provided tools.
414+
- `'required'` means the model must call one or more of the provided tools.
415415
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
416416
417417
output : typing.Optional[str]
@@ -600,7 +600,7 @@ def call_stream(
600600
Controls how the model uses tools. The following options are supported:
601601
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
602602
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
603-
- `'required'` means the model can decide to call one or more of the provided tools.
603+
- `'required'` means the model must call one or more of the provided tools.
604604
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
605605
606606
prompt : typing.Optional[PromptKernelRequestParams]
@@ -817,7 +817,7 @@ def call(
817817
Controls how the model uses tools. The following options are supported:
818818
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
819819
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
820-
- `'required'` means the model can decide to call one or more of the provided tools.
820+
- `'required'` means the model must call one or more of the provided tools.
821821
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
822822
823823
prompt : typing.Optional[PromptKernelRequestParams]
@@ -2183,7 +2183,7 @@ async def log(
21832183
Controls how the model uses tools. The following options are supported:
21842184
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
21852185
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
2186-
- `'required'` means the model can decide to call one or more of the provided tools.
2186+
- `'required'` means the model must call one or more of the provided tools.
21872187
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
21882188
21892189
prompt : typing.Optional[PromptKernelRequestParams]
@@ -2283,7 +2283,7 @@ async def main() -> None:
22832283
],
22842284
inputs={"person": "Trump"},
22852285
created_at=datetime.datetime.fromisoformat(
2286-
"2024-07-19 00:29:35.178000+00:00",
2286+
"2024-07-18 23:29:35.178000+00:00",
22872287
),
22882288
provider_latency=6.5931549072265625,
22892289
output_message={
@@ -2449,7 +2449,7 @@ async def update_log(
24492449
Controls how the model uses tools. The following options are supported:
24502450
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
24512451
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
2452-
- `'required'` means the model can decide to call one or more of the provided tools.
2452+
- `'required'` means the model must call one or more of the provided tools.
24532453
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
24542454
24552455
output : typing.Optional[str]
@@ -2646,7 +2646,7 @@ async def call_stream(
26462646
Controls how the model uses tools. The following options are supported:
26472647
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
26482648
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
2649-
- `'required'` means the model can decide to call one or more of the provided tools.
2649+
- `'required'` means the model must call one or more of the provided tools.
26502650
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
26512651
26522652
prompt : typing.Optional[PromptKernelRequestParams]
@@ -2871,7 +2871,7 @@ async def call(
28712871
Controls how the model uses tools. The following options are supported:
28722872
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
28732873
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
2874-
- `'required'` means the model can decide to call one or more of the provided tools.
2874+
- `'required'` means the model must call one or more of the provided tools.
28752875
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
28762876
28772877
prompt : typing.Optional[PromptKernelRequestParams]

src/humanloop/requests/prompt_call_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class PromptCallResponseParams(typing_extensions.TypedDict):
3636
Controls how the model uses tools. The following options are supported:
3737
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
3838
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
39-
- `'required'` means the model can decide to call one or more of the provided tools.
39+
- `'required'` means the model must call one or more of the provided tools.
4040
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
4141
"""
4242

src/humanloop/requests/prompt_log_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class PromptLogResponseParams(typing_extensions.TypedDict):
6666
Controls how the model uses tools. The following options are supported:
6767
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
6868
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
69-
- `'required'` means the model can decide to call one or more of the provided tools.
69+
- `'required'` means the model must call one or more of the provided tools.
7070
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
7171
"""
7272

src/humanloop/types/prompt_call_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class PromptCallResponse(UncheckedBaseModel):
4545
Controls how the model uses tools. The following options are supported:
4646
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
4747
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
48-
- `'required'` means the model can decide to call one or more of the provided tools.
48+
- `'required'` means the model must call one or more of the provided tools.
4949
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
5050
"""
5151

src/humanloop/types/prompt_log_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class PromptLogResponse(UncheckedBaseModel):
6969
Controls how the model uses tools. The following options are supported:
7070
- `'none'` means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.
7171
- `'auto'` means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.
72-
- `'required'` means the model can decide to call one or more of the provided tools.
72+
- `'required'` means the model must call one or more of the provided tools.
7373
- `{'type': 'function', 'function': {name': <TOOL_NAME>}}` forces the model to use the named function.
7474
"""
7575

0 commit comments

Comments
 (0)