Including a Large Language Model in Your Pipeline

The Prompt LLM component allows you to use a large language model on the 3DEXPERIENCE platform to generate text based on input prompts.

Important:
  • Configuration by an administrator is required before you can use this component. See Configuring the API Gateway.
  • The supported versions of the Mistral model used by the component may be updated in new versions of Pipeline Creator. For information about the updated version, see What's New.
  • To access certain templates, you must have the appropriate roles. For more information, see Available Templates.
  • Virtual Companions and Generative Experiences leverage artificial intelligence (AI) technology. You should ensure prior validation of any output created using these solutions before use in production and especially in business-critical systems. Always follow your organization's best practices and data policies when using it. For more information, see https://www.3ds.com/trust/ai.

This task shows you how to:

Start a Pipeline

  1. From the Pipeline Creator home page, click New.
  2. From the Create new pipeline from template dialog, add a Title, and then choose one of the following templates:
    • Build Dataset
    • Virtual Advisor
  3. Click Create.
  4. From the top level of the pipeline, select the Initialize Connections component.
  5. Specify the Initialize for Prompt LLM parameter to be true.
  6. Start building your pipeline. For more information, see Creating a Pipeline Overview.
  7. From the Catalog panel, locate the Prompt LLM component and add it to your pipeline.

Configure the Prompt LLM Component

  1. Select the component in your pipeline.
  2. From the Parameters panel, configure the following Completions values:
    ParameterDescription
    System Prompt The system prompt, which specifies the behavior required from the large language model.
    Temperature A higher temperature setting leads to more diverse and creative text generation. A lower temperature results in more predictable and deterministic outputs.
    Max Tokens Maximum number of tokens that the LLM can return.
    Top P A lower p value (for example, 0.2) results in more focused and predictable outputs by limiting the model to the most probable predictions. A higher p value (for example, 0.9) allows more diversity and creativity by including less probable predictions.
  3. Configure the following Input values:
    ParameterDescription
    Input Choose how the input is sent to the large language model.
    • Prompt: Send the text specified in the Your Prompt parameter.
    • Data Property: Send the property specified in the Property parameter.
    Your Prompt Text to send as input to the large language model.
    Property Name of the property to send as input to the large language model.