mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-03-01 04:06:07 +00:00
fixed build_prompt_from_context_details
This commit is contained in:
parent
eda3af5f5c
commit
c2c008b538
@ -2408,7 +2408,7 @@ class APScript(StateMachine):
|
||||
self.step_end(f" Summary of {doc_name} - Processing chunk : {i+1}/{len(chunks)}")
|
||||
return "\n".join(summeries)
|
||||
|
||||
def build_prompt_from_context_details(self, context_details:dict, custom_entries):
|
||||
def build_prompt_from_context_details(self, context_details:dict, custom_entries=""):
|
||||
return self.build_prompt([
|
||||
context_details["conditionning"] if context_details["conditionning"] else "",
|
||||
"!@>documentation:\n"+context_details["documentation"] if context_details["documentation"] else "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user