uncertainty-engine-types 0.14.0__py3-none-any.whl → 0.15.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.
- uncertainty_engine_types/__init__.py +40 -23
- uncertainty_engine_types/run_workflow.py +21 -0
- uncertainty_engine_types/version.py +1 -1
- {uncertainty_engine_types-0.14.0.dist-info → uncertainty_engine_types-0.15.0.dist-info}/METADATA +1 -1
- {uncertainty_engine_types-0.14.0.dist-info → uncertainty_engine_types-0.15.0.dist-info}/RECORD +6 -5
- {uncertainty_engine_types-0.14.0.dist-info → uncertainty_engine_types-0.15.0.dist-info}/WHEEL +0 -0
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
from
|
|
2
|
-
from .chat_history import ChatHistory
|
|
3
|
-
from .context import Context, UserContext
|
|
4
|
-
from .dataset import CSVDataset
|
|
5
|
-
from .embeddings import
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
from uncertainty_engine_types import utils
|
|
2
|
+
from uncertainty_engine_types.chat_history import ChatHistory
|
|
3
|
+
from uncertainty_engine_types.context import Context, UserContext
|
|
4
|
+
from uncertainty_engine_types.dataset import CSVDataset
|
|
5
|
+
from uncertainty_engine_types.embeddings import (
|
|
6
|
+
TextEmbeddingsConfig,
|
|
7
|
+
TextEmbeddingsProvider,
|
|
8
|
+
)
|
|
9
|
+
from uncertainty_engine_types.execution_error import ExecutionError
|
|
10
|
+
from uncertainty_engine_types.file import (
|
|
8
11
|
PDF,
|
|
9
12
|
Document,
|
|
10
13
|
File,
|
|
@@ -17,28 +20,39 @@ from .file import (
|
|
|
17
20
|
TabularData,
|
|
18
21
|
WebPage,
|
|
19
22
|
)
|
|
20
|
-
from .graph import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
from .
|
|
28
|
-
from .
|
|
23
|
+
from uncertainty_engine_types.graph import (
|
|
24
|
+
Graph,
|
|
25
|
+
NodeElement,
|
|
26
|
+
NodeId,
|
|
27
|
+
SourceHandle,
|
|
28
|
+
TargetHandle,
|
|
29
|
+
)
|
|
30
|
+
from uncertainty_engine_types.handle import Handle
|
|
31
|
+
from uncertainty_engine_types.id import ResourceID
|
|
32
|
+
from uncertainty_engine_types.job import JobInfo, JobStatus
|
|
33
|
+
from uncertainty_engine_types.llm import LLMConfig, LLMProvider
|
|
34
|
+
from uncertainty_engine_types.message import Message
|
|
35
|
+
from uncertainty_engine_types.model import MachineLearningModel
|
|
36
|
+
from uncertainty_engine_types.model_config import ModelConfig
|
|
37
|
+
from uncertainty_engine_types.node_info import (
|
|
29
38
|
NodeInfo,
|
|
30
39
|
NodeInputInfo,
|
|
31
40
|
NodeOutputInfo,
|
|
32
41
|
NodeRequirementsInfo,
|
|
33
42
|
ScalingInfo,
|
|
34
43
|
)
|
|
35
|
-
from .prompt import Prompt
|
|
36
|
-
from .
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
from .
|
|
44
|
+
from uncertainty_engine_types.prompt import Prompt
|
|
45
|
+
from uncertainty_engine_types.run_workflow import (
|
|
46
|
+
OverrideWorkflowInput,
|
|
47
|
+
OverrideWorkflowOutput,
|
|
48
|
+
RunWorkflowRequest,
|
|
49
|
+
)
|
|
50
|
+
from uncertainty_engine_types.sensor_designer import SensorDesigner
|
|
51
|
+
from uncertainty_engine_types.sql import SQLConfig, SQLKind
|
|
52
|
+
from uncertainty_engine_types.token import Token
|
|
53
|
+
from uncertainty_engine_types.uncertainty_plot import UncertaintyPlot
|
|
54
|
+
from uncertainty_engine_types.vector_store import VectorStoreConfig, VectorStoreProvider
|
|
55
|
+
from uncertainty_engine_types.version import __version__
|
|
42
56
|
|
|
43
57
|
__all__ = [
|
|
44
58
|
"__version__",
|
|
@@ -88,4 +102,7 @@ __all__ = [
|
|
|
88
102
|
"VectorStoreConfig",
|
|
89
103
|
"VectorStoreProvider",
|
|
90
104
|
"WebPage",
|
|
105
|
+
"OverrideWorkflowInput",
|
|
106
|
+
"OverrideWorkflowOutput",
|
|
107
|
+
"RunWorkflowRequest",
|
|
91
108
|
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Types for running a workflow via `run_workflow` or `queue_workflow` endpoints
|
|
2
|
+
from typing import Any, List, Optional
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class OverrideWorkflowInput(BaseModel):
|
|
8
|
+
node_label: str
|
|
9
|
+
input_handle: str
|
|
10
|
+
value: Any # Required as any to allow for input to all nodes
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class OverrideWorkflowOutput(BaseModel):
|
|
14
|
+
node_label: str
|
|
15
|
+
output_handle: str
|
|
16
|
+
output_label: str
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class RunWorkflowRequest(BaseModel):
|
|
20
|
+
inputs: Optional[List[OverrideWorkflowInput]] = None
|
|
21
|
+
outputs: Optional[List[OverrideWorkflowOutput]] = None
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.15.0"
|
{uncertainty_engine_types-0.14.0.dist-info → uncertainty_engine_types-0.15.0.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
uncertainty_engine_types/__init__.py,sha256=
|
|
1
|
+
uncertainty_engine_types/__init__.py,sha256=lUVOcy0DDYPJKaVz_iAqVCkywP372PZrQbhvBqoIfBk,2812
|
|
2
2
|
uncertainty_engine_types/chat_history.py,sha256=OY1fZXP7_AtPKEmgjxh60PlbEGtQWJWafZMgs2Ec0BU,121
|
|
3
3
|
uncertainty_engine_types/context.py,sha256=gi1izptPe05ksem5TGZNIzgzO_QmomzXwTGqvB5I9Sc,914
|
|
4
4
|
uncertainty_engine_types/dataset.py,sha256=sDpQu5X3KxJ1lNkZOwhppJ2SY0Cv19cbcYfGpp_hyUQ,75
|
|
@@ -15,13 +15,14 @@ uncertainty_engine_types/model.py,sha256=O9E_7DE9AKEc1o2VnhpUyl3Quh4sGdV43gqDJwk
|
|
|
15
15
|
uncertainty_engine_types/model_config.py,sha256=pCawKIo2l0O3eRLE5Ese7jaxomIyPXGW3XIcAx6TckY,558
|
|
16
16
|
uncertainty_engine_types/node_info.py,sha256=OEhn7vPjEgLtHMb8mqW40dP9ctFdWpXOSM9CTD9NiNk,2021
|
|
17
17
|
uncertainty_engine_types/prompt.py,sha256=l__qXytAapKg1Hoaj3RSVYN3rhy638nuUZIS-se0eMc,74
|
|
18
|
+
uncertainty_engine_types/run_workflow.py,sha256=bVKuP17uR8cToWkakoGSEpyYpa_0v7s4FFiL2xLZawg,564
|
|
18
19
|
uncertainty_engine_types/sensor_designer.py,sha256=hr3ek4_dRjRK0-78uaT6h8-bGUCm7Mfs6mxJSWxE64c,80
|
|
19
20
|
uncertainty_engine_types/sql.py,sha256=SBzmgMEZ-sa-OBRoZbmKiOqddop4zJixgxx-JCus9fY,298
|
|
20
21
|
uncertainty_engine_types/token.py,sha256=4tQQkvl-zsYoVk8ZEx0cB2JiU0VDRJ6uUe76XBXEpBY,178
|
|
21
22
|
uncertainty_engine_types/uncertainty_plot.py,sha256=kJr0SuJ6JeTxaf2adpDNWqx7vVLZRpKG8tFbdx90pas,547
|
|
22
23
|
uncertainty_engine_types/utils.py,sha256=72QVig8Kb5uIR-e1nofm-3x9CouebdQJIruDbq-aIn0,271
|
|
23
24
|
uncertainty_engine_types/vector_store.py,sha256=9fYPJ04jWcy2DruyUSjiKQAgmqq-wgeAi5dBIrAOm30,392
|
|
24
|
-
uncertainty_engine_types/version.py,sha256=
|
|
25
|
-
uncertainty_engine_types-0.
|
|
26
|
-
uncertainty_engine_types-0.
|
|
27
|
-
uncertainty_engine_types-0.
|
|
25
|
+
uncertainty_engine_types/version.py,sha256=wGIgxINRfcIKyk0LjIbc9UF9UwuclyCQZv_axTUzwNw,23
|
|
26
|
+
uncertainty_engine_types-0.15.0.dist-info/METADATA,sha256=jDJIIGuyIos_pJ19oEwITh7-_0ZaeDX8XYwE6nGmO7g,2816
|
|
27
|
+
uncertainty_engine_types-0.15.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
28
|
+
uncertainty_engine_types-0.15.0.dist-info/RECORD,,
|
{uncertainty_engine_types-0.14.0.dist-info → uncertainty_engine_types-0.15.0.dist-info}/WHEEL
RENAMED
|
File without changes
|