You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/components/agents/python/form_filling/app/workflows/form_filling.py
+15-15
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@
25
25
26
26
27
27
defcreate_workflow(
28
-
chat_history: Optional[List[ChatMessage]] =None,
29
28
params: Optional[Dict[str, Any]] =None,
30
29
**kwargs,
31
30
) ->Workflow:
@@ -45,7 +44,6 @@ def create_workflow(
45
44
query_engine_tool=query_engine_tool,
46
45
extractor_tool=extractor_tool, # type: ignore
47
46
filling_tool=filling_tool, # type: ignore
48
-
chat_history=chat_history,
49
47
)
50
48
51
49
returnworkflow
@@ -88,6 +86,7 @@ class FormFillingWorkflow(Workflow):
88
86
Only use provided data - never make up any information yourself. Fill N/A if an answer is not found.
89
87
If there is no query engine tool or the gathered information has many N/A values indicating the questions don't match the data, respond with a warning and ask the user to upload a different file or connect to a knowledge base.
0 commit comments