hume-python-sdk icon indicating copy to clipboard operation
hume-python-sdk copied to clipboard

Sending session ids over text doesn't seem to return the session back

Open lithafnium opened this issue 1 year ago • 1 comments

Hey there, I'm sending input as text with a "custom_session_id" as part of the payload, like such:

data = json.dumps(
            {"text": prompt, "type": "user_input", "custom_session_id": "testtestest"}
        )

When I read the messages back, however, I'm not getting the custom_session_id in the json object. Any idea as to what could be the issue?

lithafnium avatar May 28 '24 17:05 lithafnium

Thank you for raising this issue. I was able to reproduce it in testing and have raised this with the Hume team.

norman-codes avatar Oct 17 '24 19:10 norman-codes

I was successfully able to use custom_session_id recently in an example project and I suspect this issue has been fixed, though I'm not certain whether my scenario matches yours. I am closing the issue -- please feel free to reopen with more details if there is a continued problem.

Custom Language Models and custom_session_id have seen quite a few updates since this issue was opened, so you can refer to the docs as well.

twitchard avatar May 05 '25 22:05 twitchard