# Step 6. - Training and Execution

Before training the project, ensure you've activated the "Execute..." option in the advanced settings before the Generative AI node in the last message node. The project is automatically saved, and now it's time to train it by clicking the designated button.

<figure><img src="https://content.gitbook.com/content/6iQTvxgRZRwPS1NgIGEb/blobs/MIJzFxxO7rxp4yc3T89w/BD_6x_training.gif" alt=""><figcaption><p>Step 6. - Training and Execution</p></figcaption></figure>

We intentionally used a two-line user name as an example. We elucidated the usage of the "namex" function back in Step 2. Feel free to modify or delete these sentences based on your requirements.

Wanna know more about project deployment? [Visit this page](https://docs.borndigital.ai/digital-agent/workspace/deploy-project)

<details>

<summary>Step-by-step</summary>

1. Review and reconfigure the message node connected to the ***'Generative AI' node***, ensuring that the checkbox for *"execute"* is selected.
2. Validate the logic of the entire flow to ensure smooth functioning.
3. Initiate the training process by clicking the *"Train version"* button. If any errors arise, carefully review the provided information and improve the problematic node(s) accordingly.
4. Interact with your newly created Virtual Assistant by clicking on the **Chat Bubble** and engaging in a conversation.

You've now successfully developed your First Virtual Assistant!

</details>

{% hint style="warning" %}
The displayed message: {'name': 'John', 'surname': 'Swain'} showcases the specific details retrieved by the "Namex" function. You can extract particular parts for usage purposes as demonstrated in [Step 2](#step-2.-creating-simple-greetings).
{% endhint %}

{% hint style="info" %}
Even minor alterations in the **Conversation Flow** necessitate retraining the version. Ensure you untrain and retrain the version to implement and observe any updates or modifications made.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.borndigital.ai/digital-agent/building-new-projects/advanced-project/step-6.-training-and-execution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
