exa-py 1.14.17__tar.gz → 1.14.18__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.
Potentially problematic release.
This version of exa-py might be problematic. Click here for more details.
- {exa_py-1.14.17 → exa_py-1.14.18}/PKG-INFO +1 -1
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/types.py +73 -1
- {exa_py-1.14.17 → exa_py-1.14.18}/pyproject.toml +1 -1
- {exa_py-1.14.17 → exa_py-1.14.18}/README.md +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/api.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/py.typed +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/research/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/research/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/research/models.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/utils.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/_generator/pydantic/BaseModel.jinja2 +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/core/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/core/base.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/enrichments/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/enrichments/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/events/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/events/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/imports/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/imports/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/items/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/items/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/monitors/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/monitors/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/monitors/runs/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/monitors/runs/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/searches/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/searches/client.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/webhooks/__init__.py +0 -0
- {exa_py-1.14.17 → exa_py-1.14.18}/exa_py/websets/webhooks/client.py +0 -0
|
@@ -173,7 +173,7 @@ class CreateWebsetSearchParameters(ExaBaseModel):
|
|
|
173
173
|
"""
|
|
174
174
|
scope: Optional[List[ScopeItem]] = None
|
|
175
175
|
"""
|
|
176
|
-
Limit the search to specific sources (existing imports). Any results found within these sources matching the search criteria will be included in the Webset.
|
|
176
|
+
Limit the search to specific sources (existing imports or websets). Any results found within these sources matching the search criteria will be included in the Webset.
|
|
177
177
|
"""
|
|
178
178
|
behavior: Optional[WebsetSearchBehavior] = WebsetSearchBehavior.override
|
|
179
179
|
"""
|
|
@@ -305,6 +305,7 @@ class ScopeSourceType(Enum):
|
|
|
305
305
|
The source type for scope filtering.
|
|
306
306
|
"""
|
|
307
307
|
import_ = 'import'
|
|
308
|
+
webset = 'webset'
|
|
308
309
|
|
|
309
310
|
|
|
310
311
|
class PreviewWebsetResponseEnrichmentsFormat(Enum):
|
|
@@ -466,6 +467,20 @@ class ExcludeItem(ExaBaseModel):
|
|
|
466
467
|
"""
|
|
467
468
|
|
|
468
469
|
|
|
470
|
+
class ScopeRelationship(ExaBaseModel):
|
|
471
|
+
"""
|
|
472
|
+
Represents the relationship between entities for scoped searches.
|
|
473
|
+
"""
|
|
474
|
+
definition: str
|
|
475
|
+
"""
|
|
476
|
+
What the relationship of the entities you hope to find is relative to the entities contained in the provided source
|
|
477
|
+
"""
|
|
478
|
+
limit: Optional[PositiveInt] = None
|
|
479
|
+
"""
|
|
480
|
+
Optional limit on the number of related entities to find
|
|
481
|
+
"""
|
|
482
|
+
|
|
483
|
+
|
|
469
484
|
class ScopeItem(ExaBaseModel):
|
|
470
485
|
"""
|
|
471
486
|
Represents a source to limit search scope to.
|
|
@@ -478,6 +493,10 @@ class ScopeItem(ExaBaseModel):
|
|
|
478
493
|
"""
|
|
479
494
|
The ID of the source to search within
|
|
480
495
|
"""
|
|
496
|
+
relationship: Optional[ScopeRelationship] = None
|
|
497
|
+
"""
|
|
498
|
+
Optional relationship definition for hop searches
|
|
499
|
+
"""
|
|
481
500
|
|
|
482
501
|
|
|
483
502
|
class PreviewWebsetParameters(ExaBaseModel):
|
|
@@ -1662,12 +1681,53 @@ class WebsetResearchPaperEntity(ExaBaseModel):
|
|
|
1662
1681
|
type: Literal['research_paper']
|
|
1663
1682
|
|
|
1664
1683
|
|
|
1684
|
+
class WebsetSearchRecallConfidence(Enum):
|
|
1685
|
+
"""
|
|
1686
|
+
Confidence level for search recall estimates.
|
|
1687
|
+
"""
|
|
1688
|
+
high = 'high'
|
|
1689
|
+
medium = 'medium'
|
|
1690
|
+
low = 'low'
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
class WebsetSearchRecallExpected(ExaBaseModel):
|
|
1694
|
+
"""
|
|
1695
|
+
Expected search recall information.
|
|
1696
|
+
"""
|
|
1697
|
+
total: int
|
|
1698
|
+
"""
|
|
1699
|
+
Total expected matches
|
|
1700
|
+
"""
|
|
1701
|
+
confidence: WebsetSearchRecallConfidence
|
|
1702
|
+
"""
|
|
1703
|
+
Confidence level of the estimate
|
|
1704
|
+
"""
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
class WebsetSearchRecall(ExaBaseModel):
|
|
1708
|
+
"""
|
|
1709
|
+
Search recall estimate information.
|
|
1710
|
+
"""
|
|
1711
|
+
expected: WebsetSearchRecallExpected
|
|
1712
|
+
"""
|
|
1713
|
+
Expected recall information
|
|
1714
|
+
"""
|
|
1715
|
+
reasoning: str
|
|
1716
|
+
"""
|
|
1717
|
+
Reasoning for the recall estimate
|
|
1718
|
+
"""
|
|
1719
|
+
|
|
1720
|
+
|
|
1665
1721
|
class WebsetSearch(ExaBaseModel):
|
|
1666
1722
|
id: str
|
|
1667
1723
|
"""
|
|
1668
1724
|
The unique identifier for the search
|
|
1669
1725
|
"""
|
|
1670
1726
|
object: Literal['webset_search']
|
|
1727
|
+
webset_id: Annotated[str, Field(alias='websetId')]
|
|
1728
|
+
"""
|
|
1729
|
+
The unique identifier for the Webset this search belongs to
|
|
1730
|
+
"""
|
|
1671
1731
|
status: WebsetSearchStatus = Field(..., title='WebsetSearchStatus')
|
|
1672
1732
|
"""
|
|
1673
1733
|
The status of the search
|
|
@@ -1703,10 +1763,22 @@ class WebsetSearch(ExaBaseModel):
|
|
|
1703
1763
|
- `override`: the search will replace the existing Items found in the Webset and evaluate them against the new criteria. Any Items that don't match the new criteria will be discarded.
|
|
1704
1764
|
- `append`: the search will add the new Items found to the existing Webset. Any Items that don't match the new criteria will be discarded.
|
|
1705
1765
|
"""
|
|
1766
|
+
exclude: Optional[List[ExcludeItem]] = None
|
|
1767
|
+
"""
|
|
1768
|
+
Sources (existing imports or websets) used to omit certain results to be found during the search.
|
|
1769
|
+
"""
|
|
1770
|
+
scope: Optional[List[ScopeItem]] = None
|
|
1771
|
+
"""
|
|
1772
|
+
The scope of the search. By default, there is no scope - thus searching the web. If provided during creation, the search will only be performed on the sources provided.
|
|
1773
|
+
"""
|
|
1706
1774
|
progress: Progress
|
|
1707
1775
|
"""
|
|
1708
1776
|
The progress of the search
|
|
1709
1777
|
"""
|
|
1778
|
+
recall: Optional[WebsetSearchRecall] = None
|
|
1779
|
+
"""
|
|
1780
|
+
Estimate of total potential matches (if requested)
|
|
1781
|
+
"""
|
|
1710
1782
|
metadata: Optional[Dict[str, Any]] = {}
|
|
1711
1783
|
"""
|
|
1712
1784
|
Set of key-value pairs you want to associate with this object.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|