GenAI Toolkit is in private beta according to the Algolia Terms of Service (“Beta Services”).
Before you begin
To create a prompt, you need the GenAI Toolkit feature in your Algolia plan, and an index containing the product data you want to use for your GenAI applications.Manage prompts with the dashboard
Create new prompts
- Go to the Algolia dashboard and select your Algolia application.
- On the left sidebar, select Generative AI.
- Select Generative AI in the Algolia dashboard.
- On the left sidebar, select Prompts.
-
Click Create New Prompt.

-
Enter a name for your Prompt. This will be used to easily identify your prompt later.

-
Select one of the pre-defined tones to use in the final prompt, computed by the GenAI Toolkit. By default the tone is set to
natural.
-
Enter the detailed instructions for your prompt.
They will be used to compute the final prompt that will be needed for generating responses.

- Once you are satisfied with your configuration, click Save Prompt.
Edit prompts
You can edit its details directly from the Dashboard. Start by selecting a prompt from the prompts Table.
Duplicate prompts
You can use one prompt as a template for creating a new one. From the prompts table, choose your base prompt, click More and select Duplicate.
Delete prompts
To delete a prompt in the dashboard, choose the prompt you want to delete from the prompts table, click More and select Delete.
Manage prompts with the GenAI Toolkit API
You can manage your data sources with the GenAI Toolkit API.Create a new prompt
You need an API Key with the following ACLs:addObject, settings, editSettings.
Parameters
The instructions and system prompt that will be provided by the GenAI Toolkit.
The name used to identify the prompt.
A unique identifier used for storing the prompt.
If not provided,
the API will automatically generate a new one.
Tone used by the model.Allowed values:
natural, friendly, or professionalReturns
In case of a success, the response is (HTTP status code 200):JSON
JSON
Update a prompt
You need an API Key with the following ACLs:addObject, search.
Parameters
The ID of the prompt to be updated.
The instructions and system prompt that will be provided by the GenAI Toolkit.
The name used to identify the prompt.
Tone used by the model.Allowed values:
natural, friendly, or professionalReturns
In case of a success, the response is (HTTP status code 200):JSON
JSON
Delete a prompt
You need an API Key with the following ACLs:deleteObject, search.
Parameters
List of IDs of the prompts to be deleted.
Whether to delete responses linked to this prompt.
Returns
In case of a success, the response is (HTTP status code 200):JSON
JSON