Find answers from the community

Updated 2 years ago

Hi is it possible to modify the original

Hi, is it possible to modify the original prompt of the llama_chat_agent ?? keeping the same input and format just change some sentences in the prompt ?
j
p
4 comments
i think so! we just call initialize_agent under the hood - and everything in agent_kwargs is passed to from_llm_and_tools
variables that's relevant for the create_prompt method in ConversationalAgent are prefix, suffix, and more
Thanks so much, I'll try and let you know πŸ™‚
It works perfect thank you ! however I have another error that i don't undertsnad knowing that I'm not using OpenAiChat but only Open to call the LLM --> AttributeError: 'OpenAIChat' object has no attribute 'total_tokens_used'
Add a reply
Sign up and join the conversation on Discord