OpenAI

Configure OpenAI as an LLM provider for AI GO! evaluations.

CLI

CLI integrations allow automating your assessment pipelines and triggering CI/CD jobs via the LatticeFlow CLI.

Step 1: Configure the integration

Register OpenAI once by supplying your API key.

lf integration add --provider openai --api-key $OPENAI_API_KEY

Step 2: Use in an evaluation

Reference the model in your evaluation config.

For a list of models, please refer to the list of OpenAI models and use openai/<model_key.

models:
  - $provider: "openai/gpt-4o"

Web UI (Global Provider)

You can integrate a global provider by supplying the API key once, then creating individual models.

Step 1: Navigate to Integration Settings

Open the LatticeFlow platform and go to Settings > Integrations.

Navigate to Settings, Integrations

Step 2: Select OpenAI Provider

From the list of available providers, select OpenAI.

Select the OpenAI provider

Step 3: Add your API Key

Paste your OpenAI API key into the field and save.

Add your OpenAI API key

Step 4: Test the Integration

Run a connection test to confirm the key works.

Test the OpenAI integration

Step 5: Navigate to AI System > Evaluate > Models

Open the AI System you are assessing, navigate to the models section, and select the model to add.

Add new OpenAI model

The model now appears in the list of available models to use.

See integrated models

Web UI (Single Model)

You can also add individual models and customize them if needed from the AI System > Evaluate > Models page.

Step 1: Create new Custom Model Integration

From the Models page, create a new custom model integration.

Create new custom model integration

Step 2: Fill in Basic Information

Assign the name and key used to refer to this model within the LatticeFlow platform.

Fill in basic information

Step 3: Fill in Connection Information

For an OpenAI model, the key fields are:

Fill in connection information

Step 4: Test the Connection

Click Create Model, select Test Connection in the top right, and click Run.

Test connection