Skip to content

Commit

Permalink
[DocSums] Fix doc sum issues (#257)
Browse files Browse the repository at this point in the history
* Update README.md for docker instruction issues

some fixes for docker build instructions

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>

* Update README.md for new frontend

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>

* Update README.md for output example

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>

* pre-commit change

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>

* fix for pre-commit

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>

---------

Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
  • Loading branch information
louie-tsai committed Jun 12, 2024
1 parent 99eb6a6 commit 29de55d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DocSum/docker/gaudi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docker pull ghcr.io/huggingface/tgi-gaudi:1.2.1
### 2. Build LLM Image

```bash
docker build -t opea/llm-docsum-tgi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/llms/docsum/langchain/docker/Dockerfile .
docker build -t opea/llm-docsum-tgi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/llms/summarization/tgi/Dockerfile .
```

### 3. Build MegaService Docker Image
Expand Down Expand Up @@ -128,4 +128,8 @@ export LANGCHAIN_API_KEY=ls_...

Open this URL `http://{host_ip}:5173` in your browser to access the frontend.

![project-screenshot](../../assets/img/docSum_ui_text.png)
![project-screenshot](https://github.com/intel-ai-tce/GenAIExamples/assets/21761437/93b1ed4b-4b76-4875-927e-cc7818b4825b)

Here is an example for summarizing a article.

![image](https://github.com/intel-ai-tce/GenAIExamples/assets/21761437/67ecb2ec-408d-4e81-b124-6ded6b833f55)

0 comments on commit 29de55d

Please sign in to comment.