jevper 0.1.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.
- jevper/__init__.py +77 -0
- jevper/client.py +671 -0
- jevper/errors.py +37 -0
- jevper/labels.py +41 -0
- jevper/methods.py +322 -0
- jevper/normalize.py +57 -0
- jevper/prompts.py +226 -0
- jevper/py.typed +0 -0
- jevper/reasoning.py +72 -0
- jevper/transport.py +398 -0
- jevper/types.py +204 -0
- jevper-0.1.0.dist-info/METADATA +240 -0
- jevper-0.1.0.dist-info/RECORD +15 -0
- jevper-0.1.0.dist-info/WHEEL +4 -0
- jevper-0.1.0.dist-info/licenses/LICENSE +202 -0
jevper/__init__.py
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""jevper — a Jev-shaped (TypeSafe System One) classification wrapper over OpenAI-like clients."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .client import AsyncSystemOneClient, Examples, RetryPolicy, SystemOneClient
|
|
6
|
+
from .errors import (
|
|
7
|
+
ClientCapabilityError,
|
|
8
|
+
InvalidQuestionError,
|
|
9
|
+
JevperError,
|
|
10
|
+
LabelReadoutError,
|
|
11
|
+
MalformedAnswerError,
|
|
12
|
+
ProviderError,
|
|
13
|
+
UnsupportedMethodError,
|
|
14
|
+
)
|
|
15
|
+
from .methods import Readout
|
|
16
|
+
from .reasoning import (
|
|
17
|
+
ReasoningConfig,
|
|
18
|
+
ReasoningContentPart,
|
|
19
|
+
ReasoningSummaryPart,
|
|
20
|
+
ReasoningTextPart,
|
|
21
|
+
reasoning_text,
|
|
22
|
+
)
|
|
23
|
+
from .types import (
|
|
24
|
+
Answer,
|
|
25
|
+
Api,
|
|
26
|
+
Choice,
|
|
27
|
+
ChoiceAnswer,
|
|
28
|
+
Example,
|
|
29
|
+
JSONContent,
|
|
30
|
+
Method,
|
|
31
|
+
Noul,
|
|
32
|
+
NoulAnswer,
|
|
33
|
+
NoulCriteria,
|
|
34
|
+
Question,
|
|
35
|
+
Score,
|
|
36
|
+
ScoreAnswer,
|
|
37
|
+
SystemOneResponse,
|
|
38
|
+
Usage,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
__version__ = "0.1.0"
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
"Answer",
|
|
45
|
+
"Api",
|
|
46
|
+
"AsyncSystemOneClient",
|
|
47
|
+
"Choice",
|
|
48
|
+
"ChoiceAnswer",
|
|
49
|
+
"ClientCapabilityError",
|
|
50
|
+
"Example",
|
|
51
|
+
"Examples",
|
|
52
|
+
"InvalidQuestionError",
|
|
53
|
+
"JSONContent",
|
|
54
|
+
"JevperError",
|
|
55
|
+
"LabelReadoutError",
|
|
56
|
+
"MalformedAnswerError",
|
|
57
|
+
"Method",
|
|
58
|
+
"Noul",
|
|
59
|
+
"NoulAnswer",
|
|
60
|
+
"NoulCriteria",
|
|
61
|
+
"ProviderError",
|
|
62
|
+
"Question",
|
|
63
|
+
"Readout",
|
|
64
|
+
"ReasoningConfig",
|
|
65
|
+
"ReasoningContentPart",
|
|
66
|
+
"ReasoningSummaryPart",
|
|
67
|
+
"ReasoningTextPart",
|
|
68
|
+
"RetryPolicy",
|
|
69
|
+
"Score",
|
|
70
|
+
"ScoreAnswer",
|
|
71
|
+
"SystemOneClient",
|
|
72
|
+
"SystemOneResponse",
|
|
73
|
+
"UnsupportedMethodError",
|
|
74
|
+
"Usage",
|
|
75
|
+
"__version__",
|
|
76
|
+
"reasoning_text",
|
|
77
|
+
]
|