instructor icon indicating copy to clipboard operation
instructor copied to clipboard

[Feature]Add log for llm input/prompt text data

Open shenxiangzhuang opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Sometimes, we want to know what's the prompt/input which is sent to llm is exactly. For example, as a new user of pydantic or instructor, we don't know how these pkgs work under the hood, so it's will be helpful to check the prompt itself.

Describe the solution you'd like We could add a debug message simply.

Describe alternatives you've considered Maybe a info level message?

Additional context I'd like to create a PR to do this.

shenxiangzhuang avatar Aug 06 '24 08:08 shenxiangzhuang

I second this feature, it would be very helpful to know what prompt it being sent to LLM. May be adding instrumentation would be good.

dhirajsuvarna avatar Aug 24 '24 07:08 dhirajsuvarna

Closing as part of repository maintenance for issues created before 2025.

jxnl avatar Mar 05 '25 00:03 jxnl