Skip to main content

Common type definitions for the Uncertainty Engine

Project description

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)

  • LLM
    Abstract base class for language learning models.
  • OpenAILLM
    LLM implementation using OpenAI.
  • OllamaLLM
    LLM implementation using Ollama.
  • LLMProvider
    Enum listing supported LLM providers.
  • LLMManager
    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

  • TwinLabModel
    Represents a model configuration including metadata.
  • save_model
    Function to persist a model configuration.

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

  • SQLDatabase
    Abstract base class for executing SQL queries.
  • PostgreSQL
    Implementation of SQLDatabase for PostgreSQL.
  • SQLKind
    Enum listing supported SQL database types.
  • SQLManager
    Manages 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

  • VectorStoreConnection
    Abstract base class for vector store operations.
  • WeaviateVectorStoreConnection
    Implements a connection to a Weaviate vector store.
  • VectorStoreProvider
    Enum for supported vector store providers.
  • VectorStoreManager
    Manages connections to vector stores.
  • get_persistent_vector_store
    Function to establish a persistent connection to a Weaviate vector store.
  • get_embedding_function
    Retrieves an embedding function based on configuration, supporting both HuggingFace and OpenAI options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uncertainty_engine_types-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uncertainty_engine_types-0.0.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file uncertainty_engine_types-0.0.2.tar.gz.

File metadata

  • Download URL: uncertainty_engine_types-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.1 Darwin/23.6.0

File hashes

Hashes for uncertainty_engine_types-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a8c0eefd92294da72480ed6e0745161089d2aa00dec6ce47c310ac4a8098445c
MD5 482e2cd474e5eb9ddbc5f9c669edc300
BLAKE2b-256 061d53deff12db8ad7f518e1310c474e99cfbd9886e33e74d4aa055503505fe1

See more details on using hashes here.

File details

Details for the file uncertainty_engine_types-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for uncertainty_engine_types-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e918ab82905ef291f95e11814e531dc3f4a881b2f2690bb132915ca66d61d890
MD5 cc5c2631571028ead71d2269385108e0
BLAKE2b-256 b0b1d2a664871caf5487acc63ab804a295746780f98bfb02ac1efa6c9716cd5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page