mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-16 02:09:40 +00:00
Streamlit + Readme update: copy to cURL (#22)
This commit is contained in:
parent
0495552b11
commit
3bf56717c9
6 changed files with 79 additions and 34 deletions
|
@ -1,16 +1,11 @@
|
|||
from pydantic import BaseModel
|
||||
from skyvern.forge.sdk.schemas.tasks import TaskRequest
|
||||
|
||||
|
||||
class SampleData(BaseModel):
|
||||
class SampleTaskRequest(TaskRequest):
|
||||
name: str
|
||||
url: str
|
||||
navigation_goal: str
|
||||
data_extraction_goal: str
|
||||
navigation_payload: dict
|
||||
extracted_information_schema: dict
|
||||
|
||||
|
||||
geico_sample_data = SampleData(
|
||||
geico_sample_data = SampleTaskRequest(
|
||||
name="Geico",
|
||||
url="https://www.geico.com",
|
||||
navigation_goal="Navigate through the website until you generate an auto insurance quote. Do not generate a home insurance quote. If this page contains an auto insurance quote, consider the goal achieved",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue