Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyizhu99 committed Apr 24, 2024
1 parent 0edb0c4 commit f154fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/promptflow-rag/promptflow/rag/_build_mlindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def build_index(
embeddings_model_uri = None
else:
embeddings_model_uri = build_open_ai_protocol(
embeddings_model_config.deployment_name,
embeddings_model_config.deployment_name,
embeddings_model_config.model_name
)

Expand Down
2 changes: 1 addition & 1 deletion src/promptflow-rag/promptflow/rag/constants/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

AZURE_AI_SEARCH_API_VERSION = "2023-07-01-preview"
OPEN_AI_PROTOCOL_TEMPLATE = "azure_open_ai://deployment/{}/model/{}"
CONNECTION_ID_TEMPLATE = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/connections/{}" # noqa: E501
CONNECTION_ID_TEMPLATE = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/connections/{}" # noqa: E501


class IndexInputType(object):
Expand Down

0 comments on commit f154fe1

Please sign in to comment.