-
Notifications
You must be signed in to change notification settings - Fork 10.3k
agents: llms.txt #19916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
agents: llms.txt #19916
Changes from 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b7f5c2c
agents: llms.txt
elithrar 3ddf864
agents: build nav entry
elithrar e79abd8
workers: add link to llms.txt
elithrar 8c0104c
add prompt
elithrar 765d15a
add changelog
elithrar 8232891
prompt changelog
elithrar 16111b5
fix desc
elithrar 25bd07b
.mdx extensions
elithrar 4fe4aed
Update src/content/docs/agents/build/prompts.mdx
elithrar 12bb34c
Update src/content/docs/agents/build/prompts.mdx
elithrar 313adef
Update src/content/docs/agents/build/prompts.mdx
elithrar 9db2489
Update prompts.mdx
elithrar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/content/changelog/agents/2025-02-14-example-ai-prompts.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| title: Build AI Agents with Example Prompts | ||
| description: Build applications on Workers with our prompt examples. | ||
| products: | ||
| - agents | ||
| - workers | ||
| - workflows | ||
| date: 2025-02-14T19:00:00Z | ||
| --- | ||
|
|
||
| We've added an [example prompt](/agents/build/prompts/) to help you get started with building AI agents and applications on Cloudflare [Workers](/workers/), including [Workflows](/workflows/), [Durable Objects](/durable-objects/), and [Workers KV](/kv/). | ||
|
|
||
| You can use this prompt with your favorite AI model, including Claude 3.5 Sonnet, OpenAI's o3-mini, Gemini 2.0 Flash, or Llama 3.3 on Workers AI. Models with large context windows will allow you to paste the prompt directly: provide your own prompt within the `<user_prompt></user_prompt>` tags. | ||
|
|
||
| ```sh | ||
| {paste_prompt_here} | ||
| <user_prompt> | ||
| user: Build an AI agent using Cloudflare Workflows. The Workflow should run when a new GitHub issue is opened on a specific project with the label 'help' or 'bug', and attempt to help the user troubleshoot the issue by calling the OpenAI API with the issue title and description, and a clear, structured prompt that asks the model to suggest 1-3 possible solutions to the issue. Any code snippets should be formatted in Markdown code blocks. Documentation and sources should be referenced at the bottom of the response. The agent should then post the response to the GitHub issue. The agent should run as the provided GitHub bot account. | ||
| </user_prompt> | ||
| ``` | ||
|
|
||
| This prompt is still experimental, but we encourage you to try it out and [provide feedback](https://github.com/cloudflare/cloudflare-docs/issues/new?template=content.edit.yml). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| pcx_content_type: reference | ||
| title: Build | ||
| sidebar: | ||
| order: 10 | ||
| group: | ||
| hideIndex: true | ||
| --- | ||
|
|
||
| import { DirectoryListing } from "~/components"; | ||
elithrar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| Build | ||
|
|
||
| <DirectoryListing /> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| pcx_content_type: navigation | ||
| title: llms.txt | ||
| external_link: /llms.txt | ||
| sidebar: | ||
| order: 20 | ||
| head: [] | ||
| description: Provide context to your AI models & tools when building on Cloudflare. | ||
| --- |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.