mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-19 02:34:37 -05:00
fix(docs): updated doc generator to handle arrays
This commit is contained in:
@@ -65,6 +65,27 @@ Execute browser automation tasks with BrowserUse to navigate the web, scrape dat
|
||||
|
||||
### `browser_use_run_task`
|
||||
|
||||
Runs a browser automation task using BrowserUse
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `task` | string | Yes | What should the browser agent do |
|
||||
| `apiKey` | string | Yes | API key for BrowserUse API |
|
||||
| `pollInterval` | number | No | Interval between polling requests in milliseconds \(default: 5000\) |
|
||||
| `maxPollTime` | number | No | Maximum time to poll for task completion in milliseconds \(default: 300000 - 5 minutes\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type |
|
||||
| --------- | ---- |
|
||||
| `id` | string |
|
||||
| `task` | string |
|
||||
| `output` | string |
|
||||
| `status` | string |
|
||||
| `steps` | string |
|
||||
| `live_url` | string |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@ Add memories to Mem0 for persistent storage and retrieval
|
||||
| `apiKey` | string | Yes | Your Mem0 API key |
|
||||
| `userId` | string | Yes | User ID associated with the memory |
|
||||
| `messages` | json | Yes | Array of message objects with role and content |
|
||||
| `version` | string | No | API version to use \(v1 or v2\). Use v2 if unsure. |
|
||||
|
||||
#### Output
|
||||
|
||||
@@ -69,7 +68,6 @@ Search for memories in Mem0 using semantic search
|
||||
| `userId` | string | Yes | User ID to search memories for |
|
||||
| `query` | string | Yes | Search query to find relevant memories |
|
||||
| `limit` | number | No | Maximum number of results to return |
|
||||
| `version` | string | No | API version to use \(v1 or v2\). Use v2 if unsure. |
|
||||
|
||||
#### Output
|
||||
|
||||
@@ -92,7 +90,6 @@ Retrieve memories from Mem0 by ID or filter criteria
|
||||
| `startDate` | string | No | Start date for filtering by created_at \(format: YYYY-MM-DD\) |
|
||||
| `endDate` | string | No | End date for filtering by created_at \(format: YYYY-MM-DD\) |
|
||||
| `limit` | number | No | Maximum number of results to return |
|
||||
| `version` | string | No | API version to use \(v1 or v2\). Use v2 if unsure. |
|
||||
|
||||
#### Output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user