> For the complete documentation index, see [llms.txt](https://news-parser.gitbook.io/news-parser-plugin-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/ai-options.md).

# AI Options

1. "aiProviders": This section specifies the AI providers for different tasks. In your example, "textGenerator" is set to "OpenAI", indicating that OpenAI is the provider for generating text. "imageGenerator" is set to "false", indicating that image generation AI is not enabled.
2. "featuredImage": This section controls the generation of a featured image for the post. "generateWithAI" is set to "false", indicating that AI-based generation of the featured image is disabled. "prompt" can be used to provide any specific instructions or requirements for the featured image generation.
3. "postBody": This section defines options for generating the post body or content using AI. "generateWithAI" is set to "true", indicating that AI will be used to generate the post body. "model" specifies the specific AI model to be used, in this case, "gpt-3.5-turbo". "prompt" contains the instruction or prompt to guide the AI in generating the post body. "${post}" is a placeholder that can be replaced with the existing content of the post or any other relevant information. "pipeline" can be used to specify any additional AI models or processes to be applied to the generated post body.
4. "postTitle": This section controls the generation of the post title using AI. "generateWithAI" is set to "true", indicating that AI will be used to generate the post title. "model" specifies the AI model to be used, in this case, "gpt-3.5-turbo". "prompt" contains the instruction or prompt to guide the AI in generating the post title. "${title}" is a placeholder that can be replaced with the existing title or any other relevant information.

Example:

```
"aiOptions": {
    "aiProviders": {
      "textGenerator": "OpenAI",
      "imageGenerator": false
    },
    "featuredImage": {
      "generateWithAI": false,
      "prompt": ""
    },
    "postBody": {
      "generateWithAI": true,
      "model":"gpt-3.5-turbo",
      "prompt": "Rewrite this article to make it unique ${post}",
      "pipeline": []
    },
    "postTitle": {
      "generateWithAI": true,
      "model":"gpt-3.5-turbo",
      "prompt": "Rewrite this title to make unique ${title}"
    }
  }
```

\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/ai-options.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
