You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on some bot with custom knowledge. I integrated langchain reAct agent with RetreivalQA as one tool for that agent where tool have its one prompt. But agent have its one prompt.
How can I pass my own prompt in it so that I can restrict Agent from giving outiside answers and answering questions like:
Who are you? Who built you? according to the content I set in prompt.
Now It gives Who are you? as I am Open AI agent. I want to answer like I am XYZ company agent.
Really grateful for your help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was working on some bot with custom knowledge. I integrated langchain reAct agent with RetreivalQA as one tool for that agent where tool have its one prompt. But agent have its one prompt.
How can I pass my own prompt in it so that I can restrict Agent from giving outiside answers and answering questions like:
Who are you? Who built you? according to the content I set in prompt.
Now It gives Who are you? as I am Open AI agent. I want to answer like I am XYZ company agent.
Really grateful for your help.
Beta Was this translation helpful? Give feedback.
All reactions