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

https://github.com/betkh/llm-chatbot

LLM Based ChatBot for Quantitative Carbon foorprint analysis
https://github.com/betkh/llm-chatbot

deepseek-r1 llama3 llms mistral

Last synced: over 1 year ago
JSON representation

LLM Based ChatBot for Quantitative Carbon foorprint analysis

Awesome Lists containing this project

README

          

## ChatBot with LLMs

### Video Demo (click on the image)

[Watch video Demo](https://www.youtube.com/watch?v=EgKAD9C_Hks)

### Architecture

demo.png

### Query processing

demo.png

### Front-end

demo.png

### Sample Outputs

demo.png
demo.png
demo.png

### How to run the app

1. Setup virtual environment with [`pipenv`](https://pipenv.pypa.io/en/latest/installation.html)

2. Install dependencies

```
pipenv install
```

To install exact versions run:

```
pipenv install --ignore-pipfile
```

3. Download ollama (Two approaches:)

- form from [github](https://github.com/ollama/ollama?tab=readme-ov-file)
or

- from the [website](https://ollama.com/download/mac)

4. Download LLM models via ollama

Explore list of LLM models via ollama [here](https://ollama.com/library)

e.g. to download `llama3.2` run:

```
ollama run llama3.2
```

e.g. to download `deepseek-r1` run:

```
ollama run deepseek-r1
```

To download model with specific size e.g. 14B parameters = 9.0GB here is the [link](https://ollama.com/library/deepseek-r1:14b)

```
ollama run deepseek-r1:14b
```

5. Run the app

```
python app.py
```

OR

```
python3 app.py
```

### App challanges

- live rendering of outputs to front end (frontend problems)
- some models are rellay heavy, but accurate (smller models are less acurate)
- formatting of outputs e.g tables, codes, images
- performing quantitative analysis and visualizations & rendiering those to front end

### some goals

- add a drop down menu to select model
- format and clean generated quntitatve data to perform visualizations
- steering LLM output using feedback mechanism