Marc
Marc8mo ago

Good question, haven't used the flowise

Good question, haven't used the flowise integration myself in prod though. What you could do is to fetch the session via the GET API which returns the traceids that belong to the session
4 Replies
nikost
nikost8mo ago
Thanks for the suggestion. Very helpful. I tried the api and I can get the traces for a session. I see that the object has the schema :
{
"id": "",
"externalId": null,
"timestamp": "2024-01-24T19:36:52.289Z",
"name": "",
"userId": null,
"metadata": {
"tags": []
},
"release": null,
"version": null,
"projectId": "",
"public": false,
"bookmarked": false,
"tags": [],
"input": {
"input": ""
},
"output": {
"output": ""
},
"sessionId": ""
}
{
"id": "",
"externalId": null,
"timestamp": "2024-01-24T19:36:52.289Z",
"name": "",
"userId": null,
"metadata": {
"tags": []
},
"release": null,
"version": null,
"projectId": "",
"public": false,
"bookmarked": false,
"tags": [],
"input": {
"input": ""
},
"output": {
"output": ""
},
"sessionId": ""
}
Is there any way to pass the externalId ? I have in my flowise requests these :
overrideConfig: {
analytics: {
langFuse: {
chatId: "sampleChatId",
userId: "sampleUser1",
sessionId: "sampleSessionId",
externalId: "sampleExternalId"
}
},
sessionId: "sampleSession"
}
overrideConfig: {
analytics: {
langFuse: {
chatId: "sampleChatId",
userId: "sampleUser1",
sessionId: "sampleSessionId",
externalId: "sampleExternalId"
}
},
sessionId: "sampleSession"
}
sessionId and userId are visible in langfuse, but the externalId still is null
Marc
Marc8mo ago
externalId is deprecated and will be removed soon from the interface setting the traceId via the overrideConfig would be interesting
Marc
Marc8mo ago
Can you create an idea for this here: https://github.com/langfuse/langfuse/discussions
GitHub
langfuse langfuse · Discussions
Explore the GitHub Discussions forum for langfuse langfuse. Discuss code, ask questions & collaborate with the developer community.
Marc
Marc8mo ago
Happy to discuss with flowise maintainers