Mistral AI

Mistral AI is an artificial intelligence startup known for its open-source large language models, trained on a massive volume of text data.

This is a step-by-step guide on installing and configuring the Mistral AI plugin for ONLYOFFICE Docs.

Step 1: Add a Mistral AI model

To get started with Mistral AI in ONLYOFFICE, you need to have a valid API key that you can generate in your Mistral account. To do that, please follow these steps:

  1. Create or log into your existing Mistral AI account.
  2. Go to the API keys in the API section on the left panel. Click the link for choosing your subscription plan on the page, or click here.
  3. Choose your subscription plan.
  4. Return to the API keys page.
  5. Click the Create new key button in the upper right corner of the page.
  6. (optional) Enter the key name and the expiration date if necessary.
  7. Click Create.
  8. Your key is displayed in the API keys list and you can manage it.

Now that you have your API key, proceed with installation.

Step 2: Installing the plugin

  1. Follow this guide for general configuration.
  2. Enter your API key and click the Update models list button.
    Mistral AI: update modelsMistral AI: update models
  3. Now that you have connected your AI to the editors, choose one of the available Mistral models.
    Mistral AI: available modelsMistral AI: available models

    The models list depends on your subscription plan and the tasks you are going to perform with the AI assistant. For example, Codestral models are designed for effortless coding, and Pixtral models offer image understanding capabilities in addition to text. Learn more on the Mistral website.

  4. Choose the required model and click OK.

Step 3: Configure the use of the Mistral model

Now that you have successfully added a Mistral AI model, it’s time to define the tasks you are going to perform with this model.

  1. Go to the AI tab and open the Settings menu.
  2. In this menu, you can decide which models will be used for various tasks. You can add various Mistral models and even models from other AI providers.

    The current version of the AI plugin has four options:

    • Ask AI is used to hold conversations with the chatbot;
    • Summarization is used when you need to summarize a large text in a few sentences;
    • Translation allows you to translate text from one language to another;
    • Text analysis is used to analyse words and explore their meaning.
    Mistral AI: AI modelsMistral AI: AI models
  3. Choose the desired models for each option.

Now your Mistral AI plugin is set and ready to go. You can access its functions through the AI tab or by selecting some text and right-clicking it to open the context menu.

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags