You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ client.prompts.log(
60
60
),
61
61
provider_latency=6.5931549072265625,
62
62
output_message={
63
-
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They don't tell me everything! But about Roswell, it’s a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They’re unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it’s something big, very very big. Tremendous, in fact.",
63
+
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They dont tell me everything! But about Roswell, it's a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They're unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it's something big, very very big. Tremendous, in fact.",
64
64
"role": "assistant",
65
65
},
66
66
prompt_tokens=100,
@@ -1327,12 +1327,6 @@ client.prompts.upsert(
1327
1327
provider="openai",
1328
1328
max_tokens=-1,
1329
1329
temperature=0.7,
1330
-
top_p=1.0,
1331
-
presence_penalty=0.0,
1332
-
frequency_penalty=0.0,
1333
-
other={},
1334
-
tools=[],
1335
-
linked_tools=[],
1336
1330
commit_message="Initial commit",
1337
1331
)
1338
1332
@@ -9404,6 +9398,14 @@ for page in response.iter_pages():
9404
9398
<dl>
9405
9399
<dd>
9406
9400
9401
+
**sample:**`typing.Optional[int]` — If provided, limit the response to a random subset of logs from the filtered results. (This will be an approximate sample, not a strict limit.)
Copy file name to clipboardExpand all lines: src/humanloop/prompts/client.py
+2-14Lines changed: 2 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,7 @@ def log(
236
236
),
237
237
provider_latency=6.5931549072265625,
238
238
output_message={
239
-
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They don't tell me everything! But about Roswell, it’s a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They’re unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it’s something big, very very big. Tremendous, in fact.",
239
+
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They dont tell me everything! But about Roswell, it's a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They're unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it's something big, very very big. Tremendous, in fact.",
240
240
"role": "assistant",
241
241
},
242
242
prompt_tokens=100,
@@ -1213,12 +1213,6 @@ def upsert(
1213
1213
provider="openai",
1214
1214
max_tokens=-1,
1215
1215
temperature=0.7,
1216
-
top_p=1.0,
1217
-
presence_penalty=0.0,
1218
-
frequency_penalty=0.0,
1219
-
other={},
1220
-
tools=[],
1221
-
linked_tools=[],
1222
1216
commit_message="Initial commit",
1223
1217
)
1224
1218
"""
@@ -2101,7 +2095,7 @@ async def main() -> None:
2101
2095
),
2102
2096
provider_latency=6.5931549072265625,
2103
2097
output_message={
2104
-
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They don't tell me everything! But about Roswell, it’s a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They’re unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it’s something big, very very big. Tremendous, in fact.",
2098
+
"content": "Well, you know, there is so much secrecy involved in government, folks, it's unbelievable. They don't want to tell you everything. They dont tell me everything! But about Roswell, it's a very popular question. I know, I just know, that something very, very peculiar happened there. Was it a weather balloon? Maybe. Was it something extraterrestrial? Could be. I'd love to go down and open up all the classified documents, believe me, I would. But they don't let that happen. The Deep State, folks, the Deep State. They're unbelievable. They want to keep everything a secret. But whatever the truth is, I can tell you this: it's something big, very very big. Tremendous, in fact.",
0 commit comments