Skip to content

digiLab-ai/uncertainty-engine-types

Repository files navigation

Uncertainty Engine banner

Types

Common types definitions for the Uncertainty Engine. This library should be used by other packages to ensure consistency in the types used across the Uncertainty Engine.

Overview

Execution & Error Handling

  • ExecutionError
    Exception raised to indicate execution errors.

Graph & Node Types

  • Graph
    Represents a collection of nodes and their connections.
  • NodeElement
    Defines a node with a type and associated inputs.
  • NodeId
    A unique identifier for nodes.
  • SourceHandle & TargetHandle
    Strings used to reference node connections.

Node Handles

  • Handle
    Represents a node handle in the format node.handle and validates this structure.

Language Learning Models (LLMs)

  • LLMProvider
    Enum listing supported LLM providers.
  • LLMConfig
    Manages connections to LLMs based on the chosen provider and configuration.

Messaging

  • Message
    Represents a message with a role and content, used for interactions with LLMs.

TwinLab Models

  • MachineLearningModel
    Represents a model configuration including metadata.

Node Metadata

  • NodeInputInfo
    Describes the properties of a node's input.
  • NodeOutputInfo
    Describes the properties of a node's output.
  • NodeInfo
    Aggregates metadata for a node, including inputs and outputs.

Sensor Design

  • SensorDesigner
    Defines sensor configuration and provides functionality to load sensor data.
  • save_sensor_designer
    Function to persist a sensor designer configuration.

SQL Database Types

  • SQLKind
    Enum listing supported SQL database types.
  • SQLConfig
    Configures connections and operations for SQL databases.

Tabular Data

  • TabularData
    Represents CSV-based data and includes functionality to load it into a pandas DataFrame.

Token Types

  • Token
    Enum representing token types, such as TRAINING and STANDARD.

Vector Stores

  • VectorStoreProvider
    Enum for supported vector store providers.
  • VectorStoreConfig
    Configures connections to vector stores.

About

Common types definitions for the Uncertainty Engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6