feat: pass QueryConfig to dry_run (#173)
This commit is contained in:
@@ -279,7 +279,7 @@ class EmbedChain:
|
|||||||
memory.chat_memory.add_ai_message(answer)
|
memory.chat_memory.add_ai_message(answer)
|
||||||
return answer
|
return answer
|
||||||
|
|
||||||
def dry_run(self, input_query):
|
def dry_run(self, input_query, config: QueryConfig = None):
|
||||||
"""
|
"""
|
||||||
A dry run does everything except send the resulting prompt to
|
A dry run does everything except send the resulting prompt to
|
||||||
the LLM. The purpose is to test the prompt, not the response.
|
the LLM. The purpose is to test the prompt, not the response.
|
||||||
|
|||||||
Reference in New Issue
Block a user