Is there a privacy/security policy for ai?

When I use Cloudflare AI in a worker, for example like this:

import { Ai } from '@cloudflare/ai'

export interface Env {
  // If you set another name in wrangler.toml as the value for 'binding',
  // replace "AI" with the variable name you defined.
  AI: any;

export default {
  async fetch(request: Request, env: Env) {
    const ai = new Ai(env.AI);

    const response = await'@cf/meta/llama-2-7b-chat-int8', {
        prompt: "What is the origin of the phrase Hello, World"

    return new Response(JSON.stringify(response));

Are there any privacy guarantees for the text I input? Is this text saved or used for training? Are there any policies available for this?

1 Like

i’m curious over the answer too

Same question here.


Any answer?

Hey folks! We published this doc to answer your questions, let us know if you have further questions/comments! Your Data and Workers AI · Cloudflare Workers AI docs

1 Like