Skip to content

Conversation

aninibread
Copy link
Contributor

Summary

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@aninibread aninibread requested review from a team, irvinebroque and rita3ko as code owners October 15, 2025 23:13
Copy link
Contributor

This PR requires additional review attention because it affects the following areas:

Partials

This PR updates partial files, which are pieces of content used across multiple files in our Render component.

Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/ai-search/ @rita3ko, @irvinebroque, @aninibread, @cloudflare/pcx-technical-writing
* @cloudflare/pcx-technical-writing

Comment on lines +56 to +57
"enabled": true,
"model": "@cf/baai/bge-reranker-base"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These attributes don't go in this object. They are exposed through a new object, reranking.

Comment on lines +95 to +96
"enabled": true
"model": "@cf/baai/bge-reranker-base"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Comment on lines +50 to +51
enabled: true,
model: "@cf/baai/bge-reranker-base"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Comment on lines +121 to +122
enabled: true,
model: "@cf/baai/bge-reranker-base"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Comment on lines +30 to +35
- `enabled` <Type text="boolean" /> <MetaInfo text="optional" />
- Enables or disables reranking, which reorders retrieved results based on semantic relevance using a reranking model. Defaults to `false`.

- `model` <Type text="string" /> <MetaInfo text="optional" />
- The reranking model to use when reranking is enabled.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, these should be placed under a new object called reranking.

Comment on lines +26 to +31
- `enabled` <Type text="boolean" /> <MetaInfo text="optional" />
- Enables or disables reranking, which reorders retrieved results based on semantic relevance using a reranking model. Defaults to `false`.

- `model` <Type text="string" /> <MetaInfo text="optional" />
- The reranking model to use when reranking is enabled.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above


### Configure via API

You can also configure via the API. When you make a `/search` or `/ai-search` request using the [Workers Binding](/ai-search/usage/workers-binding/) or [REST API](/ai-search/usage/rest-api/), you can:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: it sounds a bit weird saying also here when this is the first example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants