Skip to content

Commit 19a0363

Browse files
committed
removing non-standard quotes from using-bigquery-with-workers-ai tutorial
1 parent a95737c commit 19a0363

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/content/docs/workers-ai/tutorials/using-bigquery-with-workers-ai.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You will be needing:
3535

3636
## Step 1 - Setting up your Cloudflare Worker
3737

38-
In order to ingest the data into Cloudflare and feed it into Workers AI, you will be using a [Cloudflare Worker](/workers/). If you havent created one yet, please feel free to review our [tutorial on how to get started](/workers/get-started/).
38+
In order to ingest the data into Cloudflare and feed it into Workers AI, you will be using a [Cloudflare Worker](/workers/). If you haven't created one yet, please feel free to review our [tutorial on how to get started](/workers/get-started/).
3939

4040
After following the steps to create a Worker, you should have the following code in your new Worker project:
4141

@@ -55,7 +55,7 @@ If the Worker project has successfully been created, you should also be able to
5555

5656
Open a browser tab at `http://localhost:8787/` to see your deployed Worker. Please note that the port `8787` may be a different one in your case.
5757

58-
You should be seeing 'Hello World!' in your browser:
58+
You should be seeing `Hello World!` in your browser:
5959

6060
```sh
6161
Hello World!
@@ -192,7 +192,7 @@ To verify that the installation succeeded, you can run `npm list`, which list li
192192

193193
## Step 4 - Generate JSON Web Token
194194

195-
Now that you have installed the `jose` library, its time to import it and add a function to your code that generates a signed JWT:
195+
Now that you have installed the `jose` library, it's time to import it and add a function to your code that generates a signed JWT:
196196

197197
```javascript
198198
import * as jose from 'jose';
@@ -234,11 +234,11 @@ export default {
234234

235235
```
236236

237-
Now that you have created a JWT, its time to do an API call to BigQuery to fetch some data.
237+
Now that you have created a JWT, it's time to do an API call to BigQuery to fetch some data.
238238

239239
## Step 5 - Making authenticated requests to Google BigQuery
240240

241-
With the JWT token created in the previous step, issue an API request to BigQuerys API to retrieve data from a table.
241+
With the JWT token created in the previous step, issue an API request to BigQuery's API to retrieve data from a table.
242242

243243
You will now query the table that you already have created in BigQuery as part of the prerequisites of this tutorial. This example uses a sampled version of the [Hacker News Corpus](https://www.kaggle.com/datasets/hacker-news/hacker-news-corpus) that was used under its MIT licence and uploaded to BigQuery.
244244

@@ -277,7 +277,7 @@ Having the raw row data from BigQuery means that you can now format it in a JSON
277277

278278
## Step 6 - Formatting results from the query
279279

280-
Now that you have retrieved the data from BigQuery, its time to note that a BigQuery API response looks something like this:
280+
Now that you have retrieved the data from BigQuery, it's time to note that a BigQuery API response looks something like this:
281281

282282
```json
283283
{
@@ -656,7 +656,7 @@ This will create a public endpoint that you can use to access the Worker globall
656656
657657
## Conclusion
658658
659-
In this tutorial, youve learnt how to integrate Google BigQuery and Cloudflare Workers by creating a GCP service account key and storing part of it as Worker Secrets. This was later imported in the code and by using the `jose` npm library, you created a JSON Web Token to authenticate the API query to BigQuery.
659+
In this tutorial, you've learnt how to integrate Google BigQuery and Cloudflare Workers by creating a GCP service account key and storing part of it as Worker Secrets. This was later imported in the code and by using the `jose` npm library, you created a JSON Web Token to authenticate the API query to BigQuery.
660660
661661
Once you obtained the results, some formatting was applied to them to later be passed to generative AI models via Workers AI to generate tags and to perform sentiment analysis on the extracted data.
662662

0 commit comments

Comments
 (0)