add chat completion support for JsonSchemaResponseFormat request_format

This commit is contained in:
Matthew Farrellee 2024-11-22 06:29:55 -05:00
parent a6f47f1090
commit e6b82a44eb
3 changed files with 18 additions and 0 deletions

View file

@ -159,6 +159,7 @@ class NVIDIAInferenceAdapter(Inference, ModelRegistryHelper):
model=self.get_provider_model_id(model_id),
messages=messages,
sampling_params=sampling_params,
response_format=response_format,
tools=tools,
tool_choice=tool_choice,
tool_prompt_format=tool_prompt_format,