Skip to content

Commit d69e298

Browse files
srbalakrpamelafox
andauthored
Update app/backend/approaches/chatreadretrieveread.py
Co-authored-by: Pamela Fox <[email protected]>
1 parent e0a57c1 commit d69e298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/backend/approaches/chatreadretrieveread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def num_tokens_from_messages(self, message: dict[str,str], model: str) -> int:
155155
"""
156156
Calculate the number of tokens required to encode a message.
157157
Args:
158-
message (any): The message to encode, represented as a dictionary.
158+
message (dict): The message to encode, represented as a dictionary.
159159
model (str): The name of the model to use for encoding.
160160
Returns:
161161
int: The total number of tokens required to encode the message.

0 commit comments

Comments
 (0)