# Marketminds AI Services

## Activate the venv
To activate the venv for installing the requirements with pip.
Do this step first, before installing the requirements.
```bash
source /home/node/.venv/bin/activate
```

## Dependencies
### Install
```bash
pip3 install -r requirements.txt --no-cache-dir
```

### Store
```bash
pip3 freeze > requirements.txt
```

## Sentiment Analysis Service
This service is implemented in Python and provides a gRPC server interface.

### Sentiment Analysis
Huggingface models are used.

#### Model/s
* scherrmann/GermanFinBert_SC_Sentiment
* bardsai/finance-sentiment-de-base

## Named Entity Recognition Service
This service is implemented in Python and provides a gRPC server interface.

### Named Entity Recognition
Huggingface models are used.

* FacebookAI/xlm-roberta-large-finetuned-conll03-german