@@ -42,19 +42,19 @@ npm install @algolia/generative-experiences-react@0.0.0
4242
4343``` html 
4444// for the API Client
45- <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-api-client@0 .0.0/dist/index.umd.cjs "  ></script >
45+ <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-api-client@1 .0.0/dist/index.umd.js "  ></script >
4646<script >
4747  const  { createClient  } =  window [' @algolia/generative-experiences-api-client'  ]; 
4848 </script >
4949
5050// for the JavaScript UI library
51- <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-js@0 .0.0/dist/index.umd.cjs "  ></script >
51+ <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-js@1 .0.0/dist/index.umd.js "  ></script >
5252<script >
5353  //  TODO 
5454 </script >
5555
5656// for the React UI library
57- <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-react@0 .0.0/dist/index.umd.cjs "  ></script >
57+ <script  src =" https://cdn.jsdelivr.net/npm/@algolia/generative-experiences-react@1 .0.0/dist/index.umd.js "  ></script >
5858<script >
5959  //  TODO 
6060 </script >
@@ -68,46 +68,46 @@ npm install @algolia/generative-experiences-react@0.0.0
6868
6969Displaying a shopping guide:
7070
71-   ``` JSX 
71+ ``` JSX 
7272import  React  from  ' react'  ;
7373import  { createClient  } from  ' @algolia/generative-experiences-api-client'  ;
7474import  {
75-    ShoppingGuidesContent ,
75+  ShoppingGuidesContent ,
7676} from  ' @algolia/generative-experiences-react'  ;
7777
7878const  options  =  {
79-    appId:  ' YourApplicationID'  ,
80-    indexName:  ' your_index_name'  ,
81-    searchOnlyAPIKey:  ' YourSearchOnlyAPIKey'  ,
82-    writeAPIKey:  ' YourWriteAPIKey'  ,
79+  appId:  ' YourApplicationID'  ,
80+  indexName:  ' your_index_name'  ,
81+  searchOnlyAPIKey:  ' YourSearchOnlyAPIKey'  ,
82+  writeAPIKey:  ' YourWriteAPIKey'  ,
8383};
8484
8585const  gseClient  =  createClient (options);
8686
8787function  App ({ currentObjectID, userToken }) {
8888
89-    //  ...
90- 
91-    return  (
92-      < ShoppingGuidesContent
93-        client= {gseClient}
94-        showFeedback
95-        userToken= {userToken}
96-        objectID= {currentObjectID}
97-        onlyPublished
98-        itemComponent= {({ hit }) =>  {
99-          return  (
100-            < pre> 
101-              < code> {JSON .stringify (hit)}< / code> 
102-            < / pre> 
103-          );
104-        }}
105-      / > 
106-    )
89+  //  ...
90+ 
91+  return  (
92+    < ShoppingGuidesContent
93+      client= {gseClient}
94+      showFeedback
95+      userToken= {userToken}
96+      objectID= {currentObjectID}
97+      onlyPublished
98+      itemComponent= {({ hit }) =>  {
99+        return  (
100+          < pre> 
101+            < code> {JSON .stringify (hit)}< / code> 
102+          < / pre> 
103+        );
104+      }}
105+    / > 
106+  )
107107}
108108``` 
109109
110- You can find more examples and implementation details in the [ Algolia Docs] ( https://www.algolia.com/doc/guides/algolia-ai/shopping-guides/ )  or in the [ React package] ( (/packages/generative-experiences-react/README.md) ) 
110+ You can find more examples and implementation details in the [ Algolia Docs] ( https://www.algolia.com/doc/guides/algolia-ai/shopping-guides/ )  or in the [ React package] ( < (/packages/generative-experiences-react/README.md) > ) 
111111
112112## 🙋 FAQ  
113113
0 commit comments