DEV Community

Cover image for 🚀 qModel Algorithm Model Platform Open-Source Edition v1.4.3 is now released.
TongWu
TongWu

Posted on

🚀 qModel Algorithm Model Platform Open-Source Edition v1.4.3 is now released.

This version focuses on the configuration and understanding stages of model invocation. By reusing API input parameter definitions and adding output structure descriptions, it further improves the model usage experience, making parameter configuration more standardized and returned results easier to understand.

  1. Models need to be “connected” and also “easy to use” — experience gaps in the usage stage are emerging

In enterprises advancing algorithm applications, connecting a model to the platform is only the first step. Whether business users can correctly invoke the model, and whether system integration personnel and business analysts can understand returned results, also affects the practical use of algorithm capabilities.

As qModel continues to improve the chain from model onboarding to external services, model users are no longer limited to algorithm engineers. Business analysts may need to view model calculation results, system integration personnel need to invoke models based on interface parameters, and other users may complete related operations through calculation tasks or online debugging.

Different roles have different platform usage needs. Developers can understand interface definitions and JSON structures, but for those not directly involved in model development, how to fill in input parameters and what returned fields mean often requires additional documentation or confirmation from developers.

These issues mainly occur in two stages of invocation.

Input stage: parameter definitions exist, but users still need to fill them in repeatedly.

A model may require more than a dozen or even dozens of input parameters. If every calculation task creation or online test requires copying and filling in items one by one against interface documentation, the operation is not only cumbersome but also prone to affecting invocation due to inaccurate parameter names.

From a technical perspective, existing input parameter definitions (inputSchema) of a model or interface have not been fully transformed into configuration content that can be directly used on the usage side. Repetitive operations remain between parameter definitions and actual filling.

Output stage: the interface returns results, but field meanings are not intuitive enough.

Models connected through APIs may return JSON data containing multiple fields, possibly with nested structures. Without field-level descriptions, users need to consult interface documentation or code to confirm the business meaning of each field. For example, what code, data and msg in the returned result represent, and what name, key and value under data correspond to, all require clear explanations for accurate understanding.

The problem in these two stages is not that models cannot be invoked, but that information before and after invocation is not yet easy to use. qModel v1.4.3 therefore focuses optimization on reusing input parameters and explaining output structures.

  1. API input parameter retrieval: no more manual entry

For model interfaces that need to be invoked repeatedly, maintaining a separate set of parameter information for each usage scenario easily leads to duplicate work and is not conducive to unified parameter definition management.

qModel v1.4.3 adds an API access function under the “Data Management” module, unifying the management of data interface registration information and input parameter definitions. Scenarios such as calculation tasks and model online debugging can obtain corresponding parameter forms by selecting a registered API, without manually entering parameter names, types and descriptions item by item.

This capability mainly applies to creating new calculation tasks and online testing in model details.

Turning interface definitions into reusable parameter configurations

In actual use, users can first register the interface name, request address, request method and usage description on the “Data Management → API Access” page, and enter the corresponding parameter definitions. After registration, this parameter definition can serve as a parameter source for different usage scenarios.

When creating a calculation task, users can enter the “Data Binding” area; when performing online debugging in model details, they can also operate on the corresponding page. Click “Select API”, search and select the required interface from the pop-up window, and complete the binding.

After binding, the platform reads the registered input parameter definitions of that API and parses them to generate a parameter table. Information such as parameter names, whether required, parameter types and descriptions is automatically populated by the system, and users mainly fill in the corresponding parameter values to initiate calculation.

This approach transforms parameter definitions that previously required manual reference and copying into form information that can be directly filled in on the usage side.

The platform also handles parameter status when API binding relationships change: after canceling API binding, the system automatically clears and resets parameters to avoid residual parameters from the previous selection affecting the current calculation.

Practical significance for enterprise model usage processes

The focus of this adjustment is to transform parameter definitions from simple interface information into configuration references that can be reused in different scenarios. For models with many input parameters, users no longer need to consult documentation and enter items one by one each time; parameter names, types and descriptions are uniformly populated by the system, which also helps reduce errors caused by manual entry.

For teams that need to reuse the same interface in calculation tasks and online debugging, unified maintenance of parameter definitions can reduce repetitive configuration. When interface parameter definitions change, they can also be maintained in API access management, reducing the burden of repeated modifications in multiple places.

It should be noted that the platform automatically obtains already registered parameter definitions. Users still need to fill in parameter values according to actual business scenarios and confirm that input content meets invocation requirements. This function mainly improves the parameter configuration process and does not mean that all model invocations can skip parameter preparation and business validation.

  1. Output definition descriptions: making model results understandable

Input parameters address how a model is invoked, while output structure determines whether users can correctly understand returned content after invocation.

For API-connected models, if returned results only present raw JSON, even if the interface invocation succeeds, business users may not be able to directly determine the meaning of each field. Especially with multi-level nested structures, understanding based only on field names can increase communication and troubleshooting costs.

To address this, qModel v1.4.3 adds output structure definition (outputSchema) capability, allowing output field information to be maintained in table form under “Result Definition” in model configuration.

From field values to field meanings: supplementing result descriptions

Output definitions support maintaining field names, example values and usage descriptions. Taking the fields mentioned in the original text as an example: code represents the return status code; data represents the return data structure; data.name is the indicator name; data.key is the indicator key; data.value is the indicator value; msg is the request response message.

For nested structures, the platform supports layer-by-layer expansion of definitions, enabling users to view corresponding information by field hierarchy rather than facing a piece of JSON data lacking explanation.

Comparing results during online debugging

Output definitions are not only used for model configuration but are also displayed synchronously on the online debugging page. The left side of the debugging page displays execution results and logs, while the right side displays the result definition table. Users can view actual returned content while comparing field names and usage descriptions to understand information in the returned structure.

This approach helps business users understand output fields without directly reading code, and provides a clearer basis for information transfer between model providers and users. For example, when business users need to confirm what a returned field represents, they can first check the result definition instead of asking developers each time. When invocation issues occur, field descriptions can also serve as a reference for understanding returned content, reducing communication caused by unclear field meanings.

It is important to distinguish that output definition descriptions explain field structures and their purposes. They do not automatically change model calculation results, nor can they replace judgment on the correctness and business meaning of returned data.

  1. Upgrade notes and precautions

In addition to functional updates, this version also involves adjustments to database scripts, menu permissions and request method dictionary display.

Users who have already deployed qModel Open-Source Edition should pay attention to the following when upgrading to v1.4.3.

Database scripts

v1.4.3 provides complete database initialization and upgrade scripts, located in the sql/mysql directory of the project. For new environments, use the v1.4.3 initialization .sql file. For existing environments, execute the upgrade script corresponding to the version. Before execution, confirm the version of the current environment and select the matching script to avoid mixing initialization scripts with existing upgrade scripts.

Menu permission refresh

This update adds table structures and menu permissions related to Data Management (API Access). After the upgrade is complete, users need to log in again to refresh menu display.

Dictionary display adjustment

The HTTP request method dictionary is now displayed in uppercase: GET, POST, PUT, DELETE. This adjustment only affects display format; underlying data encoding remains unchanged and does not affect existing configurations.

Suggestions for existing models

For models already connected through APIs, it is recommended to supplement and improve output definition descriptions. After completing the corresponding configuration, users can use the newly added result definition capability to view and understand the meaning of model return fields.

  1. Making algorithm model usage more convenient

From actual enterprise usage scenarios, completing model registration and enabling external services does not mean all issues in the usage process are resolved. How parameter definitions are reused and how invocation results are understood are also stages to consider when model capabilities move toward business applications.

qModel Algorithm Model Platform Open-Source Edition v1.4.3 makes targeted improvements around these two stages:

On the input side, API access management and automatic parameter retrieval reduce repetitive entry and allow parameter definitions to be reused in scenarios such as calculation tasks and online debugging.

On the output side, the new output structure definition supplements field names, example values and usage descriptions to help different roles understand model return content.

This update does not change the business logic of model invocation itself, but further improves configuration and information descriptions before and after invocation. For enterprises that require algorithm teams, business users and system integration personnel to jointly participate in model applications, clearer parameter definitions and output descriptions help reduce repetitive communication and make the model usage process smoother.

Going forward, qModel will continue to refine the product experience across the full chain of “development, deployment, invocation and understanding,” and continue to advance the application of algorithm capabilities in actual business.

AlgorithmPlatform #ModelInvocation #APIIntegration #OutputSchema #OpenSource #qModel

Top comments (0)