Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Langchain prompt
Langchain prompt
Inactive
0
Follow
J
Joie
2 years ago
Β·
Any way to inject an additional prompt / description onto agent? I know i can add descriptions to tools. Perhaps any way I can modify the conversational chat agent a little bit.
L
3 comments
Share
Open in Discord
L
Logan M
2 years ago
Definitely, you can customize the prefix to the agent.
It's a little complicated though lol
Depending on the agent you are using, there are different prefixes. Here is the one for conversational chat react
https://github.com/hwchase17/langchain/blob/master/langchain/agents/conversational_chat/prompt.py
L
Logan M
2 years ago
It's a little different to set for each agent tbh, but it's passed in under agent_kwargs when calling initialize_agent
L
Logan M
2 years ago
I have to read the source code every time to figure it out lol
Add a reply
Sign up and join the conversation on Discord
Join on Discord