Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Thread
Thread
Inactive
0
Follow
n
neural_nerdwork
11 months ago
ยท
Hi, I'm sure somewhere in the documentation it says I can override the base summarization prompt of a
DocumentSummaryIndex
. Right now I'm not finding documentation & struggling to get it on my own. Any pointers? Thanks
W
f
n
3 comments
Share
Open in Discord
W
WhiteFang_Jr
11 months ago
I think changing the summary_query here on this line should work for the Summarization Prompt:
https://github.com/run-llama/llama_index/blob/06b0e390fe1d2fab7c41ff63f6505810c15f8684/llama_index/indices/document_summary/base.py#L77
@fengxiaoyang1998 add you here as you had the same query as well
f
fengxiaoyang1998
11 months ago
Thank you very much! Tested it. It works
n
neural_nerdwork
11 months ago
Thank you @WhiteFang_Jr ! I eventually updated the prompt templates on the query engine level which I think is getting at the sam thing
Add a reply
Sign up and join the conversation on Discord
Join on Discord