Skip to content

Commit c163f4d

Browse files
committed
Release 0.8.0b14
1 parent 4f3da56 commit c163f4d

File tree

62 files changed

+5346
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+5346
-421
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ except ApiError as e:
122122
The SDK supports streaming responses, as well, the response will be a generator that you can loop over.
123123

124124
```python
125+
import datetime
126+
125127
from humanloop import Humanloop
126128

127129
client = Humanloop(
@@ -181,9 +183,15 @@ response = client.prompts.call_stream(
181183
inputs={"string": {"key": "value"}},
182184
source="string",
183185
metadata={"string": {"key": "value"}},
184-
session_id="string",
185-
parent_id="string",
186+
start_time=datetime.datetime.fromisoformat(
187+
"2024-01-15 09:30:00+00:00",
188+
),
189+
end_time=datetime.datetime.fromisoformat(
190+
"2024-01-15 09:30:00+00:00",
191+
),
186192
source_datapoint_id="string",
193+
trace_id="string",
194+
trace_parent_log_id="string",
187195
batches=["string"],
188196
user="string",
189197
prompts_call_stream_request_environment="string",
@@ -193,6 +201,7 @@ response = client.prompts.call_stream(
193201
"ai_21": "string",
194202
"mock": "string",
195203
"anthropic": "string",
204+
"bedrock": "string",
196205
"cohere": "string",
197206
"openai_azure": "string",
198207
"openai_azure_endpoint": "string",

poetry.lock

Lines changed: 105 additions & 101 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
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "humanloop"
3-
version = "0.8.0b13"
3+
version = "0.8.0b14"
44
description = ""
55
readme = "README.md"
66
authors = []

0 commit comments

Comments
 (0)