Find answers from the community

Home
Members
Matthieu
M
Matthieu
Offline, last seen 3 months ago
Joined September 25, 2024
Hi Guys,

I try to change the default prompts in order to change the language basically. But there is a lot of hidden dependencies. Someone have a basic code that i can easily reuse ? I want to change the refine prompts and use it in this function
This is what I want to define

DEFAULT_REFINE_PROMPT_SEL = SelectorPromptTemplate(
default_template=DEFAULT_REFINE_PROMPT,
conditionals=[(True, CHAT_REFINE_PROMPT)],
)

.as_query_engine(similarity_top_k=similarity_nb)
5 comments
M
E