You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open AI's Create chat completion API documentation explicitly states that when using json_schema in response_format, a wrapper field(schema) should be used as follows:
However, currently in TensorRT-LLM, when using json_schema in response_format, you must define the json schema directly instead of using wrapper field(schema) . (See #8934)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Open AI's Create chat completion API documentation explicitly states that when using
json_schemainresponse_format, a wrapper field(schema) should be used as follows:However, currently in TensorRT-LLM, when using
json_schemainresponse_format, you must define the json schema directly instead of using wrapper field(schema) . (See #8934)I have two questions regarding this situation.
schema)?Thank you 😊
Beta Was this translation helpful? Give feedback.
All reactions