Skip to content

feat(InputMocking): generate mock input using LLM given instructions - #695

Merged
bai-uipath merged 1 commit into
mainfrom
bai/input-mocking
Oct 16, 2025
Merged

feat(InputMocking): generate mock input using LLM given instructions#695
bai-uipath merged 1 commit into
mainfrom
bai/input-mocking

Conversation

@bai-uipath

@bai-uipath bai-uipath commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

This PR adds LLM-based input mocking, using prompt configured in inputMockingStrategy in the evaluation JSON.

Currently missing the input schema (which we will extract from the agent definition, once it is available).

@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 Oct 14, 2025
@bai-uipath bai-uipath changed the title [WIP] feat(InputMocking): generate mock input using LLM given instructions feat(InputMocking): generate mock input using LLM given instructions Oct 14, 2025
@bai-uipath
bai-uipath marked this pull request as ready for review October 14, 2025 22:44
@bai-uipath
bai-uipath requested a review from akshaylive October 14, 2025 22:44
Comment thread src/uipath/_cli/_evals/_models/_evaluation_set.py Outdated
Comment thread src/uipath/_cli/_evals/_models/_evaluation_set.py Outdated
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
Comment thread src/uipath/_cli/_evals/mocks/input_mocker.py Outdated
Comment thread src/uipath/_cli/_evals/mocks/input_mocker.py

@akshaylive akshaylive left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This line need not exist right?

@pytest.mark.httpx_mock(assert_all_responses_were_requested=False)

Otherwise, LGTM!

@bai-uipath
bai-uipath merged commit a545fa3 into main Oct 16, 2025
59 checks passed
@bai-uipath
bai-uipath deleted the bai/input-mocking branch October 16, 2025 20:32
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.

2 participants