mirror of
https://github.com/QuivrHQ/quivr.git
synced 2025-01-05 14:54:25 +03:00
12 lines
209 B
Python
12 lines
209 B
Python
|
import os
|
||
|
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class CrawlWebsite(BaseModel):
|
||
|
url: str
|
||
|
js: bool = False
|
||
|
depth: int = int(os.getenv("CRAWL_DEPTH", "1"))
|
||
|
max_pages: int = 100
|
||
|
max_time: int = 60
|