uncertainty-engine-types 0.0.4__py3-none-any.whl → 0.0.5__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.
- uncertainty_engine_types/__init__.py +5 -2
- uncertainty_engine_types/job.py +18 -0
- uncertainty_engine_types/model.py +1 -1
- uncertainty_engine_types/node_info.py +1 -0
- uncertainty_engine_types/version.py +1 -1
- {uncertainty_engine_types-0.0.4.dist-info → uncertainty_engine_types-0.0.5.dist-info}/METADATA +7 -27
- {uncertainty_engine_types-0.0.4.dist-info → uncertainty_engine_types-0.0.5.dist-info}/RECORD +8 -7
- {uncertainty_engine_types-0.0.4.dist-info → uncertainty_engine_types-0.0.5.dist-info}/WHEEL +0 -0
|
@@ -3,9 +3,10 @@ from .conversation import Conversation
|
|
|
3
3
|
from .execution_error import ExecutionError
|
|
4
4
|
from .graph import Graph, NodeElement, NodeId, SourceHandle, TargetHandle
|
|
5
5
|
from .handle import Handle
|
|
6
|
+
from .job import JobInfo, JobStatus
|
|
6
7
|
from .llm import LLMConfig, LLMProvider
|
|
7
8
|
from .message import Message
|
|
8
|
-
from .model import
|
|
9
|
+
from .model import MachineLearningModel
|
|
9
10
|
from .node_info import NodeInfo, NodeInputInfo, NodeOutputInfo, Versions
|
|
10
11
|
from .sensor_designer import SensorDesigner
|
|
11
12
|
from .sql import SQLConfig, SQLKind
|
|
@@ -22,8 +23,11 @@ __all__ = [
|
|
|
22
23
|
"ExecutionError",
|
|
23
24
|
"Graph",
|
|
24
25
|
"Handle",
|
|
26
|
+
"JobInfo",
|
|
27
|
+
"JobStatus",
|
|
25
28
|
"LLMConfig",
|
|
26
29
|
"LLMProvider",
|
|
30
|
+
"MachineLearningModel",
|
|
27
31
|
"Message",
|
|
28
32
|
"NodeElement",
|
|
29
33
|
"NodeId",
|
|
@@ -37,7 +41,6 @@ __all__ = [
|
|
|
37
41
|
"TabularData",
|
|
38
42
|
"TargetHandle",
|
|
39
43
|
"Token",
|
|
40
|
-
"TwinLabModel",
|
|
41
44
|
"VectorStoreConfig",
|
|
42
45
|
"VectorStoreProvider",
|
|
43
46
|
"Versions",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from enum import StrEnum
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class JobStatus(StrEnum):
|
|
8
|
+
PENDING = "pending"
|
|
9
|
+
RUNNING = "running"
|
|
10
|
+
COMPLETED = "completed"
|
|
11
|
+
FAILED = "failed"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class JobInfo(BaseModel):
|
|
15
|
+
status: JobStatus
|
|
16
|
+
message: Optional[str] = None
|
|
17
|
+
inputs: dict
|
|
18
|
+
outputs: Optional[dict] = None
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.5"
|
{uncertainty_engine_types-0.0.4.dist-info → uncertainty_engine_types-0.0.5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: uncertainty-engine-types
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.5
|
|
4
4
|
Summary: Common type definitions for the Uncertainty Engine
|
|
5
5
|
Author: Freddy Wordingham
|
|
6
6
|
Author-email: freddy@digilab.ai
|
|
@@ -45,15 +45,9 @@ This library should be used by other packages to ensure consistency in the types
|
|
|
45
45
|
|
|
46
46
|
### Language Learning Models (LLMs)
|
|
47
47
|
|
|
48
|
-
- **LLM**
|
|
49
|
-
Abstract base class for language learning models.
|
|
50
|
-
- **OpenAILLM**
|
|
51
|
-
LLM implementation using OpenAI.
|
|
52
|
-
- **OllamaLLM**
|
|
53
|
-
LLM implementation using Ollama.
|
|
54
48
|
- **LLMProvider**
|
|
55
49
|
Enum listing supported LLM providers.
|
|
56
|
-
- **
|
|
50
|
+
- **LLMConfig**
|
|
57
51
|
Manages connections to LLMs based on the chosen provider and configuration.
|
|
58
52
|
|
|
59
53
|
### Messaging
|
|
@@ -63,10 +57,8 @@ This library should be used by other packages to ensure consistency in the types
|
|
|
63
57
|
|
|
64
58
|
### TwinLab Models
|
|
65
59
|
|
|
66
|
-
- **
|
|
60
|
+
- **MachineLearningModel**
|
|
67
61
|
Represents a model configuration including metadata.
|
|
68
|
-
- **save_model**
|
|
69
|
-
Function to persist a model configuration.
|
|
70
62
|
|
|
71
63
|
### Node Metadata
|
|
72
64
|
|
|
@@ -86,14 +78,10 @@ This library should be used by other packages to ensure consistency in the types
|
|
|
86
78
|
|
|
87
79
|
### SQL Database Types
|
|
88
80
|
|
|
89
|
-
- **SQLDatabase**
|
|
90
|
-
Abstract base class for executing SQL queries.
|
|
91
|
-
- **PostgreSQL**
|
|
92
|
-
Implementation of SQLDatabase for PostgreSQL.
|
|
93
81
|
- **SQLKind**
|
|
94
82
|
Enum listing supported SQL database types.
|
|
95
|
-
- **
|
|
96
|
-
|
|
83
|
+
- **SQLConfig**
|
|
84
|
+
Configures connections and operations for SQL databases.
|
|
97
85
|
|
|
98
86
|
### Tabular Data
|
|
99
87
|
|
|
@@ -107,16 +95,8 @@ This library should be used by other packages to ensure consistency in the types
|
|
|
107
95
|
|
|
108
96
|
### Vector Stores
|
|
109
97
|
|
|
110
|
-
- **VectorStoreConnection**
|
|
111
|
-
Abstract base class for vector store operations.
|
|
112
|
-
- **WeaviateVectorStoreConnection**
|
|
113
|
-
Implements a connection to a Weaviate vector store.
|
|
114
98
|
- **VectorStoreProvider**
|
|
115
99
|
Enum for supported vector store providers.
|
|
116
|
-
- **
|
|
117
|
-
|
|
118
|
-
- **get_persistent_vector_store**
|
|
119
|
-
Function to establish a persistent connection to a Weaviate vector store.
|
|
120
|
-
- **get_embedding_function**
|
|
121
|
-
Retrieves an embedding function based on configuration, supporting both HuggingFace and OpenAI options.
|
|
100
|
+
- **VectorStoreConfig**
|
|
101
|
+
Configures connections to vector stores.
|
|
122
102
|
|
{uncertainty_engine_types-0.0.4.dist-info → uncertainty_engine_types-0.0.5.dist-info}/RECORD
RENAMED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
uncertainty_engine_types/__init__.py,sha256=
|
|
1
|
+
uncertainty_engine_types/__init__.py,sha256=6pB7JPLiwVbNJJ65-SxaK_-Uj8Kc5kKlj_VTwYt6weM,1188
|
|
2
2
|
uncertainty_engine_types/context.py,sha256=k9rlArn-L2x1P5vWy5khfuqJW5tJOqr3NlhubZCbyG4,209
|
|
3
3
|
uncertainty_engine_types/conversation.py,sha256=uDHTr4uPzjkcflhyFAanfiQ1KbEIs4C9jogrwzOEt_s,122
|
|
4
4
|
uncertainty_engine_types/execution_error.py,sha256=tvIBuZPM8UhFUERHCEqoW8blAYYuBq1ZqidO0i_BCGs,105
|
|
5
5
|
uncertainty_engine_types/graph.py,sha256=ii2YT2jxoRB7UhcceI2k_ArKmlUXEwBCRBpsEUjL2Qg,265
|
|
6
6
|
uncertainty_engine_types/handle.py,sha256=DEu3aCwJsOuinQ2Gxdy6dZbwnCHAXkplIT4WNL6o7oQ,444
|
|
7
|
+
uncertainty_engine_types/job.py,sha256=eYDe-MW4s-kXGL1Ke1VxdwoduW66orJAa0L1XwGdYi0,347
|
|
7
8
|
uncertainty_engine_types/llm.py,sha256=oivoY3aDv5Rsk8FWA-vOPEFfK9a6-SqSyu01AlEuO7o,406
|
|
8
9
|
uncertainty_engine_types/message.py,sha256=KncFJQHL_ko8nfOuso_eh7i2gB0y4nXI6gBW9U8lAEY,971
|
|
9
|
-
uncertainty_engine_types/model.py,sha256=
|
|
10
|
-
uncertainty_engine_types/node_info.py,sha256=
|
|
10
|
+
uncertainty_engine_types/model.py,sha256=O9E_7DE9AKEc1o2VnhpUyl3Quh4sGdV43gqDJwk-y68,196
|
|
11
|
+
uncertainty_engine_types/node_info.py,sha256=XJGOlxaTI7pyuKc3zQYuQf_uL6orYMe8AzaWnMO9ME8,828
|
|
11
12
|
uncertainty_engine_types/sensor_designer.py,sha256=hr3ek4_dRjRK0-78uaT6h8-bGUCm7Mfs6mxJSWxE64c,80
|
|
12
13
|
uncertainty_engine_types/sql.py,sha256=SBzmgMEZ-sa-OBRoZbmKiOqddop4zJixgxx-JCus9fY,298
|
|
13
14
|
uncertainty_engine_types/tabular_data.py,sha256=i_1LfgQqxDanPRWuDkP3Hd8-9eVet6FbPIlPZlAi1n0,76
|
|
14
15
|
uncertainty_engine_types/token.py,sha256=4tQQkvl-zsYoVk8ZEx0cB2JiU0VDRJ6uUe76XBXEpBY,178
|
|
15
16
|
uncertainty_engine_types/vector_store.py,sha256=9fYPJ04jWcy2DruyUSjiKQAgmqq-wgeAi5dBIrAOm30,392
|
|
16
|
-
uncertainty_engine_types/version.py,sha256=
|
|
17
|
-
uncertainty_engine_types-0.0.
|
|
18
|
-
uncertainty_engine_types-0.0.
|
|
19
|
-
uncertainty_engine_types-0.0.
|
|
17
|
+
uncertainty_engine_types/version.py,sha256=S7u1lbuWmM3A3ajykBialmPoJUK6Jg-WmNqM-9OZFdk,22
|
|
18
|
+
uncertainty_engine_types-0.0.5.dist-info/METADATA,sha256=SPui8CAUqXbPD3NgU6x1EjHRbMS4OO4g3jYlIS19ics,2815
|
|
19
|
+
uncertainty_engine_types-0.0.5.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
20
|
+
uncertainty_engine_types-0.0.5.dist-info/RECORD,,
|
|
File without changes
|