Skip to content

Conversation

@CalebMartinUiPath
Copy link

No description provided.

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Jan 14, 2026
folder_key: Optional[str] = None,
folder_path: Optional[str] = None,
) -> Any:
def retrieve_by_id(self, id: str) -> Any:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we keep the folder params?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ecs api doesn't require/use folder params for anything. So updating the sdk to match

"""Create a new ephemeral context grounding index.
Args:
usage (str): The task in which the ephemeral index will be used for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are possible values for this usage param?

Returns:
Dictionary with data source configuration for API
"""
data_source: AttachmentsDataSource
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: unnecessary

)

@field_serializer("last_ingested", "last_queried", when_used="json")
@field_serializer("last_ingested", "last_queried")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed?

Copy link
Contributor

@radu-mocanu radu-mocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

let s fix the tests

class CreateEphemeralIndex(BaseModel):
"""Model representing a Ephemeral Index task creation."""

usage: str

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be typed?

"""
spec = self._retrieve_by_id_spec(
id,
folder_key=folder_key,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not still required for folder based indexes? (Not ephemeral)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think so. Not sure if this is intended:
image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with user token
Screenshot 2026-01-23 at 9 26 05 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants