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

# Context

> Context provides DinoAI with information about your project and data warehouse, enabling more accurate and relevant assistance for analytics engineering tasks.

export const Arcade = ({src, title}) => <div style={{
  position: 'relative',
  paddingBottom: 'calc(56.2225% + 41px)',
  height: 0,
  width: '100%'
}}>
    <iframe src={src} title={title} frameBorder="0" loading="lazy" allow="clipboard-write" allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  colorScheme: 'light'
}} />
  </div>;

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

<Arcade src="https://demo.arcade.software/42flhygCjJ6X8UhDS57f?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="Context" />

<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
</Info>

### Types of Context

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

* [**File Context**](/products/dino-ai/copilot/context/file-context) - Individual files from your project
* [**Inline File Context** ](/products/dino-ai/copilot/context/inline-file-context)- Specific code selections and line numbers from your editor
* [**Directory Context**](/products/dino-ai/copilot/context/directory-context) - Entire folders of related files
* [**Terminal Context** ](/products/dino-ai/copilot/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](/products/dino-ai/dino-rules) for consistent standards

<Info>
  **.dinorules**

  Use [.dinorules](/products/dino-ai/dino-rules) to set persistent rules for how DinoAI generates code. These rules act as permanent context for all DinoAI interactions.
</Info>


## Related topics

- [DinoAI](/products/dino-ai/index.md)
- [Directory Context](/products/dino-ai/copilot/context/directory-context.md)
- [File Context](/products/dino-ai/copilot/context/file-context.md)
- [Context Menu](/products/code-ide/user-interface/context-menu.md)
- [Inline File Context](/products/dino-ai/copilot/context/inline-file-context.md)
