Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
remove duplicated
  • Loading branch information
jingyizhu99 committed Jan 26, 2024
commit 47aebde01ecee46bfc8e79f939dc777edcede470
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def build_index(
from azure.ai.generative.index._documents import DocumentChunksIterator, split_documents
from azure.ai.generative.index._embeddings import EmbeddingsContainer
from azure.ai.generative.index._tasks.update_acs import create_index_from_raw_embeddings
from azure.ai.generative.index._utils.connections import get_connection_by_id_v2
from azure.ai.resources._index._utils.connections import get_connection_by_id_v2
from azure.ai.generative.index._utils.logging import disable_mlflow
except ImportError as e:
print("In order to use build_index to build an Index locally, you must have azure-ai-generative[index] installed")
Expand Down Expand Up @@ -168,7 +168,7 @@ def _create_mlindex_from_existing_acs(
) -> Index:
try:
from azure.ai.generative.index._embeddings import EmbeddingsContainer
from azure.ai.generative.index._utils.connections import get_connection_by_id_v2
from azure.ai.resources._index._utils.connections import get_connection_by_id_v2
except ImportError as e:
print("In order to use build_index to build an Index locally, you must have azure-ai-generative[index] installed")
raise e
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading