Skip to content

cleanup duplicated code gen ai sdk #34048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ 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.generative.index._utils.logging import disable_mlflow
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 Expand Up @@ -175,7 +175,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