-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: Migrate Human in the Loop for Agents from experimental #10403
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
…ing an LLM provider that doesn't provide tool call IDs
|
@davidsbatista feel free to loop in Stefano as well since he reviewed the original feature |
|
Ahh I forgot, I need to create new doc section and files as well |
|
@anakin87 - maybe you can help me on this one, since you already reviewed the first iteration on experimental |
|
@sjrl could you confirm that we don't want to migrate |
|
I took a look at the PR and it seems good. I am thinking about directories... We currently have In experimental, these modules were grouped together in @sjrl WDYT? |
That is correct. It was left in experimental on purpose since it's not needed by platform and we haven't built an end-to-end demo with it using Hayhooks so I'm less confident that it doesn't need future changes to work well in a production scenario. |
I changed the structure since I was trying to make it easier to create new integrations related to confirmation strategies and policies in core-integrations. For example, the I'm open to changing this though, but what's your take on making it easy to create integrations for human in the loop features? |
I understand your point and makes sense. It's a minor thing but what about also putting related dataclasses in the same HiTL directory? (This would also reflect what we have done for tools) |
Yeah happy to do that! |
|
@anakin87 this should be ready for another review! |
anakin87
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general.
We should add pydoc config for the new human_in_the_loop package to haystack/pydoc.
I imagine that documentation will be added in a future PR. Right?
Good point. I can also add it in this PR |
|
I'd prefer:
Not a strong opinion, in any case |
Related Issues
Proposed Changes:
How did you test it?
Notes for the reviewer
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.