Configure the LWAI Prediction query 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:signals
or access_control
.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_{use case}_t
is the response.response
object, which is the raw model output.
_lw_ai_{use case}_response_s
is the full response.
body
and source
fields are required.
body
- description_t
is the contents of the document.source
- link_t
is the URL/ID of the document.title
and date
fields are optional.
title
- title_t
is the title of the document.date
- _lw_file_modified_tdt
is the creation date of the document in epoch time format.useCaseConfig
parameter is only applicable to certain use cases. For more information, see the Async Prediction API and the Prediction API.
memoryUuid
parameter is required in the Standalone Query Rewriter use case, and is optional in the RAG use case.
For more information, see Prediction API.
modelConfig
parameters are common to generative AI use cases. For more information, see 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.
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.