# Web UI playground

A web UI is provided with the *`st_playground.py`* [Streamlit ](https://streamlit.io/)application. The API server must be started first with *`python vigil-server.py --conf conf/server.conf`*

**Features**

* Web UI playground for testing
* Submit prompts for analysis
* View and modify configuration file
* Upload new YARA signatures

**Running**

The API server must be started first because the Streamlit app uses the endpoints. Once started, you can run the following command to start the playground:

```
streamlit run streamlit_app.py
```

#### Screenshots

<figure><img src="https://1327977903-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEzo8o9vJPcrh2UB6tKuV%2Fuploads%2F7ciVVL2OyA8OLyXLd1zo%2Fstreamlit.png?alt=media&#x26;token=f2b56db0-6912-49e7-8eba-1c156a0b1041" alt=""><figcaption><p>Analysis results</p></figcaption></figure>

<figure><img src="https://1327977903-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEzo8o9vJPcrh2UB6tKuV%2Fuploads%2FgPi1kTVChkC1jRIKYBHl%2FScreenshot%20from%202023-09-16%2000-44-44.png?alt=media&#x26;token=aba56ba1-e08f-48ed-9744-d4af0dc20c3e" alt=""><figcaption><p>Analysis results</p></figcaption></figure>


---

# 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://vigil.deadbits.ai/overview/use-vigil/web-server/web-ui-playground.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.
