5 min readUpdated Mar 2, 2026

IntuidyAiSettings

Overview

The IntuidyAiSettings component is designed for the selection and configuration of AI providers within the Vantage analytics platform. It allows users to choose their preferred AI provider, manage API keys, and select specific models for AI-driven features such as insights and summaries. The component manages its state based on data passed from the parent component, hence it is categorized as a controlled component.

Purpose

The primary purpose of the IntuidyAiSettings component is to facilitate integration with various AI providers, enabling users to enhance their analytical capabilities. By configuring their AI preferences, users can unlock various functionalities and improve the overall user experience with intelligent assistance.

Settings

The following sections detail each setting that the IntuidyAiSettings component accepts, including its name, input type, functionality, and default values.

1. providers

2. loading

3. error

4. selectedProvider

5. selectedModel

6. onProviderChange

7. onModelChange

8. hideIntroText

Use Cases & Examples

Use Cases

  1. AI Provider Configuration for Enhanced Data Insights: A business wants to integrate an AI provider such as OpenAI to interpret and summarize their data analytics dashboards automatically.

  2. Custom Model Deployment: A data science team is using a custom-trained model on the Claude platform and wants to connect it with the Vantage analytics platform to utilize specialized predictions.

  3. Multiple Model Management: An analytics team is using various AI providers simultaneously to leverage different strengths across platforms for comprehensive insights.

Example Configuration

Use Case: AI Provider Configuration for Enhanced Data Insights

Assume a business wants to leverage the OpenAI provider for automating insights. Below is a sample configuration for how the IntuidyAiSettings could be initialized by the parent component.

javascript
const aiProviders = [
    {
        key: 'openai',
        name: 'OpenAI',
        description: 'Generative AI for text insights.',
        connected: true,
        serviceId: 'service-001',
        defaultModel: 'gpt-4',
        models: [
            { id: 'gpt-3.5' },
            { id: 'gpt-4' },
        ],
    },
    {
        key: 'claude',
        name: 'Claude',
        description: 'Powerful AI by Anthropic.',
        connected: false,
        serviceId: 'service-002',
        models: [],
    },
    // Additional providers...
];

// Example of how to use IntuidyAiSettings
<IntuidyAiSettings
    providers={aiProviders}
    loading={false}
    error={null}
    selectedProvider='openai'
    selectedModel='gpt-4'
    onProviderChange={(providerKey, defaultModelId) => console.log(`Provider changed to: ${providerKey}. Default model: ${defaultModelId}`)}
    onModelChange={(modelId) => console.log(`Model changed to: ${modelId}`)}
    hideIntroText={false}
/>

In the above configuration, the user has connected to the OpenAI provider and selected the gpt-4 model, ready to activate insights based on their data analytics.

Conclusion

The IntuidyAiSettings component plays a pivotal role within the Vantage analytics platform, giving users control over AI integrations and model selections to enhance their data-driven decision-making processes. By understanding the various settings and their implications, users can effectively tailor their AI experiences to fit their specific requirements.