# Context

Context is what DinoAI uses to understand your project, data warehouse, and preferences. Better context means more relevant and accurate results.

{% @arcade/embed flowId="42flhygCjJ6X8UhDS57f" url="<https://app.arcade.software/share/42flhygCjJ6X8UhDS57f>" %}

{% hint style="info" %}
With context, it can:

* Reference your specific code structure and naming conventions
* Access your warehouse metadata to reference real tables and columns
* Follow the patterns established in your existing files&#x20;
  {% endhint %}

### Types of Context

DinoAI can utilize different types of context when generating code and answers:

* [**File Context**](https://docs.paradime.io/app-help/documentation/dino-ai/context/file-context) - Individual files from your project
* [**Inline File Context** ](https://docs.paradime.io/app-help/documentation/dino-ai/context/inline-file-context)- Specific code selections and line numbers from your editor
* [**Directory Context**](https://docs.paradime.io/app-help/documentation/dino-ai/context/directory-context) - Entire folders of related files
* [**Terminal Context** ](https://docs.paradime.io/app-help/documentation/dino-ai/context/terminal-conext)- Terminal output, error messages, and command results

### Using Context Effectively

The right context makes DinoAI dramatically more useful. Provide specific context by:

1. Adding individual files for targeted tasks
2. Adding directories for broader patterns
3. Including terminal output for debugging and learning
4. Using [.dinorules](https://docs.paradime.io/app-help/documentation/dino-ai/dino-rules) for consistent standards

{% hint style="info" %}

#### .dinorules

Use [.dinorules](https://docs.paradime.io/app-help/documentation/dino-ai/dino-rules) to set persistent rules for how DinoAI generates code. These rules act as permanent context for all DinoAI interactions.
{% 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.paradime.io/app-help/documentation/dino-ai/context.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.
