# Installation

Follow these steps to get started.

1. **Clone the repository:**

   ```shell
   git clone https://github.com/AshrithSagar/EEG-Imagined-speech-recognition.git
   cd EEG-Imagined-speech-recognition
   ```
2. **Install uv (recommended):**

   Install [`uv`](https://docs.astral.sh/uv/), if not already. Check [here](https://docs.astral.sh/uv/getting-started/installation/) for installation instructions.

   It is recommended to use `uv`, as it will automatically install the dependencies in a virtual environment. If you don't want to use `uv`, skip to the next step.

   TL;DR: Just run

   ```shell
   curl -LsSf https://astral.sh/uv/install.sh | sh
   ```
3. **Install dependencies:**

   The dependencies are listed in the [pyproject.toml](https://github.com/AshrithSagar/EEG-Imagined-speech-recognition/blob/main/docs/pyproject.toml) file.

   Install the package in editable mode (recommended):

   ```shell
   # Using uv
   uv pip install -e .

   # Or with pip
   pip install -e .
   ```

### Additional packages

For Ubuntu: `sudo apt-get install graphviz`

For macOS (with [Homebrew](https://brew.sh/)): `brew install graphviz`

For Windows: Download and install Graphviz from the [Graphviz website](https://graphviz.org/download/).


---

# 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://ashrithsagar.gitbook.io/eeg-imagined-speech-recognition/installation.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.
