Accessing the raw user call to OpenAI #210
-
Hello community! Is there a way to access the raw user message that is sent to OpenAI ? for example, for this class: class DesiredClass(BaseModel): I want to know if the (description="The xml-path to determine the line id" ) is being used in the OpenAI call or not. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
+1 on this request, it would be great to have an option to pass a flag to print the call being made. |
Beta Was this translation helpful? Give feedback.
-
yes it is, if you want to see what is send to openai via the json schema just run |
Beta Was this translation helpful? Give feedback.
yes it is, if you want to see what is send to openai via the json schema just run
DesiredClass.model_json_schema()
and you'll see the whole payload.