Hi there! Just want to check if I'm going about this the right way. Is promptfoo the right tool to be using for testing my ReAct agent? I was planning to write a simple javascript (typescript) provider to invoke my langgraph app. (Just a basic ReAct agent. 2 tools, multiple tool turn calls before providing a text response)
I only really care about the graph's final output message, as well as a property on the state, and I do really want to use promptfoo's cool features like llm-rubric assertion's to evaluate the message, but I don't think I'd be using the rest of this framework properly if my prompt is hardcoded outside of the yaml file?
What would be the best way to structure these tests? My current prompt is a system + user message, written using langchain's ChatPromptTe plate class
ts
export default ChatPromptTemplate.fromMessages([
['system', systemMessageText],
new MessagesPlaceholder('messages')
]);