- To extract keywords to create new facets
- To extract keywords from each document:
- To write the keyword into a new field that subsequently searches large content documents more efficiently
- To boost specific keyword content
- For document clustering
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 keyword extraction use case
Some parameter values in thekeyword extraction
use case are unique and may not be available in other use cases, 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.