Find answers from the community

Updated 2 years ago

hey guys how do i customize the prompt

At a glance
hey guys, how do i customize the prompt for an agent type e.g. zero-shot-react-description before initiliazing the agent?
s
k
3 comments
@kapa.ai how do i customize the template attribute in this object: print(hr_agent.agent.llm_chain.prompt.template)
Let me check the knowledge base for you. One moment! :books:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Defining Prompts (https://gpt-index.readthedocs.io/en/latest/how_to/customization/custom_prompts.html) guide for more information on customizing prompts in GPT index.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Add a reply
Sign up and join the conversation on Discord