redhairedshanks1 commited on
Commit
d79e2c1
·
1 Parent(s): 145565b

Update services/pipeline_executor.py

Browse files
Files changed (1) hide show
  1. services/pipeline_executor.py +6 -6
services/pipeline_executor.py CHANGED
@@ -63,12 +63,12 @@ IMPORTANT:
63
  - At the end, call 'finalize' tool with complete results
64
 
65
  Pipeline components will be in format:
66
- {
67
  "tool_name": "extract_text",
68
  "start_page": 1,
69
  "end_page": 5,
70
- "params": {}
71
- }"""
72
 
73
  prompt = ChatPromptTemplate.from_messages([
74
  ("system", system_instructions),
@@ -135,12 +135,12 @@ CRITICAL INSTRUCTIONS:
135
  5. DO NOT generate placeholder text like "TEXT_EXTRACTION_RESULT" - call the actual tools!
136
 
137
  The pipeline components are structured as:
138
- {
139
  "tool_name": "extract_text",
140
  "start_page": 1,
141
  "end_page": -1,
142
- "params": {}
143
- }
144
 
145
  You must call tools, not generate descriptions. This is mandatory."""
146
 
 
63
  - At the end, call 'finalize' tool with complete results
64
 
65
  Pipeline components will be in format:
66
+ {{
67
  "tool_name": "extract_text",
68
  "start_page": 1,
69
  "end_page": 5,
70
+ "params": {{}}
71
+ }}"""
72
 
73
  prompt = ChatPromptTemplate.from_messages([
74
  ("system", system_instructions),
 
135
  5. DO NOT generate placeholder text like "TEXT_EXTRACTION_RESULT" - call the actual tools!
136
 
137
  The pipeline components are structured as:
138
+ {{
139
  "tool_name": "extract_text",
140
  "start_page": 1,
141
  "end_page": -1,
142
+ "params": {{}}
143
+ }}
144
 
145
  You must call tools, not generate descriptions. This is mandatory."""
146