Skip to content

Conversation

@celso
Copy link
Collaborator

@celso celso commented Mar 14, 2025

Summary

Adds documentation to the new env.AI.toMarkdown() method

Documentation checklist

  • The documentation style guide has been adhered to.
  • 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.

@hyperlint-ai-deprecated
Copy link
Contributor

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Added documentation for the new env.AI.toMarkdown() method, detailing its usage and supported formats.

  • Introduced documentation for the env.AI.toMarkdown() method
  • Provided detailed parameter and return value definitions
  • Listed supported document formats for conversion
  • Included example usage and REST API integration details

Added Files

  • src/content/docs/workers-ai/document-conversion.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

@celso celso changed the title Document Conversion documentation Markdown Conversion documentation Mar 14, 2025
@github-actions github-actions bot added size/m product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ labels Mar 14, 2025
updates catalog
@celso celso requested review from a team and pedrosousa as code owners March 20, 2025 17:40
@github-actions github-actions bot added size/xl and removed size/m labels Mar 20, 2025
@celso celso requested a review from rita3ko March 20, 2025 20:30
@rita3ko rita3ko merged commit 0a48ff0 into production Mar 20, 2025
11 checks passed
@rita3ko rita3ko deleted the tomarkdown branch March 20, 2025 20:43
RebeccaTamachiro pushed a commit that referenced this pull request Apr 21, 2025
* toMarkdown

* Markdown conversion

* no D1 here

* fixes path

* better wording

* toMarkdown changelog
updates catalog

* changes date

* better wording

---------

Co-authored-by: Celso Martinho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants