Skip to content

Commit b7dfbb8

Browse files
committed
Fix
Signed-off-by: dbczumar <[email protected]>
1 parent 7a1a84f commit b7dfbb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dspy/adapters/json_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ def format_signature_fields_for_instructions(role, fields: Dict[str, FieldInfo])
320320

321321
def _get_structured_outputs_response_format(signature: SignatureMeta) -> pydantic.BaseModel:
322322
"""
323-
Obtains the LiteLLM / OpenAI `response_format` parameter for obtaining structured outputs from
324-
an LM request, based on the output fields of the specified DSPy signature.
323+
Constructs the LiteLLM / OpenAI `response_format` parameter for obtaining structured outputs
324+
from an LM request, based on the output fields of the specified DSPy signature.
325325
326326
Args:
327327
signature: The DSPy signature for which to obtain the `response_format` request parameter.

0 commit comments

Comments
 (0)