langchain-specstream 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/PKG-INFO +4 -4
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/README.md +3 -3
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/__init__.py +1 -1
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/_api.py +1 -1
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/pyproject.toml +1 -1
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/.gitignore +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/LICENSE +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/py.typed +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/retrievers.py +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/tools.py +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/tests/test_langchain_specstream.py +0 -0
- {langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/tests/test_standard.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: langchain-specstream
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: The live web data engine for LangChain: Search API ($5 per 1,000 searches), Extract API ($0.80 per 1,000 pages) and Deep Search.
|
|
5
5
|
Project-URL: Homepage, https://specstream.ai
|
|
6
6
|
Project-URL: Documentation, https://specstream.ai/docs/langchain
|
|
@@ -43,7 +43,7 @@ pip install -U langchain-specstream
|
|
|
43
43
|
export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
A free account comes with $10 of credit
|
|
46
|
+
A free account comes with $10 of credit and needs no card: [specstream.ai](https://specstream.ai/signup).
|
|
47
47
|
|
|
48
48
|
## An agent that can find data
|
|
49
49
|
|
|
@@ -89,7 +89,7 @@ Columns follow the request, so a different request brings different columns. A f
|
|
|
89
89
|
| `specstream_find_list` | `request`, `max_results` | Reads the request, prices it, starts it only within `max_price_usd`, waits up to `wait_seconds` (7 minutes by default) and returns every row | Only delivered rows |
|
|
90
90
|
| `specstream_get_list_results` | `list_id` | Every row found so far, for a list that was still running | Free |
|
|
91
91
|
|
|
92
|
-
When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price
|
|
92
|
+
When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price, it returns how SpecStream read it, so the agent can add the place or the conditions.
|
|
93
93
|
|
|
94
94
|
Use the classes directly when you want different settings per tool:
|
|
95
95
|
|
|
@@ -123,7 +123,7 @@ One document per row, its facts as text and its source in the metadata, so a cha
|
|
|
123
123
|
|
|
124
124
|
## When to reach for it
|
|
125
125
|
|
|
126
|
-
When the answer is many things that meet conditions
|
|
126
|
+
When the answer is many things that meet conditions. For a single fact or a summary of one page, a search tool fits better.
|
|
127
127
|
|
|
128
128
|
## More
|
|
129
129
|
|
|
@@ -11,7 +11,7 @@ pip install -U langchain-specstream
|
|
|
11
11
|
export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
A free account comes with $10 of credit
|
|
14
|
+
A free account comes with $10 of credit and needs no card: [specstream.ai](https://specstream.ai/signup).
|
|
15
15
|
|
|
16
16
|
## An agent that can find data
|
|
17
17
|
|
|
@@ -57,7 +57,7 @@ Columns follow the request, so a different request brings different columns. A f
|
|
|
57
57
|
| `specstream_find_list` | `request`, `max_results` | Reads the request, prices it, starts it only within `max_price_usd`, waits up to `wait_seconds` (7 minutes by default) and returns every row | Only delivered rows |
|
|
58
58
|
| `specstream_get_list_results` | `list_id` | Every row found so far, for a list that was still running | Free |
|
|
59
59
|
|
|
60
|
-
When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price
|
|
60
|
+
When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price, it returns how SpecStream read it, so the agent can add the place or the conditions.
|
|
61
61
|
|
|
62
62
|
Use the classes directly when you want different settings per tool:
|
|
63
63
|
|
|
@@ -91,7 +91,7 @@ One document per row, its facts as text and its source in the metadata, so a cha
|
|
|
91
91
|
|
|
92
92
|
## When to reach for it
|
|
93
93
|
|
|
94
|
-
When the answer is many things that meet conditions
|
|
94
|
+
When the answer is many things that meet conditions. For a single fact or a summary of one page, a search tool fits better.
|
|
95
95
|
|
|
96
96
|
## More
|
|
97
97
|
|
|
@@ -12,7 +12,7 @@ from dataclasses import dataclass
|
|
|
12
12
|
from typing import Any, Callable
|
|
13
13
|
|
|
14
14
|
DEFAULT_BASE_URL = "https://api.specstream.ai"
|
|
15
|
-
USER_AGENT = "langchain-specstream/0.2.
|
|
15
|
+
USER_AGENT = "langchain-specstream/0.2.2"
|
|
16
16
|
# A list runs for up to about five minutes, so the tools wait a little longer than that by default.
|
|
17
17
|
DEFAULT_WAIT_SECONDS = 420.0
|
|
18
18
|
FINISHED = {"completed", "partial"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "langchain-specstream"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
description = "The live web data engine for LangChain: Search API ($5 per 1,000 searches), Extract API ($0.80 per 1,000 pages) and Deep Search."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/langchain_specstream/retrievers.py
RENAMED
|
File without changes
|
|
File without changes
|
{langchain_specstream-0.2.0 → langchain_specstream-0.2.2}/tests/test_langchain_specstream.py
RENAMED
|
File without changes
|
|
File without changes
|