You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the input to the branches is not actually the initial feedback, but the output of previous chain, which would be the classification. hence, the chain is not behaving as expected
The text was updated successfully, but these errors were encountered:
I changed the classification_template as below: classification_template= ChatPromptTemplate.from_messages([ ("system", "You are helpful assistant that classify sentiments of the feedback"), ("human", "Classify the sentiment of this feedback as positive, negative, neutral or escalte.\ No explanation. Only answer from given keywords in lower case. Feedback: {feedback}.\ Include the original feedback in your answer after the classification.") ])
the input to the branches is not actually the initial feedback, but the output of previous chain, which would be the classification. hence, the chain is not behaving as expected
The text was updated successfully, but these errors were encountered: