Lucidworks AI Prediction API
passthrough
use case prompts before being sent to any generative AI (GenAI) model.
This API is used to help debug passthrough
use case prompts to ensure the input to the GenAI model is valid, and within the model’s processing limits.
passthrough
use case except for apiKey
or similar authentication params, which must be provided for consistency. However, the model third-party API is not called, so those parameters are not used. You can enter placeholder values instead.
APPLICATION_ID
for your Lucidworks AI application. For more information, see credentials to use APIs.machinelearning.predict
. For more information, see Authentication API.MODEL_ID
field for the request. The path is: /ai/prompt/passthrough/MODEL_ID
. For more information about supported models, see Generative AI models./ai/prompt/passthrough/MODEL_ID
request POST request are common to all of the generative AI (GenAI) use cases.
Also referred to as hyperparameters, these fields set certain controls on the response.
Refer to the API spec for more information.
useCaseConfig
parameters:
useSystemPrompt
and dataType
are present, the value in dataType
is used.APPLICATION_ID
, MODEL_ID
, and ACCESS_TOKEN
fields with your information.