Find answers from the community

a
aazizi
Offline, last seen 3 months ago
Joined September 25, 2024
Hey community,

I'm currently working on customizing the REACT_CHAT_SYSTEM_HEADER in ReActAgent. I followed the initial setup using the prompt from llama_index.agent.react.prompts import REACT_CHAT_SYSTEM_HEADER. However, it appears that my changes to the prompt are not taking effect. query_engine_tools = [
QueryEngineTool(
query_engine=query_engine,
metadata=ToolMetadata(
name="General",
description=("Build to provide geeneral answers "),
),
)
]

agent = ReActAgent.from_tools(
tools=query_engine_tools,
llm=llm,
verbose=False,
system_prompt=REACT_CHAT_SYSTEM_HEADER,
)
5 comments
a
W
I think beceause 'Bedrock' object has no attribute 'complete', there is only 'predict', How I can fix this?
7 comments
a
L