Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nl4dv/nl4dv-docker

NL4DV Docker image as a FastAPI web application.
https://github.com/nl4dv/nl4dv-docker

data-visualization docker-image natural-language-inference natural-language-processing- python toolkit

Last synced: 15 days ago
JSON representation

NL4DV Docker image as a FastAPI web application.

Awesome Lists containing this project

README

        

nl4dv-docker
=================================
A docker container for [NL4DV](https://nl4dv.github.io/nl4dv/), an open-source python toolkit that converts a natural language query into data visualizations.

## Pre-requisite
Install Docker by following the instructions on the [official website](https://docs.docker.com/get-docker/). Create a new environment and start it. To verify, type `docker images` in your command-line/terminal and it should return an \ list of images. If you are using the GUI, you can check the status of your environment in the [Docker Dashboard](https://docs.docker.com/desktop/dashboard/).

### Usage
From the command-line OR the GUI, pull the **nl4dv** image from [Docker Hub](https://hub.docker.com/r/arpitnarechania/nl4dv)
```bash
docker pull arpitnarechania/nl4dv:latest
```

Run / start the container.
```bash
docker run -p 8000:80 arpitnarechania/nl4dv:latest
```

### API Playground
Open your browser and go to `{localhost, 127.0.0.1, HOST_IP}:8000/docs` depending on your host OS to execute different queries with different configuration settings.

### FAQ
For developing locally, eventually do the following:
```bash
docker-compose build
docker-compose up
```

### Credits
Arpit Narechania and @helt.

### License
The software is available under the [MIT License](https://github.com/nl4dv/nl4dv-docker/blob/master/LICENSE).