SpecStream commited on
Commit
3c83920
·
verified ·
1 Parent(s): ab6600f

Upload SpecStream tool

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. index.html +1 -1
  3. tool.py +2 -2
README.md CHANGED
@@ -7,6 +7,6 @@ tags:
7
  - tool
8
  ---
9
 
10
- SpecStream reads the live web and hands back every match with its source, so an agent can ask for data no one sells in plain words. Tool one shows the reading and the maximum price, and runs only after the person approves that maximum. Tool two reads the rows with their source URLs. Set SPECSTREAM_API_KEY. Start at https://specstream.ai/?utm_source=smolagents
11
 
12
  Load it with `Tool.from_hub("SpecStreamAI/specstream-get-rows", trust_remote_code=True)`.
 
7
  - tool
8
  ---
9
 
10
+ SpecStream is the live web data engine for teams and agents. One platform to build, search, extract, enrich, map, and monitor data across the entire web. Tool one shows how SpecStream read the request and the maximum price, and runs only after the person approves that maximum. Tool two reads the rows. Source URL and read time on every value. Set SPECSTREAM_API_KEY. Start at https://specstream.ai/?utm_source=smolagents
11
 
12
  Load it with `Tool.from_hub("SpecStreamAI/specstream-get-rows", trust_remote_code=True)`.
index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html><head><meta charset="utf-8"><title>SpecStream get rows</title></head><body style="font-family:system-ui;max-width:40rem;margin:3rem auto;padding:0 1rem"><h1>SpecStream get rows</h1><p>SpecStream reads the live web and hands back every match with its source, so an agent can ask for data no one sells in plain words. Tool one shows the reading and the maximum price, and runs only after the person approves that maximum. Tool two reads the rows with their source URLs. Set SPECSTREAM_API_KEY. Start at https://specstream.ai/?utm_source=smolagents</p><p><code>Tool.from_hub("SpecStreamAI/specstream-get-rows", trust_remote_code=True)</code></p></body></html>
 
1
+ <!doctype html><html><head><meta charset="utf-8"><title>SpecStream get rows</title></head><body style="font-family:system-ui;max-width:40rem;margin:3rem auto;padding:0 1rem"><h1>SpecStream get rows</h1><p>SpecStream is the live web data engine for teams and agents. One platform to build, search, extract, enrich, map, and monitor data across the entire web. Tool one shows how SpecStream read the request and the maximum price, and runs only after the person approves that maximum. Tool two reads the rows. Source URL and read time on every value. Set SPECSTREAM_API_KEY. Start at https://specstream.ai/?utm_source=smolagents</p><p><code>Tool.from_hub("SpecStreamAI/specstream-get-rows", trust_remote_code=True)</code></p></body></html>
tool.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import json
4
- import urllib
5
  import os
 
 
6
 
7
  class SpecStreamGetRows(Tool):
8
  name = "specstream_get_rows"
 
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
 
 
3
  import os
4
+ import urllib
5
+ import json
6
 
7
  class SpecStreamGetRows(Tool):
8
  name = "specstream_get_rows"