-
Notifications
You must be signed in to change notification settings - Fork 90
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
Use LangChain tools / support agents #129
Comments
Yeah I think this could be made into a tool invoked by an agent. If not confidential, would you mind sharing your use case or something that shows a similar workflow / usage if confidential? |
I can make a simple toy use case for example, but i'd focus on the use of an external tool vs other ways of adding validation to the schema/model. Say we were making a resume parser. In it we give the text of an applicants resume. Expected output is a list of the validated companies that the applicant has worked for, along with a ton of other data (think first name, last name, portfolio url) that we'd like to schematize and that's why we're using To make sure the applicant didn't make up the company, we would like to use the Bing Search Tool from langchain to then let the model decide if the company seems valid from the first few results, and if it seems invalid, use that as an opportunity for the model to try getting the company again (maybe it missed part of the title) and try to validate. So either per field, we'd like to tell it the tools that could be useful for that field, or we could as a whole just give it tools and rely on the tools description to be enough. Hope this example is clear enough, happy to make more and thanks for responding! |
Hi Dexter! Thanks for the explanation and sorry for delay responding I was on vacation last week. Re-summarizing in my own words: What you're proposing is an This is a neat idea! Do you have any thoughts/concerns about extraction times or costs adding up since the agent may re-interact with the content multiple times? For myself: This is (likely) distinct from a use-case where there's a specialized agent that can browse through external data sources (e.g., the web) to extracts structured information (e.g., also from the web) from that matches some specified goal. |
Wondering if there's anyway that this could be adapted to use agents, and from that add support for giving the agent tools defined in https://python.langchain.com/en/latest/modules/agents/tools.html to help with extractions?
The text was updated successfully, but these errors were encountered: