fix(azure.py): fix linting errors

This commit is contained in:
Krrish Dholakia 2023-11-16 12:15:50 -08:00
parent 63104f4194
commit f99a161d98
2 changed files with 4 additions and 9 deletions

View file

@ -1819,7 +1819,7 @@ def embedding(
###### Text Completion ################
def text_completion(
prompt: Union[str, List[Union[str, List[Union[str, List[int]]]]]], # Required: The prompt(s) to generate completions for.
model: Optional[str] = None, # Required: ID of the model to use.
model: str, # Required: ID of the model to use.
best_of: Optional[int] = None, # Optional: Generates best_of completions server-side.
echo: Optional[bool] = None, # Optional: Echo back the prompt in addition to the completion.
frequency_penalty: Optional[float] = None, # Optional: Penalize new tokens based on their existing frequency.