Model connections

Motific.ai Model connections page enables you to configure model connections.

What is a model connection?

Large language models are the backbone of any generative AI (GenAI) project. Motific.ai provides standardized interfaces that integrate with our approved large language model (LLM) providers.

Initially, models from the following providers are supported:

  • Azure OpenAI models
  • Mistral
  • Amazon Bedrock models

In the model connections page, you can:

Create a new model connection

  1. Navigate to the Model connections page to create a new model connection.

    If you are adding the model connection for the first time then the page is empty, else the previously created model connections are displayed. add model

  2. To add a new model connection, click on the Create a new model connection button.

  3. To start creating a model connection, provide a connection name. add model

  4. Select which LLM provider to connect to and provide the necessary credentials for Motific.ai to connect to it from the drop-down.

    add llm

    To learn how to connect to the LLM provider of your choice and choose a model, select one of the following models:

  5. After configuring the model details, next to test the connection, click the Test connection button.

  6. Once the connection is tested successfully, click the Add connection button.

Amazon web services Bedrock

AWS Bedrock provides a suite of purpose-built foundational machine learning (ML) models designed by AWS to address common business use cases. Motific.ai supports the models provided by AWS bedrock and you can connect to them in the Motific.ai model connections page.

You need to provide the AWS IAM access key and secret key that is necessary for motific to connect with the provider. Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE) and a secret access key (for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). You must use both the access key ID and secret access key together to authenticate your requests.

Follow the steps below to configure the AWS bedrock models in Motific.ai:

  • To connect to an AWS bedrock model, provide Access key and Secret key. Both the credentials are required by Motific.ai to connect to the AWS Bedrock provider. The access key and secret key can be found on your AWS IAM portal.

    add model

  • To add a model and respective access URL, click the Add model button. A pop-up screen opens.

  • Next, choose models for this AWS Bedrock connection can have access to.

    add model

  • Select a model from the drop-down list.

    add model

  • Enter the Access URL for your Bedrock model. This can be found on your AWS Bedrock dashboard. For example: https://bedrock.us-east-1.amazonaws.com

  • To add the model, click Add model.

  • Now select the model(s) of your choice for creating the Motific.ai model connection.

Mistral

Mistral models are cutting-edge machine learning models, known for their state-of-the-art performance in natural language processing tasks. Motific.ai can connect to the Mistral models to connect your AI assistants. The following models are available for you to choose from- Mistral small, Mistral medium, Mistral large.

You need to provide an API key to connect to the Mistral models.

Follow the steps below to configure the Mistral models in Motific.ai:

  • To connect to a Mistral model, provide the API key. You can find your API key under the ‘Platform’ > ‘API Keys’ section in your Mistral account.

    add model

  • The models are displayed so that you can choose which models the connection will have access to.

  • Select a model and test the connection.

Azure OpenAI

Azure OpenAI models offer a suite of powerful language AI capabilities. These models enable developers to integrate advanced natural language processing and generation into their applications. To connect to these models, you can use the Azure OpenAI service by obtaining API access through the Azure portal, where they can authenticate with Azure credentials and send requests to the OpenAI endpoints. This integration allows for seamless utilization of state-of-the-art AI models within the secure and scalable Azure cloud environment, providing businesses with access to cutting-edge AI tools for a wide range of applications.

Follow the steps below to configure the Azure OpenAI models in Motific.ai:

  • Provide API key to connect to the Azure OpenAI models.

  • Follow the steps below to add the deployments and choose that models will have access to the Azure OpenAI connection:

  • To add a deployment, click the Add deployment button.

    alt text

  • Select a model from the drop-down list.

    alt text

  • Enter the deployment URL for your Azure OpenAI model.

  • To add the deployment, click Add deployment.

Update a model connection

The model connections that you created can be viewed in the model connections page, you can see the existing model connections already listed (if any).

  1. To update a model connection, click on the overflow menu (three dots) at the end of the model connection card view or in the Actions column.
  2. Select the Edit option. Or alternatively click the model connection name.
  3. Here you can view the previously selected model provider details. You cannot change the previously configured LLM provider, but you can choose different models from the Models list.
  4. Here you can view the previously configured connection name.
    • Edit connection name- Click on the Edit button to edit a connection name.
    • Once you are done editing the name, click the Save button.
  5. The models or deployments are displayed based on the LLM provider selected.
    • Edit model/deployment- Click on the Edit button to edit the models/deployments.
    • You can select or unselect the models/deployments from the list or add other deployments. Click the Save button to save the updates.

Delete a model connection

  1. To delete model connection, click on the overflow menu (three dots) at the end of the model connection card view or in the Actions column.

  2. Select the Delete option. 1.A confirmation screen warns you that deleting a model connection is irreversible and asks you to type in the word DELETE in the field provided for confirmation. The word should match the word presented for the delete button to be active.

  3. To delete a model connection, click Delete. Once you delete a model connection you cannot view it in the list or grid view.