Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: dbczumar <[email protected]>
  • Loading branch information
dbczumar committed Oct 10, 2024
1 parent 3231a8d commit cdd4cbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dspy/adapters/chat_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ def format_turn(signature: SignatureMeta, values: Dict[str, Any], role, incomple
Args:
signature: The DSPy signature to which future LLM responses should conform.
values: A dictionary of field names (from the DSPy signature) to corresponding values that
should be included in the message.
values: A dictionary mapping field names (from the DSPy signature) to corresponding values
that should be included in the message.
role: The role of the message, which can be either "user" or "assistant".
incomplete: If True, indicates that output field values are present in the set of specified
``values``. If False, indicates that ``values`` only contains input field values.
Returns:
A chat message that can be appended to a chat thread. The message contains two string fields:
``role`` ("user" or "assistant") and ``content`` (containing the message itself).
``role`` ("user" or "assistant") and ``content`` (the message text).
"""
content = []

Expand Down

0 comments on commit cdd4cbc

Please sign in to comment.