> ## Documentation Index
> Fetch the complete documentation index at: https://docs.avallon.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Assist

> Modify your website using natural language

## Overview

AI Assist allows you to modify your website using natural language. Simply describe what you want to change, and Avallon's AI will make it happen.

## How to Use

1. Open your website in the editor
2. Make sure "AI Assist" mode is selected (not "Visual Edit")
3. Type your request in the chat input
4. Press Enter or click Send
5. Wait for the AI to process your request
6. Review the changes in the preview

## Example Requests

<CodeGroup>
  ```plaintext Add Content theme={null}
  Add a testimonial section with 3 customer reviews
  ```

  ```plaintext Modify Design theme={null}
  Make the header darker and add a gradient background
  ```

  ```plaintext Change Text theme={null}
  Change the heading from "Welcome" to "Welcome to Our Site"
  ```

  ```plaintext Add Features theme={null}
  Add a pricing table with 3 tiers: Basic, Pro, and Enterprise
  ```
</CodeGroup>

## Types of Modifications

<CardGroup cols={2}>
  <Card title="Content Changes">
    * Add new sections
    * Modify text
    * Update headings
    * Change descriptions
  </Card>

  <Card title="Design Changes">
    * Change colors
    * Modify spacing
    * Update fonts
    * Adjust layouts
  </Card>

  <Card title="Feature Additions">
    * Add forms
    * Create galleries
    * Insert buttons
    * Add navigation
  </Card>

  <Card title="Page Modifications">
    * Add new pages
    * Modify existing pages
    * Update navigation
    * Change page structure
  </Card>
</CardGroup>

## Best Practices

<AccordionGroup>
  <Accordion title="Be Specific">
    Instead of "make it better", say "make the colors more vibrant and increase font sizes"
  </Accordion>

  <Accordion title="One Change at a Time">
    For complex changes, break them into multiple requests
  </Accordion>

  <Accordion title="Use Context">
    Reference specific elements: "change the hero section background to blue"
  </Accordion>

  <Accordion title="Review Changes">
    Always review AI-generated changes before saving
  </Accordion>
</AccordionGroup>

## Chat History

AI Assist maintains a conversation history:

* Previous requests are shown in the chat
* The AI remembers context from earlier messages
* You can reference previous changes
* Chat history helps with complex modifications

## Credits

Each AI Assist modification uses credits:

* **Simple changes**: 1 credit
* **Complex modifications**: 1-2 credits
* **New page generation**: 2 credits

<Info>
  Free accounts start with 5 credits. Upgrade to get more credits and features.
</Info>

## Tips

<Warning>
  AI-generated content may need manual review and editing. Always check the results before publishing.
</Warning>

<Info>
  You can combine AI Assist with the Visual Editor. Use AI Assist for major changes, then fine-tune with the Visual Editor.
</Info>
