Skip to content

Return langfuse api/key + trace info in metadata

Laurian Gridinoc requested to merge 46-langfuse-metadata into main

Fixes API side of #46

example response:

{
"filters":{"current_work_locations":["Pennsylvania"],"future_work_locations":["Philadelphia, PA"],"key_words_and_phrases":[],"organization_location":["Philadelphia"]},
"id":"b294345a0dd6bd4f7160f9fbdbbf2e7f",
"keywords":["Philadelphia","literacy projects"],

"metadata": {
  "langfuse_api": "https://langfuse.147.pm",
  "langfuse_public_key": "pk-lf-ef0fa3ef-4dbd-4b90-8920-8ff1f7de6b43",
  "trace_id": "9a021c7a-7450-4507-8a1d-9a127aa2e968",
  "trace_url": "https://langfuse.147.pm/trace/9a021c7a-7450-4507-8a1d-9a127aa2e968"
},

"query":"literacy projects in philidelphia"
}

Merge request reports

Loading