Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
Hi! I'm trying to customize the query
Hi! I'm trying to customize the query
Inactive
0
Follow
At a glance
p
pcao
6 months ago
Β·
Hi! I'm trying to customize the query engine of a Property Graph Index to include an additional variable. Can you show how or point me to some documents I can take a look? I've tried:
https://docs.llamaindex.ai/en/stable/examples/query_engine/ensemble_query_engine/
https://docs.llamaindex.ai/en/stable/examples/response_synthesizers/custom_prompt_synthesizer/
But I don't see an appropriate way to add the additional variable to the query engine for knowledge graph.
L
p
4 comments
Share
Open in Discord
L
Logan M
6 months ago
what do you mean an additional variable? To the prompt?
L
Logan M
6 months ago
The prompts cannot have additional variables. If you need to, you can pass in an updated prompt each time
p
pcao
6 months ago
Yeah! I want to customize the prompt as well, but where can I put the additional variable?
p
pcao
6 months ago
Because I see it mention using some customization with additional variable tone_name here:
https://docs.llamaindex.ai/en/stable/examples/response_synthesizers/custom_prompt_synthesizer/
Add a reply
Sign up and join the conversation on Discord
Join on Discord