Add Python SDK reference docs with LLM-optimized complete reference (#4713)
This commit is contained in:
@@ -290,7 +290,7 @@ A saved snapshot of browser state. Unlike sessions, profiles persist indefinitel
|
||||
|
||||
```python
|
||||
# Create a profile from a completed run
|
||||
profile = await skyvern.browser_profiles.create_browser_profile(
|
||||
profile = await skyvern.create_browser_profile(
|
||||
name="my-authenticated-profile",
|
||||
workflow_run_id=run.run_id
|
||||
)
|
||||
@@ -350,10 +350,12 @@ Skyvern supports multiple AI engines for task execution:
|
||||
Specify the engine when running a task:
|
||||
|
||||
```python
|
||||
from skyvern.schemas.runs import RunEngine
|
||||
|
||||
result = await skyvern.run_task(
|
||||
prompt="Extract pricing data",
|
||||
url="https://example.com",
|
||||
engine="skyvern-2.0"
|
||||
engine=RunEngine.skyvern_v2
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user