Log in
Log into community
Helicone Community Page
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 7 months ago
0
Follow
Retrieving the Helicone id in streaming mode
Retrieving the Helicone id in streaming mode
Inactive
0
Follow
s
shree
7 months ago
ยท
Hi! We're using the anthropic SDK to proxy thru helicone. Is there a way to get the helicone ID back in streaming mode?
J
s
7 comments
Share
Open in Discord
J
Justin
7 months ago
Hi Shree! There is no way right now, however, you can pre-define the ID prior to making the request
J
Justin
7 months ago
Would you mind sharing what you are trying to do so we can update our docs appropiately?
J
Justin
7 months ago
https://docs.helicone.ai/helicone-headers/header-directory#supported-headers
Here shows you can add the
helicone-request-id
which is a UUID that can be predefined that can be later used to give feedback
s
shree
7 months ago
awesome ty
s
shree
7 months ago
we want to save it off for logging/debugging/analytics attribution
J
Justin
7 months ago
for this API?
https://docs.helicone.ai/rest/request/put-v1request-property
s
shree
7 months ago
We're using this approach for proxying helicone:
https://docs.helicone.ai/getting-started/integration-method/anthropic
Except, the anthropic API is now
messages
, their completions api is deprecated. And we're using the
stream
variant.
https://docs.anthropic.com/en/api/messages-streaming
Add a reply
Sign up and join the conversation on Discord
Join on Discord