prompty
prompty copied to clipboard
extension code for prompty and promptflow tracing
Extension generates Prompty code iwith tracing enabled, but promptflow code does not have tracing enabled.
When added similar @trace annotation to promptflow
from prompty.tracer import trace, Tracer, console_tracer, PromptyTracer
json_tracer = PromptyTracer()
Tracer.add("PromptyTracer", json_tracer.tracer)
@tool
@trace
def flow_entry(
image_path: any
) -> str:
tracy file does not have much details:
OH! Will fix - looks like the PF code emitted is out of date.