Make prompt not required for extract on python sdk
This commit is contained in:
@@ -599,8 +599,8 @@ class FirecrawlApp:
|
|||||||
"""
|
"""
|
||||||
headers = self._prepare_headers()
|
headers = self._prepare_headers()
|
||||||
|
|
||||||
if not params or not params.get('prompt'):
|
#if not params or not params.get('prompt'):
|
||||||
raise ValueError("Prompt is required")
|
# raise ValueError("Prompt is required")
|
||||||
|
|
||||||
schema = params.get('schema')
|
schema = params.get('schema')
|
||||||
if schema:
|
if schema:
|
||||||
|
|||||||
Reference in New Issue
Block a user