LatticaAI Documentation
  • Welcome to LatticaAI
  • Conceptual Guide
  • Architecture Overview
    • Management Client
    • Query Client
  • Platform Workflows
    • Account Management
    • Model Management
    • User Access Management
    • Query Submission
    • Credit Management
    • Worker Management
  • How-To Guides
    • Client Installation
      • How-To: Install Management Client
      • How-To: Install Query Client
    • Model Lifecycle
      • How-To: Deploy AI model
      • How-To: Modify AI Model Settings
    • Access Control
      • How-To: Create User Access Token
      • How-To: Modify User Access Token Setting
      • How-To: Remove Token's Assignment
      • How-To: Assign Token to Model
      • How-To: See List of Tokens
    • Resource Management
      • How-To: Start Worker
      • How-To: Stop Worker
      • How-To: Monitor Worker Performance
    • Secure Query Processing
      • How To: Upload Evaluation Key
      • How-To: Encrypt Input Message
      • How To: Execute Query
      • How-To: Decrypt Output Data
      • How-To: Encrypt, Execute, and Decrypt in One Step
    • Account and Finance Operations
      • How-To: View Payment Transaction History
      • How-To: Update Account Information
      • How-To: View Credit Balance and Add Credit to Your Account
      • How-To: Monitor Balance and Usage
  • Demo Tutorials
    • Image Sharpening with LatticaAI Demo Tutorial
    • Sentiment Analysis with LatticaAI Demo Tutorial
    • Health Analysis with LatticaAI Demo Tutorial
    • Digit Recognition with LatticaAI Demo Tutorial
    • Zooming Into Each Step of Demo Run with LatticaAI flow
Powered by GitBook
On this page

Was this helpful?

  1. How-To Guides
  2. Model Lifecycle

How-To: Modify AI Model Settings

Our system's models have configurable parameters that control their behavior. You can modify these after deploying your model.

Each model has two types of parameters:

There are parameters you can change and parameters you can only view. The system sets some parameters to default values:

Updatable Parameters:

Name
Description
Is this information accessible to end-users or it is restricted to system providers only
Allowed Values

Name

Define model name. It should be unique.

End-user can see the inf

Any non-empty string

Status

Set the model as Active (default) or Canceled.

End-user can see the inf

ACTIVE, INACTIVE, UPLOADED

Description

A customizable free text field for model details.

The info is restricted to AI providers

Any string, or none at all

Input Type

Define the model’s input type (e.g., picture, audio, text, vector).

The info is restricted to AI providers

TEXT, PICTURE, AUDIO, VECTOR

Output Type

Specify the model’s output type (e.g., picture, audio, text, vector).

The info is restricted to AI providers

TEXT, PICTURE, AUDIO, VECTOR

Model Visibility

Choose between Private (default, restricted access) or Public (accessible via the demo page).

The info is restricted to AI providers

PRIVATE, PUBLIC

Auto Restart

Allowing the model’s worker to restart if it fails automatically. Alternatively, a manual restart can be set. This is set On by default

The info is restricted to AI providers

True, False

View-Only Parameters (for reference only - The info is restricted to AI providers ):

  • Model ID: The unique identifier for the model.

  • Creation Date: The date the model was created.

  • Model Version: Current version number of the model.

  • Average Performance: The average time to process queries on the model.

Model Status Rules

  1. Model status can be in one of three valid values: ACTIVE, INACTIVE, or UPLOADED.

  2. A model that is registered without a plain model file is created with status INACTIVE.

  3. When the first plain file is uploaded, the model status changes to UPLOADED.

  4. A model can only have ACTIVE status if there is a valid homomorphic pipeline model defined in our server.

  5. Users can cancel the model at any time (changing its status to INACTIVE); however,

  6. It is not possible to change the model status when there is a worker active for the model.

  1. Navigate to Model Settings

    • From the main dashboard, locate your AI model, click the three dots button next to it, and select "View More" to access the model parameters page.

  2. Update Parameters

    • Adjust the updatable parameters as needed. You can change the Status, Description, Input/Output Type, Model Visibility, and Auto Restart settings directly in the portal.

  3. Check Plain model file status and upload file when needed.

    • Missing plain model file: A black upload icon appears with a link if you didn't upload during Model Registration.

    • Pending homomorphic pipeline: Model icon shows red when file is uploaded but pipeline isn't built yet.

      You cannot upload a new model file until the pipeline is built. Contact support if you need to replace the model.

    • Complete setup: File icon turns green when homomorphic pipeline is created. You can upload a new plain model file at this stage.

  4. Save Changes

    • After updating the desired parameters, click Save. You’ll receive a confirmation if changes are applied successfully or an error message if an issue occurs.

# Update Model

import LatticaManagement

# Authenticate
lattica = LatticaManagement("your_license_from_lattica_console")

# Register a new model...
model_id = lattica.create_model("model_name")

# update model status and other properties
lattica.update_model(model_id,
	description="Best model ever",
	status="INACTIVE", 
	input_type="PICTURE",
	output_type="TEXT",
	model_visibility="PUBLIC"
  )
  
PreviousHow-To: Deploy AI modelNextAccess Control

Last updated 3 months ago

Was this helpful?