Parameters
parameters
¶
Parameter Models for Scrape.do's ChatGPT Plugin Endpoint
Defines the pydantic model containing the parameters accepted by the
Scrape.do ChatGPT Scraper API endpoint
Model Definitions
Model structure comes from the Official Documentation Page and the
Async API Plugins
overview
ChatGPTChatParameters
¶
Bases: BaseModel
Input parameters accepted by the chatgpt/chat endpoint
Driver
qis the search/prompt query (max 1024 characters)
Async-Documented Extras
-
model,geoCode, andraw_sseare listed only in theAsync API Pluginsoverview, not the per-endpoint sync docs -
They are exposed here so callers can opt into them on either surface
Attributes:
| Name | Type | Description |
|---|---|---|
q |
str
|
Chat prompt / query (max 1024 characters) |
model |
Optional[str]
|
ChatGPT model identifier
(async-documented; e.g. |
geoCode |
Optional[str]
|
Country code for geo-targeting (async-documented) |
raw_sse |
Optional[Literal[0, 1]]
|
Include raw
Server-Sent-Events payload when set to |