Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

1. Description

The component is used to work with a Machine Learning model.

This component is present in flow types like:

  • Chat.

The block (Fig.1(1)) is used in space to build the Flow. The settings panel for this component opens (Fig.1(2)) when you click on the block.

Chat AI.png

1.1. Chat AI block

The block consists of the following elements:

  1. The name of the component;

  2. in branch — receiving (connecting with the previous block) branch;

  3. out branch — outgoing (connecting with the following block) branch.

1.2. Chat AI settings panel

It consists of the following elements:

  1. Set variables;

  2. Connection;

  3. Model name;

  4. Categories;

  5. Response;

  6. Defined category;

  7. History length;

  8. Timeout;

  9. Break;

  10. Limit.

1.2.1. Set variables

It allows assigning an additional variable that can be used later.

It consists of the following:

  1. Key;

  2. Value;

  3. Remove tool;

  4. Add.

1.2.1.1. Key

The name of the variable is entered here.

1.2.1.2. Value

The value of the variable is entered here.

1.2.1.3. Remove tool

It is intended to remove a variable in a row with which it stands — clicking the button removes it.

1.2.1.4. Add

It is designed to add a new variable.

1.2.2. Connection

The connection address of the machine learning model server is entered here. If the address is entered, the connection will be made to it. If not, the value is taken from the system variable.

1.2.3. Model name

The name of the model to be used is entered here.

1.2.4. Categories

The ability to enter a list of data categories based on which the model will analyse Subscriber messages and provide a response.

1.2.5. Response

The name of the variable in which the text of the response received from the model will be written is entered here.

1.2.6 Defined category

The variable name is entered here. This variable will contain the name of the category into which the machine learning model classified the message. The category can be the one with the highest percentage of matches.

1.2.7 History length

The number of recent chat messages that will be sent to the model for analysis is entered here.

1.2.8. Timeout

The timeout for receiving a response from the model is entered here. In seconds.

1.2.9. Break

Responsible for the completion of the flow execution.

image-20241218-162335.png — initiates the end of the flow execution after the given component.

image-20241218-162347.png — the switch is in the off position.

1.2.10. Limit

It is intended to determine the maximum number of passes through this component.

The failover branch appears in the edited component when the limit is set .

The failover branch will be used if more passes are passed through the component than entered in the Max field.

Clicking on the Add Limit button adds a Max field and a Delete limit button.

The number of possible passes is indicated in the Max field.

Clicking on the Delete limit button removes the limit and returns the Add limit button.

Fig. 2. Setting a limit

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.