# EasyEdge Expression Assistant

The **Expression Assistant** is built into EasyEdge to make working with expressions faster, easier, and less error-prone. It helps Users at every stage of expression creation — from discovering available functions to validating syntax in real time.

***

## Discover Functions and Variables

As soon as you start typing, the Assistant suggests available **functions** (such as `abs`, `avg`, `cos`, `split`, `parse`, etc.) and available **variables** mapped to your Tags or Data Fields. This ensures you can quickly build expressions without needing to memorize every function name or syntax.

<figure><img src="/files/ABdsUyXlB6sDzFlG43HN" alt=""><figcaption></figcaption></figure>

***

## Build and Validate Expressions

When creating expressions, the Assistant provides inline feedback to guide you as you build.

### Error feedback

If the syntax is incorrect or an identifier is unknown, the Assistant highlights the problem so you can correct it immediately.

<figure><img src="/files/ejP878LPFezIPavvkeqI" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
⚠️ **Invalid Expression**\
If the syntax is incorrect, the Assistant highlights the error so you can fix it before deploying.
{% endhint %}

### Success feedback

When the expression syntax is correct, a confirmation bar validates that the expression is ready to use.

<figure><img src="/files/IAowD24VpO99AMwppQFW" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
✅ **Valid Expression**\
Validation before saving ensures fewer errors and gives you confidence your logic is correct.
{% endhint %}

***

## Why It Matters

* **Faster workflow** → Functions and variables are suggested automatically.
* **Fewer errors** → Syntax validation and error highlighting guide you before saving.
* **More confidence** → A clear confirmation ensures that the expression will behave as expected once deployed.

{% hint style="info" %}
💡 With the Expression Assistant, even complex expressions become intuitive, **helping you focus on outcomes** instead of memorizing functions or debugging syntax.
{% 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://easyedge.gitbook.io/easyedge/reference/expressions-operations-engine/easyedge-expression-assistant.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.
