Skip to content

Commit 5a493c9

Browse files
committed
formatting
1 parent f8d2423 commit 5a493c9

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

examples/screenpipe.ipynb

+1-46
Original file line numberDiff line numberDiff line change
@@ -149,51 +149,6 @@
149149
"\n",
150150
"print(\"Custom instructions set for Open Interpreter.\")"
151151
]
152-
},
153-
{
154-
"cell_type": "markdown",
155-
"metadata": {},
156-
"source": [
157-
"## Example Usage"
158-
]
159-
},
160-
{
161-
"cell_type": "code",
162-
"execution_count": null,
163-
"metadata": {},
164-
"outputs": [],
165-
"source": [
166-
"# Example usage of the search_screenpipe function\n",
167-
"\n",
168-
"# Search without time range\n",
169-
"print(\"Searching for 'Open Interpreter' without time range:\")\n",
170-
"results = search_screenpipe(\"Open Interpreter\", limit=3)\n",
171-
"for result in results:\n",
172-
" print(f\"Text: {result['content']['text'][:300]}...\")\n",
173-
" print(f\"Source: {result['content']['app_name']} - {result['content']['window_name']}\")\n",
174-
" print(f\"Timestamp: {result['content']['timestamp']}\")\n",
175-
" print()\n",
176-
"\n",
177-
"# Search with time range\n",
178-
"print(\"\\nSearching for 'project meeting' with time range:\")\n",
179-
"results = search_screenpipe(\"project meeting\", limit=5, start_time=\"2024-10-16T12:00:00Z\", end_time=\"2024-10-16T19:00:00Z\")\n",
180-
"for result in results:\n",
181-
" print(f\"Text: {result['content']['text'][:300]}...\")\n",
182-
" print(f\"Source: {result['content']['app_name']} - {result['content']['window_name']}\")\n",
183-
" print(f\"Timestamp: {result['content']['timestamp']}\")\n",
184-
" print()"
185-
]
186-
},
187-
{
188-
"cell_type": "markdown",
189-
"metadata": {},
190-
"source": [
191-
"## Conclusion\n",
192-
"\n",
193-
"This notebook demonstrates how to set up and use Open Interpreter in conjunction with ScreenPipe. By leveraging these tools together, you can create powerful, context-aware applications that can search and analyze your screen content history.\n",
194-
"\n",
195-
"Remember to adjust the search queries and time ranges in the example usage section to fit your specific use case. Happy coding!"
196-
]
197152
}
198153
],
199154
"metadata": {
@@ -212,7 +167,7 @@
212167
"name": "python",
213168
"nbconvert_exporter": "python",
214169
"pygments_lexer": "ipython3",
215-
"version": "3.8.10"
170+
"version": "3.11.9"
216171
}
217172
},
218173
"nbformat": 4,

0 commit comments

Comments
 (0)