Skip to content

add dedicated prompt tracking#24

Draft
pritamsoni-hsr wants to merge 1 commit intomainfrom
add-prompt-tracker
Draft

add dedicated prompt tracking#24
pritamsoni-hsr wants to merge 1 commit intomainfrom
add-prompt-tracker

Conversation

@pritamsoni-hsr
Copy link
Contributor

No description provided.

@pritamsoni-hsr
Copy link
Contributor Author

@akhatre , this can be util provided in sdk, which allows us getting most accurate prompt template

@akhatre
Copy link
Contributor

akhatre commented Feb 4, 2026

@pritamsoni-hsr so

  • span level -> we store formatted prompt as input, template as attribute. Should we also store variables?
  • prompt model -> only stores templates. Should we have some logic to add templates from attributes of spans when provided by the user?

besides the above, we should have a way to link spans to prompt model. Because:

  • For prompt tuning we need to select N spans by their template
  • For cases when we auto-extract templates from traces we would want to store that template and link it to traces it originated from
  • For backtesting new prompt templates we need both the template, the spans and their variables to create a new formatted prompt to test on the backend

@pritamsoni-hsr
Copy link
Contributor Author

gonna further speak with rohit on this, what would be the best to consume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants