Skip to content
Snippets Groups Projects
Commit 31d78a97 authored by szelesaron's avatar szelesaron
Browse files

fixed linting issue

parent 284950f4
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,9 @@ class AzureOpenAIEncoder(BaseEncoder):
try:
self.client = openai.AzureOpenAI(
azure_deployment=str(self.deployment_name) if self.deployment_name else None,
azure_deployment=str(self.deployment_name)
if self.deployment_name
else None,
api_key=str(self.api_key),
azure_endpoint=str(self.azure_endpoint),
api_version=str(self.api_version),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment