- Available 24/7 for inquiries from customers all over the world and respond with accurate, standardized information tailored to those customer queries.
- Handle high volumes of customer inquiries, which lessens wait times for customers who choose to call and reduces the number of live customer interactions. These factors allow your personnel to resolve more complex customer issues, which in turn, helps shorten the timeframe to complete purchase transactions or obtain the information your organization provides.
Agent configuration overview
Agent Studio is hosted on Lucidworks Platform and is easily configured and implemented. You create an agent by choosing from a library of prebuilt agents, and then select from a list of generative AI models, industry options, and datasources, all hosted in the cloud. Then, you complete the implementation by placing a small script and HTML markup on your site, based on when you want the virtual agent to load.Library of available agents
The following is a list of available agent types you can select to create custom virtual agents.- Product Q&A: Generates frequently asked questions to simplify and enhance user understanding of documents or products.
- Conversational Q&A: Assesses natural language user queries for a product and generates accurate, real-time answers grounded in that product’s own documentation, such as datasheets, manuals, specifications, and other supporting PDF technical content.
- Conversational Q&A FAQ: Provides the same functions as the conversational Q&A agent, but also generates a series of frequently asked questions.
Agent use cases and configuration
This section provides detailed information about each agent type. For a video walkthrough of the setup steps for a new agent, click Get Started below.Product Q&A agent
Based on your industry, the Agent Studio Product Q&A agent generates an interactive question and answer solution that provides information from your website about products you offer or information your organization provides.Use case examples
Use case examples
- B2B
- B2C
Set up the agent datasource
Set up the agent datasource
product_id must be unique. JSONL lines are not separated by commas. Enter multiple PDF files as an array of strings. If a document does not have an associated PDF file, a blank PDF file is accepted.Create the agent
Create the agent
-
From the Agent Studio screen, select Agents and click + Create New.

-
Enter a descriptive Name for the agent, select an agent type, and then click Next.

- From the Industry Domain list, select the industry that best matches your business.
- In the Tasks field, select the AI model to execute for that agent. The recommended model is selected by default because it is deemed to be the most relevant based on the industry selection, but you can select a different model. Click Next.
- On the Select a data connector screen, click the connector and then click Next. For example, select GCS Bucket.
-
On the Configure GCS bucket to import data screen, fill out all required fields.

- In the Name field, enter the name of your datasource as you want it to display in Lucidworks Platform.
- In the Processing Region field, select the region for Lucidworks to process your data. This is not necessarily the region you created your GCS bucket in. The default value is
us-southcarolina. - In the Bucket Name field, enter the name of your GCS bucket as it displays in GCS.
- In the Service Account JSON Key field, enter your Google Cloud Platform (GCP) key in JSON format to allow access to your GCS bucket.
- Click Verify Connection to verify the connection to the GCS bucket.
-
When you’ve successfully created the agent, select Get Agent Code to implement the agent. Click Exit and verify the agent displays on the Agents screen of Agent Studio.

Conversational Q&A agent
The Agent Studio Conversational Q&A agent is an AI-powered chat agent that lives on your organization’s product detail pages. Customers can ask natural-language questions about a product, and the agent responds with accurate, real-time answers grounded in that product’s own documentation, such as datasheets, manuals, specifications, and other supporting PDF technical content.Use case examples
Use case examples
- B2B
- B2C
- Knowledge management
Set up the agent datasource
Set up the agent datasource
product_id must be unique. JSONL lines are not separated by commas. Enter multiple PDF files as an array of strings. If a document does not have an associated PDF file, a blank PDF file is accepted.Create the agent
Create the agent
-
From the Agent Studio screen, select Agents and click + Create New.

-
Enter a descriptive Name for the agent, select an agent type, and then click Next.

- From the Industry Domain list, select the industry that best matches your business.
- In the Tasks field, select the AI model to execute for that agent. The recommended model is selected by default because it is deemed to be the most relevant based on the industry selection, but you can select a different model. Click Next.
- On the Select a data connector screen, click the connector and then click Next. For example, select GCS Bucket.
-
On the Configure GCS bucket to import data screen, fill out all required fields.

- In the Name field, enter the name of your datasource as you want it to display in Lucidworks Platform.
- In the Processing Region field, select the region for Lucidworks to process your data. This is not necessarily the region you created your GCS bucket in. The default value is
us-southcarolina. - In the Bucket Name field, enter the name of your GCS bucket as it displays in GCS.
- In the Service Account JSON Key field, enter your Google Cloud Platform (GCP) key in JSON format to allow access to your GCS bucket.
- Click Verify Connection to verify the connection to the GCS bucket.
-
When you’ve successfully created the agent, select Get Agent Code to implement the agent. Click Exit and verify the agent displays on the Agents screen of Agent Studio.

Conversational Q&A FAQ agent
The Agent Studio Conversational Q&A FAQ agent provides the following information:- Answers to initial and follow-up user queries. The agent assesses user queries and then analyzes product information, specifications, and other documents on your site to generate standardized, accurate, content-based answers. If the user enters additional questions, the agent continues the conversation and responds based on your site’s information.
- Frequently asked questions. The agent generates a series of frequently asked questions that the current user is most likely to ask. This gives the user more information about their query, which can help minimize customer support calls and product returns.
Use case examples
Use case examples
- B2B
- B2C
- Knowledge management
Set up the agent datasource
Set up the agent datasource
product_id must be unique. JSONL lines are not separated by commas. Enter multiple PDF files as an array of strings. If a document does not have an associated PDF file, a blank PDF file is accepted.Create the agent
Create the agent
-
From the Agent Studio screen, select Agents and click + Create New.

-
Enter a descriptive Name for the agent, select an agent type, and then click Next.

-
From the Industry Domain list, select the industry that best matches your business.

-
In the Tasks field, select the AI model to execute for the Q&A Generation (FAQ) feature of the agent. The recommended model is selected by default because it is deemed to be the most relevant based on the industry selection, but you can select a different model.

- In the Tasks field, select the AI model to execute for the Conversation Generation (conversational Q&A) feature of the agent. The recommended model is selected by default because it is deemed to be the most relevant based on the industry selection, but you can select a different model. Click Next.
- On the Select a data connector screen, click the connector and then click Next. For example, select GCS Bucket.
-
On the Configure GCS bucket to import data screen, fill out all required fields.

- In the Name field, enter the name of your datasource as you want it to display in Lucidworks Platform.
- In the Processing Region field, select the region for Lucidworks to process your data. This is not necessarily the region you created your GCS bucket in. The default value is
us-southcarolina. - In the Bucket Name field, enter the name of your GCS bucket as it displays in GCS.
- In the Service Account JSON Key field, enter your Google Cloud Platform (GCP) key in JSON format to allow access to your GCS bucket.
- Click Verify Connection to verify the connection to the GCS bucket.
-
When you’ve successfully created the agent, select Get Agent Code to implement the agent. Click Exit and verify the agent displays on the Agents screen of Agent Studio.

Agent Studio agent implementation
- Where you place the script and HTML snippet that enables the option to display the virtual agent
- How the virtual agent obtains the product ID so it provides accurate information
Options to obtain the script
Options to obtain the script
-
Navigate to Agent Studio, click Agents, and then click the agent you want to implement.

-
In the Agent Details section, scroll to the Agent Code section, and in the Add the Script Tag area, click Copy.

-
Paste the script into the
<head>or<body>section of your website’s HTML code.
<head> or <body> of your HTML. The location of the script determines when it will load. For best performance, place the script in the <head> of your website’s HTML. If you place the script in the <head> of your website’s HTML, the script loads before your entire HTML page body loads, along with any other scripts your <head> may contain. The agent still only displays on the individual pages where you have also placed the HTML markup snippet in the <body>.The following example shows how to include the script in the <head>. It includes one option for the HTML snippet to obtain the product ID, which is described in options to obtain the product ID:<body> of your website’s HTML. If you place the script in the <body> of specific pages, the script loads only on the pages that contain the script, but the script loads after all the other scripts in your <head>. Even in this case, the agent only displays if you have also placed the HTML markup snippet on that page’s <body>. However, the order that you place the script and HTML markup snippet relative to other items on your page can affect the order in which other page elements load. For this reason, this placement is not the recommended one.The following example shows how to include the script in the <body>. It includes one option for the HTML snippet to obtain the product ID, which is described in options to obtain the product ID:<lw-template> HTML snippet must be present in the <body> of a page in order for the agent to display.Options to obtain the product ID
Options to obtain the product ID
<body> of your webpage. There are three ways the agents obtain the product ID.Implement agent using Automatic Extraction through a URL query parameter
Implement agent using Automatic Extraction through a URL query parameter
<head> or <body> section:- Scroll to the Add Component Markup section and the in Automatic Extraction area, click Copy to copy the HTML snippet.
- Paste the
<lw-template>HTML snippet in the<body>of every page where you want the virtual agent to display. - In the Specify the Product ID section, enter the URL Query Parameters value for the
product-id. For example, if your URL ishttps://www.example.com/sale?q=solvents&product=1234and your product ID is 1234, enterproduct. - Verify the agent displays on the appropriate pages of your website.
- Test the agent again by entering various queries to determine if the agent returns appropriate responses.
Implement agent using Automatic Extraction through a CSS selector
Implement agent using Automatic Extraction through a CSS selector
1234 from your CSS selectors without any additional text, such as product-id: 1234.<head> or <body> section:- Scroll to the Add Component Markup section and the in Automatic Extraction area, click Copy to copy the HTML snippet.
-
Paste the
<lw-template>HTML snippet in the<body>of every page where you want the virtual agent to display. -
In the Specify the Product ID section, enter the CSS Selector elements of the CSS rule that contains the
product_id. The following example uses.product .product-name @data-valuethat extracts a product ID of 1234. - Verify the agent displays on the appropriate pages of your website.
- Test the agent again by entering various queries to determine if the agent returns appropriate responses.
Implement agent using Markup Attribute
Implement agent using Markup Attribute
<head> or <body> section:- Scroll to the Add Component Markup section and the Markup Attribute area, click Copy to copy the HTML snippet.
-
Paste the
<lw-template>HTML snippet in the<body>of every page where you want the virtual agent to display. The example code sample useshttps://www.example.com/sale/1234andproduct-idin the snippet. If yourproduct-idattribute name is different than what is copied in the snippet, manually change the name of your attribute. - Verify the agent displays on the appropriate pages of your website.
- Test the agent again by entering various queries to determine if the agent returns appropriate responses.
CSS for layout customization
CSS for layout customization
.lw-template properties.Additional agent management tasks
Preview and test an agent
Preview and test an agent

- Agent Information such as name, type, and model for the agent.
- Agent Preview to test the agent to determine if the responses accurately reflect the information on your website.
- Agent Code to embed the agent into your web page.
Edit an agent
Edit an agent
- Navigate to Agent Studio, click Agents, hold the pointer over the agent you want to change, and click the pencil icon.
- Enter the changes to each of the screens, clicking Next to advance to the next screen, and then click Exit at the final screen to save the changes.
- Verify the changes by testing the agent using the steps in the Agent Preview section. If necessary, you can refine the agent until you determine that the returned responses are accurate and optimized.
Delete an agent
Delete an agent
- Navigate to Agent Studio, click Agents, hold the pointer over the agent you want to change, and then click the trash can icon.
- Confirm the deletion and then review the Agents screen and verify that the agent no longer displays.