> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/digital-agent/building-new-projects/advanced-project/step-6.-training-and-execution.md).

# 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="/files/WSJlsXqrK9Y48tGgpss4" 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](/digital-agent/workspace/deploy-project.md)

<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
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://docs.borndigital.ai/digital-agent/building-new-projects/advanced-project/step-6.-training-and-execution.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.
