Knowledgator UTCA
KnowledgatorGitHubDiscord
  • Welcome to UTCA documentation!
  • Quickstart
  • Concepts
    • Components
    • Types of components
    • ExecutionSchema
    • Context
    • Scopes
  • Development and Contribution
    • Contribution
    • Future relises
  • Framework structure
  • Core
    • Component
    • BaseExecutor
    • Action
    • Executable
    • Evaluator
    • Memory management
    • Schemas
    • Exceptions
  • Structural components
    • ExecutionSchema
    • Switch
    • ForEach
    • Filter
    • While
    • Condition
    • BREAK
    • Log
  • Base Actions
    • Flush
    • AddData
    • RenameAttribute
    • RenameAttributeQuery
    • SetValue
    • UnpackValue
    • NestToKey
    • ExecuteFunction
  • Predictors
    • Predictor
    • Transformers predictors
    • Transformers schemas
    • TokenSearcherPredictor
    • ComprehendItPredictor
    • GLiNERPredictor
    • OpenAIChatGPTPredictor
    • OpenAIWhisperPredictor
  • Tasks
    • Task
    • ComprehendIt
    • TokenSearcherTextCleaner
    • TokenSearcherNER
    • TokenSearcherQandA
    • TokenSearcherRelationExtraction
    • GLiNER
    • GLiNERRelationExtraction
    • GLiNERQandA
    • OpenAIChat
    • WhisperSpeechToText
    • TransformersTextToSpeech
    • TransformersChartsAndPlotsAnalysis
    • TransformersDocumentQandA
    • TransformersImageClassification
    • TransformersVisualQandA
    • TransformersObjectDetection
    • TransformersTextEmbedding
    • TransformersEntityLinking
    • TransformersTokenClassifier
    • TransformersTextSummarization
    • TransformersTextualQandA
    • TransformersTextClassification
    • TransformersChat
    • Objects
    • Chat tasks utilities
    • Relation extraction tasks utilities
  • Executable Schemas
    • SemanticSearchSchema
    • Web2Meaning
    • RequestsHTML
  • Datasources
    • Audio
    • DB
      • SQL
      • Neo4j
      • Chroma
      • Qdrant
    • Google Documents
    • Google Sheets
    • Image
    • Index
    • JSON
    • PDF
    • Plain text
    • Video
  • Conditions
    • RePattern
    • SemanticCondition
  • APIs
    • GoogleCloudClient
  • Integrations
    • Google Cloud
  • Examples
    • Basic image classification
    • Text to speech
    • PDF document processing
Powered by GitBook
On this page
  • Module: core
  • Transformable
  • __init__
  • extract
  • update
  • flush
  • get
  • __getitem__
  • Input
  • Output
  • Config
  • ExecutorComponent
  • ValidationClass
  • ActionInput
  • ActionOutput
  • IOModel
  • generate_transformable
  • extract
  • ReplacingScope
  • INPLACE
  • LOCAL
  • GLOBAL
  1. Core

Schemas

Types and structures

PreviousMemory managementNextExceptions

Last updated 1 year ago

Module:



Transformable

Data manager class


__init__

Arguments:

  • state (Optional[Dict[str, Any]], optional): Data to wrapp. Defaults to None.


extract

Unpack data from this class

Returns:

  • Dict[str, Any]: Data packed in the class


update

Add data

Arguments:

  • data (Dict[str, Any]): Data to add


flush

Remove all data


get

Get value by identifier or return default value.

Arguments:

  • key (str): Item key.

  • default (Any): Return this value if not exist. Defaults to None.


__getitem__

Simple indexing

Arguments:

  • key (str): Item key.




Input

Type variable for inputs




Output

Type variable for outputs




Config

Base config class




ExecutorComponent

Type variable for executor wrapped component




ValidationClass

Type variable for validation classes




ActionInput

Type variable for action input




ActionOutput

Type variable for action output




IOModel

Base class for inout and output validation classes


generate_transformable

Returns:


extract

Unpack validated data from this class

Returns:

  • Dict[str, Any]: Data packed in the class.




ReplacingScope


INPLACE

Rewrite only keys in specified scope


LOCAL

Rewrite only specified scope


GLOBAL

Rewrite data completely



: Transformable representation of the class.

Transformable
core