Skip to content

Commit

Permalink
Make prompt not required for extract on python sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ericciarla committed Jan 18, 2025
1 parent 146dc47 commit 3363b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/python-sdk/firecrawl/firecrawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ def extract(self, urls: List[str], params: Optional[ExtractParams] = None) -> An
"""
headers = self._prepare_headers()

if not params or not params.get('prompt'):
raise ValueError("Prompt is required")
#if not params or not params.get('prompt'):
# raise ValueError("Prompt is required")

schema = params.get('schema')
if schema:
Expand Down

0 comments on commit 3363b2d

Please sign in to comment.