fix dict type annotation

This commit is contained in:
youkaichao
2023-04-15 22:10:22 +08:00
parent afd2c5e2c6
commit a51b37f01c
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ def create_chat_completion(
"""Create a chat completion using the OpenAI API
Args:
messages (list[dict[str, str]]): The messages to send to the chat completion
messages (List[Dict[str, str]]): The messages to send to the chat completion
model (str, optional): The model to use. Defaults to None.
temperature (float, optional): The temperature to use. Defaults to 0.9.
max_tokens (int, optional): The max tokens to use. Defaults to None.