File tree Expand file tree Collapse file tree
packages/uipath-platform/src/uipath/platform/context_grounding Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -696,11 +696,6 @@ def create_ephemeral_index(
696696 Returns:
697697 ContextGroundingIndex: The created index information.
698698 """
699- # Resolve the folder key the same way retrieve_by_id does (falling back
700- # to the ambient folder context) so the index is created in the same
701- # folder scope it will later be retrieved from. Otherwise the index is
702- # created tenant-scoped but the GET sends x-uipath-folderkey, scoping the
703- # lookup to a folder the index doesn't live in -> 404 "Schema not found".
704699 folder_key = self ._resolve_folder_key (folder_key , folder_path )
705700 spec = self ._create_ephemeral_spec (
706701 usage ,
@@ -737,11 +732,6 @@ async def create_ephemeral_index_async(
737732 Returns:
738733 ContextGroundingIndex: The created index information.
739734 """
740- # Resolve the folder key the same way retrieve_by_id does (falling back
741- # to the ambient folder context) so the index is created in the same
742- # folder scope it will later be retrieved from. Otherwise the index is
743- # created tenant-scoped but the GET sends x-uipath-folderkey, scoping the
744- # lookup to a folder the index doesn't live in -> 404 "Schema not found".
745735 folder_key = self ._resolve_folder_key (folder_key , folder_path )
746736 spec = self ._create_ephemeral_spec (
747737 usage ,
You can’t perform that action at this time.
0 commit comments