isaacus 0.13.0__py3-none-any.whl → 0.14.0__py3-none-any.whl
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.
- isaacus/_version.py +1 -1
- isaacus/types/__init__.py +0 -14
- isaacus/types/enrichment_response.py +1 -1
- isaacus/types/ilgs/__init__.py +3 -0
- isaacus/types/ilgs/v1/__init__.py +18 -0
- isaacus/types/{crossreference.py → ilgs/v1/crossreference.py} +1 -1
- isaacus/types/{date.py → ilgs/v1/date.py} +1 -1
- isaacus/types/{document.py → ilgs/v1/document.py} +4 -1
- isaacus/types/{email.py → ilgs/v1/email.py} +1 -1
- isaacus/types/{external_document.py → ilgs/v1/external_document.py} +1 -1
- isaacus/types/{id_number.py → ilgs/v1/id_number.py} +1 -1
- isaacus/types/{location.py → ilgs/v1/location.py} +1 -1
- isaacus/types/{person.py → ilgs/v1/person.py} +1 -1
- isaacus/types/{phone_number.py → ilgs/v1/phone_number.py} +1 -1
- isaacus/types/{quote.py → ilgs/v1/quote.py} +1 -1
- isaacus/types/{segment.py → ilgs/v1/segment.py} +7 -1
- isaacus/types/{span.py → ilgs/v1/span.py} +1 -1
- isaacus/types/{term.py → ilgs/v1/term.py} +1 -1
- isaacus/types/{website.py → ilgs/v1/website.py} +1 -1
- {isaacus-0.13.0.dist-info → isaacus-0.14.0.dist-info}/METADATA +1 -1
- {isaacus-0.13.0.dist-info → isaacus-0.14.0.dist-info}/RECORD +23 -21
- {isaacus-0.13.0.dist-info → isaacus-0.14.0.dist-info}/WHEEL +0 -0
- {isaacus-0.13.0.dist-info → isaacus-0.14.0.dist-info}/licenses/LICENSE +0 -0
isaacus/_version.py
CHANGED
isaacus/types/__init__.py
CHANGED
|
@@ -2,20 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from .date import Date as Date
|
|
6
|
-
from .span import Span as Span
|
|
7
|
-
from .term import Term as Term
|
|
8
|
-
from .email import Email as Email
|
|
9
|
-
from .quote import Quote as Quote
|
|
10
|
-
from .person import Person as Person
|
|
11
|
-
from .segment import Segment as Segment
|
|
12
|
-
from .website import Website as Website
|
|
13
|
-
from .document import Document as Document
|
|
14
|
-
from .location import Location as Location
|
|
15
|
-
from .id_number import IDNumber as IDNumber
|
|
16
|
-
from .phone_number import PhoneNumber as PhoneNumber
|
|
17
|
-
from .crossreference import Crossreference as Crossreference
|
|
18
|
-
from .external_document import ExternalDocument as ExternalDocument
|
|
19
5
|
from .embedding_response import EmbeddingResponse as EmbeddingResponse
|
|
20
6
|
from .reranking_response import RerankingResponse as RerankingResponse
|
|
21
7
|
from .enrichment_response import EnrichmentResponse as EnrichmentResponse
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .date import Date as Date
|
|
6
|
+
from .span import Span as Span
|
|
7
|
+
from .term import Term as Term
|
|
8
|
+
from .email import Email as Email
|
|
9
|
+
from .quote import Quote as Quote
|
|
10
|
+
from .person import Person as Person
|
|
11
|
+
from .segment import Segment as Segment
|
|
12
|
+
from .website import Website as Website
|
|
13
|
+
from .document import Document as Document
|
|
14
|
+
from .location import Location as Location
|
|
15
|
+
from .id_number import IDNumber as IDNumber
|
|
16
|
+
from .phone_number import PhoneNumber as PhoneNumber
|
|
17
|
+
from .crossreference import Crossreference as Crossreference
|
|
18
|
+
from .external_document import ExternalDocument as ExternalDocument
|
|
@@ -11,9 +11,9 @@ from .quote import Quote
|
|
|
11
11
|
from .person import Person
|
|
12
12
|
from .segment import Segment
|
|
13
13
|
from .website import Website
|
|
14
|
-
from .._models import BaseModel
|
|
15
14
|
from .location import Location
|
|
16
15
|
from .id_number import IDNumber
|
|
16
|
+
from ...._models import BaseModel
|
|
17
17
|
from .phone_number import PhoneNumber
|
|
18
18
|
from .crossreference import Crossreference
|
|
19
19
|
from .external_document import ExternalDocument
|
|
@@ -24,6 +24,9 @@ __all__ = ["Document"]
|
|
|
24
24
|
class Document(BaseModel):
|
|
25
25
|
"""The enriched document."""
|
|
26
26
|
|
|
27
|
+
text: str
|
|
28
|
+
"""The text of the document."""
|
|
29
|
+
|
|
27
30
|
title: Optional[Span] = None
|
|
28
31
|
"""A zero-based, half-open span into the Unicode code point space of input text.
|
|
29
32
|
|
|
@@ -4,7 +4,7 @@ from typing import Optional
|
|
|
4
4
|
from typing_extensions import Literal
|
|
5
5
|
|
|
6
6
|
from .span import Span
|
|
7
|
-
from
|
|
7
|
+
from ...._models import BaseModel
|
|
8
8
|
|
|
9
9
|
__all__ = ["Segment"]
|
|
10
10
|
|
|
@@ -188,6 +188,12 @@ class Segment(BaseModel):
|
|
|
188
188
|
a non-negative incrementing integer starting from zero.
|
|
189
189
|
"""
|
|
190
190
|
|
|
191
|
+
level: int
|
|
192
|
+
"""
|
|
193
|
+
The level of the segment within the document's segment hierarchy starting from
|
|
194
|
+
`0` for root-level segments.
|
|
195
|
+
"""
|
|
196
|
+
|
|
191
197
|
span: Span
|
|
192
198
|
"""A zero-based, half-open span into the Unicode code point space of input text.
|
|
193
199
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: isaacus
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Summary: The official Python library for the isaacus API
|
|
5
5
|
Project-URL: Homepage, https://github.com/isaacus-dev/isaacus-python
|
|
6
6
|
Project-URL: Repository, https://github.com/isaacus-dev/isaacus-python
|
|
@@ -11,7 +11,7 @@ isaacus/_resource.py,sha256=iP_oYhz5enCI58mK7hlwLoPMPh4Q5s8-KBv-jGfv2aM,1106
|
|
|
11
11
|
isaacus/_response.py,sha256=aXLF5ia58bjjQXTxY574lh7JfKXiGL2tDTX09klm8lw,28794
|
|
12
12
|
isaacus/_streaming.py,sha256=jcoIlOzPElsxFLKe54I-TavCZEuYIx_MYkZN3uSQFqk,10225
|
|
13
13
|
isaacus/_types.py,sha256=hm4MJQF5-9CmsPcIufE6_KvsWtxKrRMnJAgZ7MBydsk,7595
|
|
14
|
-
isaacus/_version.py,sha256=
|
|
14
|
+
isaacus/_version.py,sha256=FaENilWA_XNi_t9PkVGi3_bq-RjdUPrO9ra7MRMLv4c,160
|
|
15
15
|
isaacus/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
isaacus/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
isaacus/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -37,34 +37,36 @@ isaacus/resources/classifications/universal.py,sha256=qOVHy4GFrvC3jH3BxkhcKWzEnx
|
|
|
37
37
|
isaacus/resources/extractions/__init__.py,sha256=vH5RxCZmOg19r7ttxYcSQsxwL9MlomyewT-ZPYxC8HA,1015
|
|
38
38
|
isaacus/resources/extractions/extractions.py,sha256=TG2WSbGS1ufWuQz6bKU6SdswCex93gzyT5hQgn0FEC4,3671
|
|
39
39
|
isaacus/resources/extractions/qa.py,sha256=mCT63LN-luU1JhiRBDnRZuaNEA1V8TgiqDgkuo9rpuQ,10029
|
|
40
|
-
isaacus/types/__init__.py,sha256=
|
|
41
|
-
isaacus/types/crossreference.py,sha256=5Mc0yXRNn78mgBrVqC1mahPbW1byWzi6KOBKKSZfFOU,1622
|
|
42
|
-
isaacus/types/date.py,sha256=n6fa7H3FkVNc7CwyeeOEG_KaHSbaKQH8agE06ZUWu-k,2733
|
|
43
|
-
isaacus/types/document.py,sha256=-OeyvVw8OVbmuHaMGNqx9TumTU-hbuZDWMRrTRJktgg,5919
|
|
44
|
-
isaacus/types/email.py,sha256=Nc19c3b4N-VCORxhXuFX72KF9IP41mQbezXWZmtrJXE,726
|
|
40
|
+
isaacus/types/__init__.py,sha256=oEeUoff816LbolcipS92iRJDw6Zdgd4GqsDY67G_Bx0,594
|
|
45
41
|
isaacus/types/embedding_create_params.py,sha256=OCIuc_GeBQijFhjPMRdz5my05r3K1BG1IKy-nHmwUxg,1575
|
|
46
42
|
isaacus/types/embedding_response.py,sha256=kAE2EyR7MpY1fhk867iVErCl7pM0dYjypcZgbFAD_Vw,937
|
|
47
43
|
isaacus/types/enrichment_create_params.py,sha256=1wJUAs1hp_S6ej3aK8YqudEI8XIGaH29qfymcuRuHPg,1339
|
|
48
|
-
isaacus/types/enrichment_response.py,sha256=
|
|
49
|
-
isaacus/types/external_document.py,sha256=hGoc-bLxUnNwRy8rnAjS4CTUsLoKsqr2E8EtJcloylI,3825
|
|
50
|
-
isaacus/types/id_number.py,sha256=MXD1bs_JuSYfEmiLlM5G812QvqHMiXUXyiL08cJHw-Y,759
|
|
51
|
-
isaacus/types/location.py,sha256=iQ6s7M6MkojrQO15-Bcx-RLfVYsHoz1K3zT76lYFllM,1751
|
|
52
|
-
isaacus/types/person.py,sha256=PdXyf3w7K7qCeCGOqI8PotZClYVPftI4ffPugjOPA4g,9800
|
|
53
|
-
isaacus/types/phone_number.py,sha256=WqAF9-4kzJMlUoyjXQzcFUX5lR2DJ3jS1FMGWNtt430,883
|
|
54
|
-
isaacus/types/quote.py,sha256=c_Nd74B_2dVzilollwoZQyloEc0h7C4yT0bDFaAhFiY,1755
|
|
44
|
+
isaacus/types/enrichment_response.py,sha256=2c_G3Mz_JZZw0XEsixcMqZj6Hbh7-3mgSBfw6hguyPI,2046
|
|
55
45
|
isaacus/types/reranking_create_params.py,sha256=XiUTkTtkf4k0o-p-hqfQsXrdVcyO-HW0dYY-sTQhkDw,2595
|
|
56
46
|
isaacus/types/reranking_response.py,sha256=qyCeK30TC6YXO_zmzRzAskwQxnHuyehjqLM8QO5B8z0,1017
|
|
57
|
-
isaacus/types/segment.py,sha256=myczhGMxgC32ZsrAAldoohy_sXhDkSgLQZ860x8DjWM,8333
|
|
58
|
-
isaacus/types/span.py,sha256=Y2W9B8K9Lde1_EwvOYyhXZ_U6oAycgXQkWN7HFU3rY8,1148
|
|
59
|
-
isaacus/types/term.py,sha256=opd4ZHXdA9GsAbAuzt23wztupa1CsCksUKUd4GLUOgU,2207
|
|
60
|
-
isaacus/types/website.py,sha256=zOCckhmLaQupCYPce4bKSwkxWL0uenNZ7hwPbNfyC68,818
|
|
61
47
|
isaacus/types/classifications/__init__.py,sha256=5wz2ChA8Ld8Yfx-7z7PShbfeyvE3wXRfpkctjS27t10,321
|
|
62
48
|
isaacus/types/classifications/universal_classification_response.py,sha256=2QfUqVFxvgkhvni9ooI9sRCb3xsbTNVs8PzuHLAE7oM,2545
|
|
63
49
|
isaacus/types/classifications/universal_create_params.py,sha256=IOAdb3sqg8ahSILJQ8jjtcgw693vGLTzCc8bQVfyND8,2392
|
|
64
50
|
isaacus/types/extractions/__init__.py,sha256=VXrUSuL-YBSy66o8Qwo3V4PrXLclfLHMoPIsElTV0tM,279
|
|
65
51
|
isaacus/types/extractions/answer_extraction_response.py,sha256=JGriq8l7OZeTK30AyDkDepbs839x9SZDCjDn8NJc7jQ,2383
|
|
66
52
|
isaacus/types/extractions/qa_create_params.py,sha256=vCoEwQGgfYF_eG0DGsfQnV4nC2_PhEc4D-f1aq-72sU,2200
|
|
67
|
-
isaacus
|
|
68
|
-
isaacus
|
|
69
|
-
isaacus
|
|
70
|
-
isaacus
|
|
53
|
+
isaacus/types/ilgs/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
54
|
+
isaacus/types/ilgs/v1/__init__.py,sha256=8TWLRFvA1RfAoRA1Me_q-apCKJQMLn1vDDzawgioqRg,713
|
|
55
|
+
isaacus/types/ilgs/v1/crossreference.py,sha256=QPWwOATp-Lx2HHZFK3HK-6SH-xUQmpVxn6phJNcvlck,1624
|
|
56
|
+
isaacus/types/ilgs/v1/date.py,sha256=7tp3E5HVPFGUmwF02RT4V1O27hIi6gOsBgdOfj0j1x0,2735
|
|
57
|
+
isaacus/types/ilgs/v1/document.py,sha256=W3ihSX8Ly5BQYwjw1LnjFm66wqJUXmN8XFafyiAnvL4,5972
|
|
58
|
+
isaacus/types/ilgs/v1/email.py,sha256=BCYgBuu-8RNUcqaIw1j7wPb-XC645DphSTidFiXRXVo,728
|
|
59
|
+
isaacus/types/ilgs/v1/external_document.py,sha256=-J-OqillulCeN5_Pe5paNh1h6TBe5FoUBs3_7ESz-eM,3827
|
|
60
|
+
isaacus/types/ilgs/v1/id_number.py,sha256=83RwxmEapGnUpeoDsQJ7XmBvHWkE4fO5mSIVM0kBGmw,761
|
|
61
|
+
isaacus/types/ilgs/v1/location.py,sha256=8Co6dFZs9oo9IFlzBrLEcNH6eCCGGuZMJAhUDzaZKig,1753
|
|
62
|
+
isaacus/types/ilgs/v1/person.py,sha256=TKYtiJyvqCQKpHa-JhwchItxdBYRZtBe4djUWSibmWM,9802
|
|
63
|
+
isaacus/types/ilgs/v1/phone_number.py,sha256=Iba1FNZONZoeueTfRmQ0Go97mH46U99o2SrYmfMY9So,885
|
|
64
|
+
isaacus/types/ilgs/v1/quote.py,sha256=UsrXbyBu5hOroijIQn9e0Ckwrl9f5QCHNGy7w7xrx14,1757
|
|
65
|
+
isaacus/types/ilgs/v1/segment.py,sha256=-_Vw5qJiB3ZpcSIBggM3ehnaJn-7U0vMtGVRC6ZGHss,8483
|
|
66
|
+
isaacus/types/ilgs/v1/span.py,sha256=LaFHGcSL6cuszJWQTszDw0ic-mUtK6-0qMfLpM_j1Ic,1150
|
|
67
|
+
isaacus/types/ilgs/v1/term.py,sha256=VOeQPpbw7jOf0kz1lxGyNn-rysXpb-7Fw8fRdCHeH_Q,2209
|
|
68
|
+
isaacus/types/ilgs/v1/website.py,sha256=L0_B57cHe88nBeqBV0hn3KZ-qAnoaYUj79yk18T-vmU,820
|
|
69
|
+
isaacus-0.14.0.dist-info/METADATA,sha256=TPukdaqWOHyvmW6BYyzJK9b1YriJfoHN5BkS9E10eCg,17499
|
|
70
|
+
isaacus-0.14.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
71
|
+
isaacus-0.14.0.dist-info/licenses/LICENSE,sha256=a39aM3IX2G2L5Xs88KP8lWSk-UJ3Eaqo8HwnQs9c08U,11337
|
|
72
|
+
isaacus-0.14.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|