Skip to content

Commit 52d7ba0

Browse files
hyperlint-ai[bot]pedrosousa
authored andcommitted
Hyperlint Automation: Broken Link Fixes (#19353)
* Fix issue: WorkspaceTaskSubType.BROKEN_LINK * Fix issue: WorkspaceTaskSubType.BROKEN_LINK * Fix issue: WorkspaceTaskSubType.BROKEN_LINK * Fix issue: WorkspaceTaskSubType.BROKEN_LINK * Fix issue: WorkspaceTaskSubType.BROKEN_LINK * PCX review --------- Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com> Co-authored-by: Pedro Sousa <[email protected]>
1 parent b2f5b9c commit 52d7ba0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/content/docs/ai-gateway/providers/workersai.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ Workers AI supports the following parameters for AI gateways:
114114
- `id` string
115115
- Name of your existing [AI Gateway](/ai-gateway/get-started/#create-gateway). Must be in the same account as your Worker.
116116
- `skipCache` boolean(default: false)
117-
- Controls whether the request should [skip the cache](/ai-gateway/configuration/caching/#skip-cache-cf-skip-cache).
117+
- Controls whether the request should [skip the cache](/ai-gateway/configuration/caching/#skip-cache-cf-aig-skip-cache).
118118
- `cacheTtl` number
119-
- Controls the [Cache TTL](/ai-gateway/configuration/caching/#cache-ttl-cf-cache-ttl).
119+
- Controls the [Cache TTL](/ai-gateway/configuration/caching/#cache-ttl-cf-aig-cache-ttl).

src/content/docs/developer-spotlight/tutorials/creating-a-recommendation-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Let's start implementing step-by-step.
173173

174174
### Bind Workers AI and Vectorize to your Worker
175175

176-
This API requires the use of Workers AI and Vectorize. To use these resources from a Worker, you will need to first create the resources then [bind](/workers/runtime-apis/bindings/#what-is-a-binding) them to a Worker. First, let's create a Vectorize index with Wrangler using the command `wrangler vectorize create {index_name} --dimensions={number_of_dimensions} --metric={similarity_metric}`. The values for `dimensions` and `metric` depend on the type of [Text Embedding Model](/workers-ai/models/#text-embeddings) you are using for data vectorization (Embedding). For example, if you are using the `bge-large-en-v1.5` model, the command is:
176+
This API requires the use of Workers AI and Vectorize. To use these resources from a Worker, you will need to first create the resources then [bind](/workers/runtime-apis/bindings/#what-is-a-binding) them to a Worker. First, let's create a Vectorize index with Wrangler using the command `wrangler vectorize create {index_name} --dimensions={number_of_dimensions} --metric={similarity_metric}`. The values for `dimensions` and `metric` depend on the type of [Text Embedding Model](/workers-ai/models/) you are using for data vectorization (Embedding). For example, if you are using the `bge-large-en-v1.5` model, the command is:
177177

178178
```sh
179179
npx wrangler vectorize create stripe-products --dimensions=1024 --metric=cosine

src/content/docs/reference-architecture/diagrams/ai/ai-asset-creation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Example uses of such compositions of AI models can be employed to generation vis
3434
![Figure 1:Content-based asset generation](~/assets/images/reference-architecture/ai-asset-generation-diagrams/ai-asset-generation.svg "Figure 1: Content-based asset generation")
3535

3636
1. **Client upload**: Send POST request with content to API endpoint.
37-
2. **Prompt generation**: Generate prompt for later-stage text-to-image model by calling [Workers AI](/workers-ai/) [text generation models](/workers-ai/models/#text-generation) with content as input.
37+
2. **Prompt generation**: Generate prompt for later-stage text-to-image model by calling [Workers AI](/workers-ai/) [text generation models](/workers-ai/models/) with content as input.
3838
3. **Safety check**: Check for compliance with safety guidelines by calling [Workers AI](/workers-ai/) [text classification models](/workers-ai/models/#text-classification) with the previously generated prompt as input.
3939
4. **Image generation**: Generate image by calling [Workers AI](/workers-ai/) [text-to-image models](/workers-ai/models/#text-to-image) previously generated prompt.
4040

4141
## Related resources
4242

4343
- [Community project: content-based asset creation demo](https://auto-asset.pages.dev/)
44-
- [Workers AI: Text generation models](/workers-ai/models/#text-generation)
44+
- [Workers AI: Text generation models](/workers-ai/models/)
4545
- [Workers AI: Text-to-image models](/workers-ai/models/#text-to-image)
4646
- [Workers AI: llamaguard-7b-awq](/workers-ai/models/llamaguard-7b-awq/)

src/content/docs/workers-ai/tutorials/how-to-choose-the-right-text-generation-model.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can [download the Workers AI Text Generation Exploration notebook](/workers-
3636

3737
Models come in different shapes and sizes, and choosing the right one for the task, can cause analysis paralysis.
3838

39-
The good news is that on the [Workers AI Text Generation](/workers-ai/models/#text-generation) interface is always the same, no matter which model you choose.
39+
The good news is that on the [Workers AI Text Generation](/workers-ai/models/) interface is always the same, no matter which model you choose.
4040

4141
In an effort to aid you in your journey of finding the right model, this notebook will help you get to know your options in a speed dating type of scenario.
4242

@@ -130,7 +130,7 @@ def speed_date(models, questions):
130130

131131
Who better to tell you about the specific models than themselves?!
132132

133-
The timing here is specific to the entire completion, but remember all Text Generation models on [Workers AI support streaming](/workers-ai/models/#text-generation).
133+
The timing here is specific to the entire completion, but remember all Text Generation models on [Workers AI support streaming](/workers-ai/models/).
134134

135135
```python
136136
models = [

src/content/partials/workers-ai/openai-compatibility.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
---
55

6-
Workers AI supports OpenAI compatible endpoints for [text generation](/workers-ai/models/#text-generation) (`/v1/chat/completions`) and [text embedding models](/workers-ai/models/#text-embeddings) (`/v1/embeddings`). This allows you to use the same code as you would for your OpenAI commands, but swap in Workers AI easily.
6+
Workers AI supports OpenAI compatible endpoints for [text generation](/workers-ai/models/) (`/v1/chat/completions`) and [text embedding models](/workers-ai/models/) (`/v1/embeddings`). This allows you to use the same code as you would for your OpenAI commands, but swap in Workers AI easily.

0 commit comments

Comments
 (0)