Skip to content

Commit 59dd4cd

Browse files
committed
future change flow
1 parent 7cc8dc0 commit 59dd4cd

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/content/docs/autorag/how-to/nlweb.mdx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can deploy NLWeb on your website directly through the AutoRAG dashboard:
2626
2. Go to **Compute & AI** > **AutoRAG**.
2727
3. Select **Create AutoRAG**, then choose the **NLWeb Website** option.
2828
4. Select your domain from your Cloudflare account.
29-
5. Click **Deploy**.
29+
5. Click **Start indexing**.
3030

3131
Once complete, AutoRAG will crawl and index your site, then deploy an NLWeb Worker for you.
3232

@@ -63,3 +63,21 @@ To integrate NLWeb search directly into your site:
6363
This lets you serve conversational AI search directly from your own domain, with control over how people and agents access your content.
6464

6565

66+
## Modifying or updating the Worker
67+
68+
You may want to customize your Worker, for example, to adjust the UI for the embeddable snippet. In those cases, we recommend calling the `/ask` endpoint for queries and building your own UI on top of it, however, you may also choose to modify the Worker's code for the embeddable UI.
69+
70+
If the NLWeb standard is updated, you can update your Worker to stay compatible and recieve the latest updates.
71+
72+
The simplest way to apply changes or updates is to redeploy the Worker template:
73+
74+
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/main/nlweb-template)
75+
76+
To do so:
77+
78+
1. Select the **Deploy to Cloudflare** button from above to deploy the Worker template to your Cloudflare account.
79+
2. Enter the name of your AutoRAG in the `RAG_ID` environment variable field.
80+
3. Click **Deploy**.
81+
4. Select the **GitHub/GitLab** icon on the Workers Dashboard.
82+
4. Clone the repository that is created for your Worker.
83+
5. Make your modifications, then commit and push changes to the repository to update your Worker.

0 commit comments

Comments
 (0)