Skip to main content

Common type definitions for the Uncertainty Engine

Project description

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)

  • 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.4.tar.gz (3.9 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.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for uncertainty_engine_types-0.0.4.tar.gz
Algorithm Hash digest
SHA256 cdc5d2cd91934097a9b21f4898d65486dc5485c4ebc4242c23dbc176e4899f1e
MD5 530f7e6b571dfcd45f2af328e1c800f4
BLAKE2b-256 50a05ad6c8db4d847c08aaa8699b4e8d20e359c8b65f3966865c65944fd45b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uncertainty_engine_types-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7da97fe5de265c6d4f97db7bac6ece792a7ebe3d7e84f95e015bd697e6315491
MD5 800eb4337e0ddb437debea63781aafd2
BLAKE2b-256 ba54ef2d47b35c43db8c09fa2211426a35557d8e24502666ad801a6922f8cf9a

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