Skip to content

Commit ca582ac

Browse files
authored
feat(specs): rename ai perso to advanced perso (#4320)
1 parent e95c976 commit ca582ac

17 files changed

+13
-13
lines changed

scripts/common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export const GENERATORS = Object.entries(clientsConfig).reduce(
6969

7070
export const LANGUAGES = [...new Set(Object.values(GENERATORS).map((gen) => gen.language))];
7171

72-
// `crawler` and `ai-personalization` are manually added so we can still bundled and validate the specs
72+
// `crawler` and `advanced-personalization` are manually added so we can still bundled and validate the specs
7373
// the entry can be removed once at least one client is generated
7474
export const CLIENTS = [
7575
...new Set(Object.values(GENERATORS).map((gen) => gen.client)),
7676
'crawler',
77-
'ai-personalization',
77+
'advanced-personalization',
7878
];
7979

8080
export async function run(command: string, { errorMessage, cwd, language }: RunOptions = {}): Promise<string> {

specs/ai-personalization/paths/config.yml renamed to specs/advanced-personalization/paths/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ put:
3434
description: |
3535
Updates the configuration.
3636
37-
The configuration is a list of configuration objects for each index. To configure AI Personalization for an index, create a new configuration object for the index.
37+
The configuration is a list of configuration objects for each index. To configure Advanced Personalization for an index, create a new configuration object for the index.
3838
requestBody:
3939
required: true
4040
content:

specs/ai-personalization/spec.yml renamed to specs/advanced-personalization/spec.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
openapi: 3.1.0
22
info:
3-
title: AI Personalization API
3+
title: Advanced Personalization API
44
description: |
5-
The AI Personalization API lets you access user profiles built based on the behavior of your users on your website or app.
5+
The Advanced Personalization API lets you access user profiles built based on the behavior of your users on your website or app.
66
77
## Client libraries
88
@@ -13,7 +13,7 @@ info:
1313
1414
## Base URLs
1515
16-
The AI Personalization API can be reached from multiple domains, each specific to a region.
16+
The Advanced Personalization API can be reached from multiple domains, each specific to a region.
1717
1818
- `https://ai-personalization.eu.algolia.com`
1919
- `https://ai-personalization.us.algolia.com`
@@ -37,15 +37,15 @@ info:
3737
3838
## Response status and errors
3939
40-
The AI Personalization API returns JSON responses.
40+
The Advanced Personalization API returns JSON responses.
4141
Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response.
4242
4343
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
4444
Error responses have a `message` property with more information.
4545
4646
## Rate limiting
4747
48-
When making requests to the AI Personalization API, you are limited to 500 API calls per minute per application.
48+
When making requests to the Advanced Personalization API, you are limited to 500 API calls per minute per application.
4949
5050
The following headers provide information about your current limit:
5151
@@ -55,7 +55,7 @@ info:
5555
5656
## Version
5757
58-
The current version of the AI Personalization API is version 2, as indicated by the `/2/` in each endpoint's URL.
58+
The current version of the Advanced Personalization API is version 2, as indicated by the `/2/` in each endpoint's URL.
5959
version: 2.0.0
6060
components:
6161
securitySchemes:
@@ -80,22 +80,22 @@ tags:
8080
- name: config
8181
x-displayName: Configuration
8282
description: |
83-
Manage your AI Personalization configuration.
83+
Manage your Advanced Personalization configuration.
8484
8585
The configuration defines the indices, facet attributes and events that describe your user's
86-
behaviour on your website or app. It helps AI Personalization determine how personalization should affect the search results.
86+
behaviour on your website or app. It helps Advanced Personalization determine how personalization should affect the search results.
8787
- name: users
8888
x-displayName: Users
8989
description: |
90-
Manage user profiles generated by AI Personalization.
90+
Manage user profiles generated by Advanced Personalization.
9191
9292
User profiles contain the affinities each user has for the different facets in your index.
9393
externalDocs:
9494
url: https://www.algolia.com/doc/guides/personalization/ai-personalization/what-is-ai-personalization/concepts/user-profiles/
9595
description: |
9696
Related guide: User Profiles.
9797
x-tagGroups:
98-
- name: AI Personalization
98+
- name: Advanced Personalization
9999
tags:
100100
- config
101101
- users

0 commit comments

Comments
 (0)