Tikos Platform Library
Project description
Tikos Reasoning Platform
Tikos Reasoning Platform harnesses the power of empirically established 2nd-generation AI and statistical toolsets to offer its users advanced 3rd-generation AI capabilities.
Copyright 2024 (C) Tikos Technologies Limited
How to access the platform
To get Alpha API keys, please register your request via https://tikos.tech/
Licence
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Release Notes
-
v 0.0.7
i. Added
GetGraphStructure: Automatically extract graph Vertices and Edges that can be further refined by the userii. Added
GenerateGraph: Provide Tikos Reasoning Platform the refined graph Vertices and Edges to build the standard knowledge graphiii. Added
GetGraph: Get the whole graph for an extraction requestiv. Added
GetGraphRelationships: Get relationships between two Vertexes
-
v 0.0.8
i. Added
GetGraphRetrieval: Retrieve query response along with the Graph relationships for the requested retrieve query
-
v 0.0.9
i. Added
GetGraphRetrievalWithDS: Retrieve query response along with the Graph relationships for the requested retrieve query with Graph Node data sets as JSON
-
v 0.1.0
i. Added licence conditions
-
v 0.1.1
i. Added
ProcessExtractFile: Be able to extract data from a specific file and support JSON based extraction using jq based schemasii. Modified
ProcessExtract: Support JSON based extraction using jq based schemas
-
v0.1.1
i. Added
BuildSC: Generate the SequentialCollection knowledge structure for the associated graph Vertices from structured data setsii. Added
GetSimilarCase: Providing a Problem Space (PS) case, the Sequential collection will contact a basic binary (BIN, default) search or advanced binary (BINADV) search and return the most similar existing case. This does not perform any case adaptation
-
v0.1.4
i. Added
GetGraphStructurePerDoc: Accept a file names and generate NER JSON of the (submitted) fileii. Added
GenerateGraphPerDoc: Accept a NER JSON object and create a graph of the (submitted) fileiii. Added
GenerateAutoGraph: Accept a list of file names, that will be used to generate the NER generation automatically and create a full graph
-
v0.1.6
i. Amended
GetGraphRetrieval: Accept optional file reference and base model referenceii. Amended
GetGraphRetrievalWithDS: Accept optional file reference and base model reference
-
v0.1.7
i. Added
GetCustomerGraphRetrievalWithDS: Retrieve customer specific query with the Graph relationships for the requested retrieve query with Graph Node data sets as JSON
- v0.1.8
- Amended
GenerateGraph,GenerateGraphPerDoc&GenerateAutoGraph: Accept graph generation Payload Configuration with theJSONformat:{ "overrideNER": "<True/False>", "filter": "<GRAPH CASE_TYPE ATTRIBUTE GENERATION CONFIG TEXT>" }
- Amended
-
v0.1.9
i. Amended
GetGraphStructure,GetGraphStructurePerDoc,GenerateGraph,GenerateGraphPerDoc&GenerateAutoGraph: Accept the model-id configuration
-
v0.2.0
i. Added
GetReasoning: Generate Similarity Reasoning of a Solution for a given Sequential Collection Case
-
v0.2.1
i. Added
tikos.TikosClient, A generic client connector that orchestrates commonly used base functions. It has been developed to facilitate easy integration with other applications and supports multithreading.ii. Added
addProcessFiles: Multithreading supported file processing function. Accepts: List of filenames and file paths as a tupleiii. Added
addFileStreams: Multithreading supported file addition function. Accepts: List of filenames and file stream as a tupleiv. Added
addProcessFileStreams: Multithreading supported combined file addition and processing function. Accepts: List of filenames and file stream as a tuplev. Added
generateGraphStructures: Multithreading supported graph structure generation function. Accepts: List of filenames as contexesvi. Added
createGraph: Multithreading supported graph creation function. Accepts: List of filenames as contexesvii. Added
getGraph: Graph structure extraction functionviii. Added
getGraphRetrieval: Graph retrieval function, Accepts: Filenames as context and queryix. Added
createSequentialCollection: Sequential Collection creation function. Accepts: Case-Type, Data File name as context and Weight Typex. Added
generateReasoning: Sequential Collection reasoning function. Accepts: Case-Type, Data File name as context, problem space case as a JSON object string, Weight Type and Reasoning Type
-
v0.2.2
i. Amended
BuildSC: Accepts the Sequential Collection config (scConfig)ii. Amended
tikos.TikosClient.createSequentialCollection: Accepts the Sequential Collection config (scConfig)
-
v0.2.3
i. Added
UploadModel: Upload trained Deep Neural Network model that need to embedded with TRP. PyTorch Based models are supportedii. Added
UploadModelConfig: Upload of the configuration related to the Uploaded DNN model. Will accept the model param definition in JSON format as-well-as the model specification in YAML formatiii. Added
UploadModelCaseData: Upload of the selected Knowledge Cases (feature sets), that will build the initial Sequential Collection case baseiv. Added
ProcessModel: Process the upload DNN model with Synapses Logger embedding and dynamically creating the Sequential Collection case basev. Added
tikos.TikosClient.uploadEmbeddingModel: Supports upload of the DNN modelvi. Added
tikos.TikosClient.uploadEmbeddingConfig: Supports upload of the DNN model configuration filesvii. Added
tikos.TikosClient.uploadModelCaseData: Upload of the selected Knowledge Cases (feature sets), that will build the initial Sequential Collection case baseviii. Added
tikos.TikosClient.processEmbeddedModel: Process the upload DNN model with Synapses Logger embedding and dynamically creating the Sequential Collection case base
-
v0.2.4
i. Amended
tikos.TikosClient.generateReasoning: Accepts base models' Neural Network Architecture types with paramnType. Default is0.
nTypeTypes:
0. Feedforward (deep) ANN
1. Basic Transformer based ANN
2. Modern Transformer based ANN
-
v0.3.0
i. Added
tikos.TikosClient.generateFMProfiling: Foundational Model Profiling function.
We are pleased to announce the release of thegenerateFMProfilingfunction, a powerful new tool that enables evaluating and understanding the behavior of foundational models. This function provides a streamlined way to profile a models' responses to a given set of prompts.
Overview
ThegenerateFMProfilingfunction enables developers to perform targeted deep analysis of a foundational models' decisioning process. By providing a list of prompts, you can quickly build the associated Sequential Collection cases and assess the models' performance, style, and content generation on specific topics. This is essential for pruning, fine-tuning, validation, and ensuring that the model aligns with your applications' controls and requirements.
Functionality Details
This functionality is designed for efficient and direct model interaction. It accepts a list of prompts (promptTextList) to a specified model (modelName) and captures its develop the Contextual Sequential Collection for future analysis. The inclusion of a keyword list allows for more granular assessment of the generated text.
Key Parameters:
*refCaseType: Specifies the case type for the profiling session, allowing for context-specific evaluations.
*nType: Defines the network type to be used for the request.
*modelName: The name of the foundational model to be profiled (e.g.,meta-llama/Llama-3.2-1B).
*promptTextList: A list of input strings to be sent to the model.
*keyList: An optional list of keywords to check for within the model's responses, enabling targeted analysis.
*tokenLen: Sets the maximum token length for the models' generated response.
This functionality simplifies the process of gathering direct feedback from a model, making it an indispensable capability for any development lifecycle involving Foundational Models.
ii. Addedtikos.Tooling.generateFMProfileMatching: Foundational Model Profiling Matching tool.
We are introducing thegenerateFMProfileMatchingtooling function, an advanced tool designed to perform profile matching for foundational models. This function allows you to compare a model's output against reference profiles to evaluate similarity and alignment.
Overview
ThegenerateFMProfileMatchingtooling function is a sophisticated analysis tool that assesses how closely a foundational models' response traces align with a given context. By providing reference context and specifying reasoning types, you can systematically measure the models' ability to generate contextually relevant and consistent content. This is invaluable for tasks requiring high degrees of factual accuracy, style adherence, robustness, and safety compliance.
Functionality Details
This tooling function orchestrates a complex workflow where a foundational model is prompted, and its decisioning traces are matched against a reference profile. It uses contextual adaptation and similarity types to perform a deep, abductive analysis of the models' behavior.
Key Parameters:
*payloadId: A unique identifier for the matching task.
*refdoc: The contextual document reference(s) to improve the contextual adaptation.
*refCaseType: Specifies the case type for the profiling session, allowing for context-specific evaluations.
*RType: Defines the reasoning types for the analysis (e.g.,DEEPCAUSAL_PROFILE_PATTERN_ADV).
*WType: Defines the processing work types for the analysis (e.g.,PROFILING).
*modelName: The name of the foundational model to be profiled (e.g.,meta-llama/Llama-3.2-1B).
*promptTextList: A list of input strings to be sent to the model.
*tokenLen: Sets the maximum token length for the models' generated response.
*nType: Defines the neural network type for the analysis (e.g.,2).
*llmmodel/payloadconfig: Additional configuration options for specifying the LLM, and payload settings.
Byusing generateFMProfileMatching, you can create robust, automated workflows for continuous model validation and performance monitoring.
iii. Addedtikos.Tooling.generateFMProfileGuardRailing: Foundational Model Profiling Guard Railing tool.
We are excited to introduce thegenerateFMProfileGuardRailingtooling function, a new tool designed for advanced analysis and safety monitoring of foundational models. This function serves as a "guard rail" by systematically profiling a models' behavior against a given set of prompts and configurations.
Overview
ThegenerateFMProfileGuardRailingfunction allows developers and researchers to assess how a specific foundational model, such asmeta-llama/Llama-3.2-1B, responds to various inputs. By configuring different reasoning types, network settings, and other parameters, you can simulate diverse scenarios and analyse the models' performance, safety, and alignment in depth. This is a crucial step in ensuring model reliability and preventing unintended behavior before deployment. Moreover, this will allow business stakeholders to develop automation system controls.
Functionality Details
This tool accepts a list of prompts (promptTextList) to a specified model (modelName) and evaluates its responses based on a comprehensive configuration. It is designed to be highly flexible, accepting numerous parameters to tailor each profiling session to specific needs.
Key Parameters:
*payloadId: A unique identifier for the matching task.
*refdoc: The contextual document reference(s) to improve the contextual adaptation.
*refCaseType: Specifies the case type for the profiling session, allowing for context-specific evaluations.
*RType: Defines the reasoning types for the analysis (e.g.,DEEPCAUSAL_PROFILE_PATTERN_ADV).
*WType: Defines the processing work types for the analysis (e.g.,PROFILING).
*modelName: The name of the foundational model to be profiled (e.g.,meta-llama/Llama-3.2-1B).
*promptTextList: A list of input strings to be sent to the model.
*tokenLen: Sets the maximum token length for the models' generated response.
*nType: Defines the neural network type for the analysis (e.g.,2).
*llmmodel/payloadconfig: Additional configuration options for specifying the LLM, and payload settings.
By leveraginggenerateFMProfileGuardRailingtooling, you can conduct targeted and repeatable experiments to build a robust profile of any foundational models' operational characteristics and deliver operational controls.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tikos-0.3.0.tar.gz.
File metadata
- Download URL: tikos-0.3.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52ca3b892115df089020fc221fedde25507cf7155ac5baf228a1cf1247624b4
|
|
| MD5 |
abd1b3eec7044fd941aca9aa7916a6c5
|
|
| BLAKE2b-256 |
9a616e042c3ac75be3f0247364cb143ee6e7b2f76010dd89d8edd6398b334306
|
File details
Details for the file tikos-0.3.0-py3-none-any.whl.
File metadata
- Download URL: tikos-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c02e09beb91d2a98a555c8f328b69886cbadeeda8ec908aba532c3a70e16c1e
|
|
| MD5 |
37f519b11279cce99c173304b67bb469
|
|
| BLAKE2b-256 |
02654a23a1defc089fea71d2f4c2862ae3f48c8019a97a8e9aec66389b7e2a3c
|