Find answers from the community

E
EmTy
Offline, last seen 3 months ago
Joined September 25, 2024
I am trying to use the PandasQueryEngine but it can't get the column name right when I query the data. I have tried updating the instruction_str or the pandas_prompt. (the name of the column in the df is averageRating and it keeps using rating or imdb_rating as the name of the column.) Does anyone have any idea how to fix it?

**update: When I use the PandasQueryEngine by itself on the df, it works fine, but when I use the get_chat_engine with it, it has the above problem.
1 comment
F
Hi, I am trying to implement a chat engine. From what I understand, if I use index.as_chat_engine(), I can't use my custom retriever or query engine. Is that correct? Is there a way to implement a custom chat engine? Can I just use CondenseQuestionChatEngine myself?
2 comments
L