Replies: 1 comment
-
If you're using this in the context of an agent, the best solution if by modifying the prompt to include guidelines about how to interpret user input. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
When I am using a Langchain Agent with a certain input, for example
agent_executor.invoke({"input": "how can langsmith help with testing?"})
the input query gets changed
Invoking:
langsmith_search
with{'query': 'LangSmith testing'}
I would like an option to keep the query the same as the one I send at the beginning.
Motivation
When the agent invokes a tool it sometimes changes the query to something irrelevant to that tool, I would like to have more control over this and turn this change off.
Proposal (If applicable)
Proposal to add another parameter that turns off the query reformulation.
Beta Was this translation helpful? Give feedback.
All reactions