Find answers from the community

s
ste
Offline, last seen 2 weeks ago
Joined January 23, 2025
s
ste
·

Evals

Hi, I've a question: FaithfulnessEvaluator and RelevancyEvaluator makes new (cost) request trought API? I'm using Anthropic as llm. Thanks a lot
1 comment
L
Hi there! I can't use my custom prompt with a chat engine.
In this code, how can I set my prompt?
chat_engine = vector_index.as_chat_engine(chat_mode="condense_question") response = chat_engine.chat("Question.... bla bla bla")

In my previous query engine I used:
query_engine = summary_index.as_query_engine(streaming=True, response_mode="tree_summarize", verbose=True, text_qa_template=custom_prompt) query_engine.update_prompts( {"response_synthesizer:summary_template": custom_prompt} )
Thanks!
2 comments
s
W