Index pipeline stage configuration specifications
Configure the LWAI Prediction index Stage
PUT,POST,GET:/LWAI-ACCOUNT-NAME/**
permission in Fusion, which is the Lucidworks AI API Account Name defined in Lucidworks AI Gateway when this stage is configured.To configure this stage:PUT,POST,GET:/LWAI-ACCOUNT-NAME/**
Your Fusion account name must match the name of the account that you selected in the Account Name dropdown.For more information about models, see:{destination name}_t
is the full response.
_lw_ai_properties_ss
contains the Lucidworks account, boolean setting for async, use case, input for the call, and the collection.
_lw_ai_request_count
is the number of GET requests by predictionId
and _lw_ai_success_count
is the number of responses without errors. These two fields are used for debugging only. Based on the deployment, the most useful measure is the ratio of _lw_ai_success_count
divided by `_lw_ai_request_count and then adjusting as much as possible to achieve 1.0.
enriched_ss
contains the use case. This can be used as a boolean value to verify if the use case indexed successfully.
{destination name}_t
is the full response._lw_ai_{use case}_t
is the response.response
object, which is the raw model output.
_lw_ai_{use case}_response_s
is the full response.
useCaseConfig
parameter is only applicable to certain use cases.useCaseConfig
information for each applicable use case is described in Async Prediction API.useCaseConfig
information for each applicable use case is described in Prediction API.modelConfig
parameters are common to generative AI use cases.modelConfig
information is described in Async Prediction API.modelConfig
information is described in Prediction API."apiKey"
is the value in the model’s "[OPENAI_API_KEY]"
field. For more information, see Authentication API keys.
"apiKey"
is the value generated by Azure in either the model’s "[KEY1 or KEY2]"
field. For requirements to use Azure models, see Generative AI models.
"apiKey"
is the value in the model’s
"[BASE64_ENCODED_GOOGLE_SERVICE_ACCOUNT_KEY]"
field. For more information, see Create and delete Google service account keys.
Apache Tika
stage from your parser because it can cause datasource failures with the following error: “The following components failed: [class com.lucidworks.connectors.service.components.job.processor.DefaultDataProcessor : Only Tika Container parser can support Async Parsing.]”Solr Indexer
stage with the Solr Partial Update Indexer
stage with the following settings:
Enable Concurrency Control
set to offReject Update if Solr Document is not Present
set to offProcess All Pipeline Doc Fields
set to onAllow reserved fields
set to onUpdate Type
, Field Name
& Value
in Updates
Call Asynchronously?
field is selected, which specifies this stage uses the Lucidworks AI Async Prediction API endpoints.
If the Fusion Call Asynchronously?
field is not selected, this stage uses the LWAI Prediction API endpoints.
To use this stage, non-admin Fusion users must be granted the PUT,POST,GET:/LWAI-ACCOUNT-NAME/**
permission in Fusion, which is the Lucidworks AI API Account Name defined in Lucidworks AI Gateway when this stage is configured.
\t
for the tab character. When entering configuration values in the API, use escaped characters, such as \\t
for the tab character.