mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-03 06:08:40 +00:00
24 lines
683 B
Markdown
24 lines
683 B
Markdown
![]() |
## Demo UI
|
||
|
|
||
|
This is a minimal UI that can spin up to test Haystack for your prototypes. It's based on streamlit and is very easy to extend for your purposes.
|
||
|
|
||
|

|
||
|
|
||
|
## Usage
|
||
|
|
||
|
### Option 1: Local
|
||
|
Execute in this folder:
|
||
|
```
|
||
|
streamlit run webapp.py
|
||
|
```
|
||
|
|
||
|
Requirements: This expects a running Haystack REST API at `http://localhost:8000`
|
||
|
|
||
|
### Option 2: Container
|
||
|
|
||
|
Just run
|
||
|
```
|
||
|
docker-compose up -d
|
||
|
```
|
||
|
in the root folder of the Haystack repository. This will start three containers (Elasticsearch, Haystack API, Haystack UI).
|
||
|
You can find the UI at `http://localhost:8501`
|