memoryUuid
into a standalone query.
This use case can only use the memoryUuid
from a previous RAG query or standalone interaction.
For detailed API specifications in Swagger/OpenAPI format, see Platform APIs.
Prerequisites
To use this API, you need:- The unique
APPLICATION_ID
for your Lucidworks AI application. For more information, see credentials to use APIs. - A bearer token generated with a scope value of
machinelearning.predict
. For more information, see Authentication API. - The
USE_CASE
andMODEL_ID
fields for the use case request. The path is:/ai/prediction/USE_CASE/MODEL_ID
. A list of supported models is returned in the Lucidworks AI Use Case API. For more information about supported models, see Generative AI models.
Common parameters and fields
Some parameters in the/ai/async-prediction/USE_CASE/MODEL_ID
request are common to all of the generative AI (GenAI) use cases, such as the modelConfig
parameter.
Also referred to as hyperparameters, these fields set certain controls on the response.
Refer to the API spec for more information.
Unique values for the standalone query rewriter use case
Some parameter values available in thestandalone query rewriter
use case are unique to this use case, including values for the useCaseConfig
parameter.
Refer to the API spec for more information.
This example does not include modelConfig
parameters, but you can submit requests that include parameters described in Common parameters and fields.