Skip to main content
Version: 9.4

Set Up Qrvey AI Sidekick

Qrvey Sidekick is an AI-powered conversational interface that enables users to interact with their data using natural language. As a Qrvey Administrator, you can configure and manage this AI assistant from the Admin Center. Developers can then embed the Sidekick directly into their applications.

Before You Begin

JWT authentication is required for all Qrvey Sidekick integrations.

Connect to an AI Provider

Administrators can enable and configure the Qrvey Sidekick from the Admin Center.

  1. From the Admin Center, go to Customization > Features and open the AI tab.

    AI tab

  2. Expand the Connection & Provider panel.

    AI Connection panel

  3. Select an AI provider from the dropdown.

  4. Add the credentials and connection information for your provider:

    FieldRequiredTaskExample / Format
    OpenAI
    API KeyYesPaste the secret key you copied from the OpenAI dashboard.sk-proj-xxxxxxxxxxxx
    ModelNoGPT model to use for AI features. Common models include:
    - gpt-4o - Most capable multimodal model (recommended)
    - gpt-4o-mini - Faster and more cost-effective
    - gpt-4-turbo - High capability with large context
    - gpt-3.5-turbo - Lightweight and economical

    Leave blank to use the platform default.
    gpt-4o
    Azure OpenAI
    API KeyYesOne of the two API keys from the Azure portal (Keys and Endpoint section).a1b2c3d4e5f6...
    Endpoint URLYesEndpoint URL from the Azure portal. Include the full URL with https://.https://my-resource.openai.azure.com/
    Azure Model IDNoDeployment Name you set when deploying the model. Leave blank to use the platform default.my-gpt4o
    API VersionYesAzure OpenAI REST API version. The platform pre-fills a tested default.2023-12-01-preview
    Claude in Amazon Bedrock
    Access Key IDYesAWS IAM access key ID for programmatic access.AKIAIOSFODNN7EXAMPLE
    Secret Access KeyYesAWS IAM secret access key paired with the access key ID.wJalrXUtnFEMI/K7MDENG...
    AWS RegionYesAWS region where Bedrock and the Claude model are available.us-east-1
    Model IDNoBedrock model identifier for the Claude version to use. To use the platform default, leave this field blank.anthropic.claude-3-5-sonnet-20241022-v2:0
  5. Select Test Connection to validate Qrvey's connection to the model.

  6. After you have validated the connection, save your changes.

A set of built-in AI agents is available by default. You can create more agents within Sidekick.

Troubleshooting

The following sections describe common issues encountered when creating a connection to an AI provider.

OpenAI

IssueResolution
Incorrect API KeyVerify there are no leading or trailing spaces when pasting.
Quota exceededAdd billing credits.
Model not foundVerify the model name is spelled correctly and your account has access.

AzureOpenAI

IssueResolution
401 UnauthorizedAPI Key is incorrect. Verify it matches KEY 1 or KEY 2 from the portal.
404 Not FoundCheck the Endpoint URL and ensure the Model Deployment exists.
DeploymentNotFoundAzure Model ID doesn't match any deployment. Check exact capitalization.
API Version errorIf you receive a version-related error, update the API Version field to the latest in the Azure OpenAI in Microsoft Foundry Models REST API reference.

Claude in Amazon Bedrock

IssueResolution
AccessDeniedExceptionThe IAM user does not have bedrock:InvokeModel permission, or model access was not approved.
UnrecognizedClientExceptionThe access key ID or secret access key is incorrect.
ValidationExceptionInvalid Model ID format. Copy it from the Bedrock console.
Region mismatchVerify the selected AWS Region matches the region where you enabled model access.

Manage AI Agents

When your AI provider has been connected, the following AI agents are available (default: disabled). They use Qrvey's MCP server.

  • Qrvey Smart Analyzer
  • Qrvey Analytics Assistant
  • Qrvey AI Chart Builder

Manage agent

While you cannot edit the configuration settings for these built-in agents, you can change their names and descriptions. You can use the options menu to duplicate an existing agent and edit its settings. However, the keyword Qrvey is reserved for built-in agents and cannot be used during customization.

Create an AI Agent

You can create additional agents to incorporate business- or industry-specific criteria.

  1. From the AI tab, expand the Manage AI Agents panel.

  2. Select New Agent to open a modal.

    New agent

  3. Add a name (system ID), display name, and description in the fields provided.

  4. In the Instructions field, add long-form prompts to help the agent generate its responses. These prompts can capture goals, scope, and constraints.

  5. In the Behavior field, add prompts to capture tone and persona when the agent generates its responses.

  6. In the Suggested Prompts field, add prompts to provide suggestions to users when interacting with the agent.

  7. In the Tool access section, select one or more capabilities used by this agent.

  8. Select Create Agent to save the configuration.

If you create multiple agents, you can drag and drop them within the Manage AI Agents panel to change their display order when a user opens the Qrvey Sidekick.

Add Business-Level Instructions

Business-level instructions provide additional context to Qrvey's Sidekick's system-level instructions, improving the accuracy and relevance of AI responses for specific customers.

  1. From the AI tab, expand the Additional Instructions for AI (Optional) panel.

    Additional instructions

  2. Add any custom instructions in the Instructions field. Such instructions include the following:

    • Define business-specific terminology. These instructions are always applied when present.
    • Specify preferred aggregation methods (agent level). These instructions are applied only when using the agent.
    • Provide context about the data source (entity level). These instructions are applied when the entity is used in any context.

Additional References